Update inventory at checkout

LiteCart Fan
From Canada
Member since ian. 2021

Hello and I apologize in advance for my lack of programming understanding.  
That being said, I am trying to use litecart (v. 2.2.7)to distribute items in an educational setting that have no cost (ie. there is no charge for them).  So when I set the "in stick" at 1 item I want it removed from inventory immediately upon check out as there is o concern about the sale going through.  Currently I need to process the order to have it removed.

Any assistance that could direct me to a solution would be greatly appreciated.

Thanks in advance,
Ken

tim
Founder
From Sweden
Member since mai 2013
tim

Make sure you have a payment module that sets an order status that has the property is_sale.

Then make sure the product have a sold out status set to be hidden when sold out.

LiteCart Fan
From Canada
Member since ian. 2021

That did it!
Thanks so much Tim.

Acest thread a fost închis din cauza inactivității îndelungate. Postarea pe acesta nu mai este posibilă.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.