Jump to content

Can't see "Add to cart" button on a product


Recommended Posts

On one of the product in the home-featured box "Add to Cart" button is missing

 

AY0qr4b.png?1

When I had a look to a code, I found this line as an IF statement for showing this button:

{if ($product.id_product_attribute == 0 OR (isset($add_prod_display) AND ($add_prod_display == 1))) AND $product.available_for_order AND !isset($restricted_country_mode) AND $product.minimal_quantity == 1 AND $product.customizable != 2 AND !$PS_CATALOG_MODE}

When I display all variables used in this condition, I'm getting this:

 

KtN0j05.png?1

 

So, obviously the problem can be either in $product.id_product_attribute or in $product.minimal_quantity

which are different then other products in the box.

 

I checked minimal quantity and it is set to 1, but I don't know for what $product.id_product_attribute is used for.

 

The link is http://www.imakr.com/us/

 

Maybe useful fact is that the same product works fine in the main shop ( http://www.imakr.com ) but no in other 3 ( http://www.imakr.com/us/ or http://www.imakr.com/global/ or http://www.imakr.com/eu/ )

Link to comment
Share on other sites

×
×
  • Create New...