jetx Posted May 29, 2014 Share Posted May 29, 2014 I need to be able to display the product reference number in category list view. Can somebody please advise how to do this. Thanks. Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 29, 2014 Share Posted May 29, 2014 Use {$product.reference} Please see, http://www.prestashop.com/forums/topic/247597-solved-show-product-reference-in-categories/ Thank you vekia! http://www.prestashop.com/forums/user/132608-vekia/ Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 29, 2014 Share Posted May 29, 2014 Actually that doesn't seem to work in PS 1.6, sorry. Works great in PS 1.5x. Link to comment Share on other sites More sharing options...
jetx Posted May 29, 2014 Author Share Posted May 29, 2014 Yes tried to get that method to work also, no luck so far. Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 29, 2014 Share Posted May 29, 2014 I tried a few things last night, but no go. Link to comment Share on other sites More sharing options...
jetx Posted May 30, 2014 Author Share Posted May 30, 2014 Thanks anyway. Should be a built-in option really. Link to comment Share on other sites More sharing options...
Alejandrosi Posted August 12, 2014 Share Posted August 12, 2014 Hi guys, I'm trying to work on this also and I managed to add the "Model" title in the product list by adding a reference into the global.js but I can´t find how to display the number. Of course I also copied the reference number code from the product.tpl to the product-list.tpl. This is is the code I used for the global.js: html += '<p class="product_reference">'+ $(element).find('.product_reference').html() + '</p>'; Link to comment Share on other sites More sharing options...
Recommended Posts