vrijndesteede Posted January 9, 2017 Share Posted January 9, 2017 Hallo All, In my 1.6.1.10 webshop I want to add my 'reference' (product number) to my product category. I have seen other topics with the same problem, but they are quite old and my product-list.tpl does not seem like it is containing the content of a product view in my category. So which file I have to add the {$product.reference} tag? Another small question in the same concern: How to change the maximum chars of the title in the product page, so the title of the product can be in two lines. I am using a Leo theme. Thank you in advance! Cheers. Stijn Link to comment Share on other sites More sharing options...
rictools Posted January 10, 2017 Share Posted January 10, 2017 The usual tips only work in standard and similar themes. If you give a link to your shop, maybe I can give you an advice. Link to comment Share on other sites More sharing options...
rictools Posted January 10, 2017 Share Posted January 10, 2017 Seems like there is a modul called appagebuilder containing the code. If you cannot find it there, copy all files to your harddisk and use Notepad++ (or another program) to search for the string "<p class="product-desc". Link to comment Share on other sites More sharing options...
vrijndesteede Posted January 10, 2017 Author Share Posted January 10, 2017 Thank you. I found the theme I use has a simple editor to achieve this, so I just had to add this code: <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.reference}" itemprop="url" > {$product.reference} </a></br> Thank you! 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