View Single Post
  #1  
Old 05-14-2011, 05:06 AM
 
Stizerg Stizerg is offline
 

Senior Member
  
Join Date: Apr 2008
Location: Sydney, Australia
Posts: 195
 

Question Don't show "Out of stock" after add to cart

Hi all!

When customer adds to cart last item, quantity changes to "Out of stock". I bet it's very confusing for customer.
What should I do to change it?
Let's say when last item goes to cart, quantity remains 1 and if customer clicks "Add to cart" again nothing should happen.
I checked func.js, it get avail from array
Code:
avail = variants[variantid][0][1];
already changed, so it must be somewhere in php.
I'm after variants.

Thanks
__________________
X-Cart Gold Plus 4.6.6
A lot of custom mods
Reply With Quote