Originally Posted by
actionjackson57
Thanks again for your excellent advice. We have about 6 categories of products. 4 of them are similar with differing quantities as a minimum purchase. Do you know how I could change the products_quantity_order_units to allow them to be changed 'globally' only within that category?
Would need to identify the category number (CATN) that can be found when navigating the product catalog on the admin side. (Number adjacent to category name to be substituted below in CATN.)
Then you would refine the SQL statement to the following adding a WHERE clause.
Code:
UPDATE products SET products_quantity_order_units=6 WHERE master_categories_id = CATN;
So replace CATN with the number from above and all products in that category (does not include linked products, also this will affect disabled products, etc. Fairly non-discriminating and all the more reason to backup your data before attempting the above SQL as it will affect so much of your data at once. (Less now than before, but still.)). BACKUP, BACKUP, BACKUP. There, said it. :)
Bookmarks