Jump to content

Availability Error on Product List


Recommended Posts

Hi.

 

I am working on 1.5.6.2 with default theme and i find an error on product list when i enter a category, it states all products as green and available.

 

If i enter a product that is not available, in the product page is ok.

 

I tried to edit the product-list.tpl, but either it is not this file or i did not find the correct line.

 

What is the file i should be looking for?

Link to comment
Share on other sites

Hello

 

Yes Default

 

I Tryed to change this:

 

if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}<span class="warning_inline">{l s='Out of stock'}</span>{/if}</span>{/if}

 

To this

{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{else}<span class="warning_inline">{l s='Out of stock'}</span>{/if}</span>{/if}

Link to comment
Share on other sites

  • 1 month later...

Hello there,

 

has somebody found any solution ?

I have same problem - avaliability on product page is OK, but in category list  is wrong (I get same "ON STOCK" avaliabilites at products .. even if they are not on stock).

 

 

Thanks for any help,

we would like to launch new project, but those informations are keeping us behind (we dont want to confuse our customers) :(

Link to comment
Share on other sites

×
×
  • Create New...