Friday, April 15, 2011

PrestaShop Tips - Ver 1.4 product referece number not show up in catalog mode

In PrestaShop 1.4, there is a very good new feature "Catalog Mode".

By using this feature you can use PrestaShop as catalog website that just introduce product information, no online shopping functionality. If you are looking for a catalog management website, it is also very good recommendation.

But there there is on small issue when you use "catalog mode", some time the small issue is very critical.

The problem:

The reference no of product will not show up if your product does not have a combination attributes.

Because reference no is only displayed in attribute combination box.
So if your product does not have attribute combination, the reference no will not show.

The solution is very easy.
What you have to do is move the reference no displaying line to the top on short description box.

After following lines

<div id="pb-left-column">
{if $product->description_short OR $packItems|@count > 0}
<div id="short_description_block">

Add following line

<p id="product_reference" if="" or="">reference}style="display: none;"{/if}><label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span></p>

How to set Catalog Mode
1. log in to back office
2. Click Preference tab
3. Click Products sub tab
4. Choose Yes to "Catalog Mode"
5. click Save

1 comment:

Anonymous said...

Hi, i'm using catalog mode in 1.4 but for me the critical issue is in other place. You can't see prices if you are on catalog mode. With this.. the only way to go is to not use a catalog mode, but we need to hide the cart. If you think about it, the catalogue mode only have sence for the halfo of the people. The other half needs a prices visible.
Sorry for my bad english.