Jump to content

Catalog mode - show reference numbers


Recommended Posts

Hi,
I use PrestaShop just as a way to display a catalog of items available in my real-world store. But, when I set it to "Catalog mode", it doesn't show item's reference number anymore!
This is very important, it's a main point of running a catalog: you can choose something, write down it's ref. num, go to the shop and ask to have a look / buy that item.

Are there any ideas how to solve this? Two existing options are not really very good (either disable catalog mode and cope with 0$ + Add to cart buttons which are totally useless; or add ref. num directly to the product description which is nothing good either).

Thanks in advance for any help! PrestaShop is of the latest version.

Link to comment
Share on other sites

Thank you very much, it's indeed the way to fix it.

The only thing, you have pasted wrong/messed up code in your tutorial, the correct line would be:

reference}style="display: none;"{/if}>{l s='Reference :'} {$product->reference|escape:'htmlall':'UTF-8'}

Link to comment
Share on other sites

I checked again at blog, my code actually the code at mt blog is correct. I tested on my demo site.
Maybe you didn't copy the whole code (there is scroll bar)

Here I paste my code for other references.
changes file: /themes/prestashop/product.tpl


Before following line


     {if $product->description_short OR $packItems|@count > 0}


Link to comment
Share on other sites

  • 3 years later...
×
×
  • Create New...