willrose84 Posted May 26, 2010 Share Posted May 26, 2010 Hi my shopping cart currently has 5 columns:Product, availability, unit price, quantity, totalIn the product is description, Size, Colour. I want to add 2 new columns for the size and colour so they are not with the product description.I have found how to make new columns in the shopping cart but not how to make the correct information show in them can someone point me in the right direction please. :-) Link to comment Share on other sites More sharing options...
willrose84 Posted May 27, 2010 Author Share Posted May 27, 2010 Right I have now sorted out how to put my attribute in a new column but it show to much information my code is {if $product.attributes}getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'} {if $product.attributes}{if isset($product.attributes_each.2)}{$product.attributes_each.2}{/if}{/if} {if $product.attributes}{if isset($product.attributes_each.1)}{$product.attributes_each.1}{/if}{/if} {/if} But it shows the attribute like this 'size:10' but I don't want it to show the first part so remove 'size:' so i only want it to show the the '10' part.Any help would be great I'm so close to finishing but his is holding me up.Thanks Link to comment Share on other sites More sharing options...
tpsvca Posted June 30, 2010 Share Posted June 30, 2010 I need the solution too...Thanks in advanced Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now