Jump to content

Product quantity returns 0 even though there are products


Recommended Posts

Hi there, I'm having issues with showing my products, acctually with showing add to cart button.

This is how my code looks like (almost not changed)

 

{if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE}
{if ($product.allow_oosp || $product.quantity > 0)}
 {if isset($static_token)}
  <a class="basket" rel="ajax_id_product_{$product.id_product|intval}" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{l s='Add to cart'}"><span></span>{l s=' '}</a>
     {else}
  <a class="basket_dis" rel="ajax_id_product_{$product.id_product|intval}" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{l s='Add to cart'}"><span></span>{l s=' '}</a>
     {/if}
   {else}
<span class="exclusive"><span></span>{l s='Add to cart'}</span><br />
{/if}
{else}
{/if}
 
This is one of those in product-list (1.jpg), and in BO(2.jpg), I can see that there are more than 0 and don't get why its not showing anything..
 
Please help 
 

post-724061-0-62235600-1406016544_thumb.jpg

post-724061-0-32593500-1406016669_thumb.jpg

Link to comment
Share on other sites

×
×
  • Create New...