Jump to content

Product attributes as list on cart page?


ThatDesignGroup

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...