Jump to content

Can't add product to basket when stock reaches 3 or less?


Recommended Posts

For some reason i cant add a product to my basket when stock reaches 3 or less, now i purchased the template im using so im curious as to wether it could be a glitch within the template as it displays a warning as follows when stock is <= 3

 

it displays the following warning below twice and removes the add to cart button.

 

Warning: Last items in stock!

Warning: Last items in stock!

 

I have attached two images, one with the glitch and another when the stock is at 4 or above

 

any help would be greatly appreciated.

post-43131-0-99363400-1372755430_thumb.jpg

post-43131-0-35746700-1372755538_thumb.jpg

Link to comment
Share on other sites

hi;

open this file. /theme/product.tpl

and find this code

<p class="warning_inline" id="last_quantities"{if ($product->quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none"{/if} >{l s='Warning: Last items in stock!'}</p>

 

i think your theme settings in this way $product->quantity <= 3

 

chance the quantity to "0"

 

i hope your problem will be solve.

Link to comment
Share on other sites

  • 4 months later...

check please preferences > products page, there is an option:

Display remaining quantities when the qty is lower than

 

also check quantities tab on product page, there is option to define if you want to allow orders when producti is "out of stock"

Link to comment
Share on other sites

×
×
  • Create New...