ThatDesignGroup Posted October 12, 2013 Share Posted October 12, 2013 Hi there,I'm currently trying to get the chosen product attributes, that display in the cart for the chosen item to be in a list.They are currently as a one line anchor for all attributes. Here is the code on shopping-cart-product-line.tpl {if isset($product.attributes) && $product.attributes} <a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'htmlall':'UTF-8'}"> {$product.attributes|escape:'htmlall':'UTF-8'} </a> {/if} So any help in getting these to output as an unordered list with each attribute being a list item, is greatly appreciated. I've tried a number of things but nothing is seeming to work. Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted October 14, 2013 Share Posted October 14, 2013 Follow this topic : http://www.prestashop.com/forums/topic/281042-how-do-i-cart-summary-replace-comma-separated-attributes-with-new-line/ 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