If you needed to do this for Products that had the word 'test' in the products_name or products_description and increase the products_price by 10% you could use:
In phpMyAdmin ...
SELECT to see what Products will be affected by the UPDATE:
Code:
select p.products_id, p.products_price, pd.products_name, pd.products_description from products p, products_description pd
where
p.products_id = pd.products_id
and (products_name LIKE '%test%'
or products_description LIKE '%test%');
UPDATE to make the changes and raise the products.products_price to 110% of the existing price:
Code:
UPDATE products, products_description SET products_price = products_price * 1.10
WHERE products.products_id = products_description.products_id
AND (
products_description.products_name LIKE '%test%'
OR products_description.products_description LIKE '%test%'
);
The, you want to run from your Zen Cart Admin the Tools ... Store Manager ... Update Product Price Sorter ...
You can adapt that code to any word or price change that you want ...
NOTE: be sure to backup your database before attempting this ...
NOTE: this assumes you do not use any Products with Priced by Attribute or that you do not care about those Products ...