DRMasterChief Posted May 6, 2018 Share Posted May 6, 2018 Hello, i have to add something in the shopping cart below each product: I have to add the first xx characters of the text given in the tab 'more info' (product description) from product page. Then i would cut it to the first xx characters maybe with |truncate:150 (i hope this would work). I already have done this with the 'short description' and this works in the shopping cart (see below). >> But unfortunately i am not successful with content from 'more info' (product description). Can anyone help please? Thank you (for the short description, i have added the following to Theme/shopping-cart-product-line.tpl , below td class=cart_description you have to add:) {if isset($product.description_short) && $product.description_short}<div id="short_description_block"><div id="short_description_content" class="rte align_justify" itemprop="description"><small>{str_replace("<br />", "", $product.description_short)}</small></div></div>{/if} 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