******************** DUPLICATE POST *********************
http://www.zen-cart.com/forum/showthread.php?p=750804
******************** DUPLICATE POST *********************
http://www.zen-cart.com/forum/showthread.php?p=750804
Zen-Venom Get Bitten
Well.... this is my solution, studied for:
Zen Cart 1.3.8
Products_with_attributes_stock_4.7.ajax
Dynamic_DropDowns_for_SBA
With Admin->Reports->Products Low Stock
we want see the general situation of the store, especially for the products who's quantity il less than the STOCK_REORDER_LEVEL setted in the configuration section.
The result is not good if we use roducts_with_attributes_stoc.
Example: for a product "dress1" with 3 variants
dress1 size1 color1 particular1---> quantity 2
dress1 size1 color1 particular2---> quantity 20
dress1 size1 color1 particular3---> quantity 3
We'll have
dress1 ---> quantity 25
that is not usefull! So here you can download the files to modify for showing all the variant's quantity of a product.
Note 1 - I've added a "suchen" for changing the "minimun quantity"who's default is STOCK_REORDER_LEVEL.
Note 2 - For havig a well ordinate result, insert always the
"order" in the definition of the product options name
Note 3 - Inserting the quantities of the variants in
admin->Catalog->Products with attribute stock
maybe that we can make some errors that are not
important in the store section, but remains in the
database. We can delete that errors with phpMyAdmin,
but however in Admin->Reports->Products Low Stock
the corrispondenr recor is marked "Do not consider".
Giovanni