Hello,
So easy enough I'd like to have two columns to upload in EP.
1. v_products_id
2. v_products_quantity
This us what was received and will add to current stock.
At my line 1561 a query selects the current contents...
$sql = "SELECT
p.products_quantity as v_products_quantity,
I see in my line 1980 this...
$query = "UPDATE " . TABLE_PRODUCTS . " SET
products_quantity = '" . zen_db_input($v_products_quantity) . "' ,
When updating, using + to SUM together, how do I parse the current qty and the incoming quantity?
Or is it simply '" . zen_db_input($v_products_quantity + products_quantity) . "'
Bookmarks