Запрос на обновление цен и товаров определенной категории, можно использовать и для обновления других полей товара.
UPDATE `oc_product` SET price=100 where product_id in (select product_id from oc_product_to_category pc where pc.category_id = 10)
Обновление цен товара с ценами опции
В данном примере текущая цена увеличена на 10%
UPDATE `oc_product` SET price=((price*0.1)+price) where product_id in (select product_id from oc_product_to_category pc where pc.category_id = 1006); UPDATE `oc_product_option_value` SET price=((price*0.1)+price) where product_id in (select product_id from oc_product_to_category pc where pc.category_id = 1006) and price != 0 and option_id = 23;
использовал для OpenCart 1.5.x
Thank you a lot for giving everyone an exceptionally special chance to read from here. It is often so nice and also jam-packed with fun for me personally and my office fellow workers to search your site minimum three times in a week to learn the latest items you will have. And lastly, we’re actually astounded with all the fabulous tips and hints served by you. Certain 2 tips on this page are surely the most effective we’ve had.