Jump to content

Products in cart block


Recommended Posts

Hello PrestaShoppers,

I've been searching for an hour, but can't seem to figure out how I can do the following.

When you add a product to your cart, the product quantity, name and price and the bin appear on one line.
If I refresh the page, the price is set on a second line. What I want is that it stays as before the refresh.

Hope someone can help!
Thanks in advance.

Link to comment
Share on other sites

You could try modifying line 44 of modules/blockcart/blockcart.tpl and decreasing the value of length from 16 to lower values until it displays how you like.

<a class="cart_block_product_name" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)}" title="{$product.name|escape:htmlall:'UTF-8'}">{t text=$product.name length='16' encode='true'}

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...