Update Stock Levels When Ordering

mosh

Registered User.
Local time
Today, 08:56
Joined
Aug 22, 2005
Messages
133
Hi All,

I have just created my ordering form but I need help on two functions that needs to be on the form;

1. When I enter the quantity of products in the text box it should update the product stock level

2. If the product is not in stock to provide a notification that the product is not in stock.

Related Tables / Attributes has been attached. Just to explain the relationship - an Order can have many orderlines, an orderline can consist of many products of multiple quantity.

How can I go about updating the product stock_quantity via the order form?

Thanks for your help.
________
Live sex webshows
 

Attachments

  • Orders.jpg
    Orders.jpg
    32.1 KB · Views: 180
Last edited:

Users who are viewing this thread

Back
Top Bottom