This topic is locked

negative numbers and blocks if 0

3/6/2014 3:15:48 PM
ASPRunnerPro General questions
M
mfred author

I have a need kind of related to the shopping cart but a step beyond. A client wants to be able to import orders. I know how to activate the import function. But it will need to deduct inventory as does the regular order function in the shopping cart template.
Also, it would be good if the import could be blocked if quantity is 0.

Sergey Kornilov admin 3/6/2014

I would suggest to implement BeforeInsert event where you can update inventory and prevent certain record from being imported in current quantity is 0.
http://xlinesoft.com/asprunnerpro/docs/before_insert_record.htm