PrestaQvisten Posted September 3, 2024 Share Posted September 3, 2024 Hi, Is there a way to make the product reference display to a product when being viewed in a product page and category listing? Currently just the short description/title displays but I would also like the reference to display under the product title. Does anyone have an idea of how to achieve this? Use: Prestashop 8.1.7 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted September 3, 2024 Share Posted September 3, 2024 You want to concatenate reference with product name, or display under? Link to comment Share on other sites More sharing options...
PrestaQvisten Posted September 3, 2024 Author Share Posted September 3, 2024 Hi, Display under, like the image. See example. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted September 3, 2024 Share Posted September 3, 2024 Just add in your template where you want to display it, following code: <div class="product-ref">{$product.reference}</div> 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