Forums / Basic Configuration / Bulk Product Prices & Quantity Increases

Bulk Product Prices & Quantity Increases

Started by retailproductsgroup on 14 Feb 2012, 8:11 PM · Views: 1,448

Results 1 to 4 of 4
14 Feb 2012, 8:11 PM
#1
retailproductsgroup avatar

retailproductsgroup

New Zenner

Join Date:
Apr 2008
Location:
NJ
Posts:
29
Plugin Contributions:
0

Bulk Product Prices & Quantity Increases

Hi everyone,

As always I browse through the forums first before posting but could not find exactly what I needed.

Using the "SQL Query Executor" I need the lines necessary for the following:

**changing all prices from $2.96 to $2.99 (not a percentage increase)

and

changing all stock level quantities to 100 pieces (or whatever i will need).**

In summary....I need to change all prices to $2.99 and increase my on hand quantities to 100 for all products in all categories.

Thanks for your help.....:)

http://treefreegreetingcards.com/

15 Feb 2012, 4:49 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Bulk Product Prices & Quantity Increases

RetailProductsGroup:

Using the "SQL Query Executor" I need the lines necessary for the following:

changing all prices from $2.96 to $2.99 (not a percentage increase)
and changing all stock level quantities to 100 pieces (or whatever i will need).

UPDATE `products` SET `products_price` = 2.99 where `products_price` = 2.96 ;  

UPDATE products SET products_quantity= 100 WHERE 1 ;


Cheers
Rod

ps "WHERE 1"  effectively means "match all"

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

15 Feb 2012, 3:01 PM
#3
retailproductsgroup avatar

retailproductsgroup

New Zenner

Join Date:
Apr 2008
Location:
NJ
Posts:
29
Plugin Contributions:
0

Re: Bulk Product Prices & Quantity Increases

OK......

this line worked perfectly:

UPDATE products SET products_quantity= 100 WHERE 1 ;

however, this line had no effect:

UPDATE products SET products_price = 2.99 where products_price = 2.96 ;

Any thoughts?

I appreciate the help.....:)

Thanks,
Garry

http://treefreegreetingcards.com/

16 Feb 2012, 8:14 PM
#4
retailproductsgroup avatar

retailproductsgroup

New Zenner

Join Date:
Apr 2008
Location:
NJ
Posts:
29
Plugin Contributions:
0

Re: Bulk Product Prices & Quantity Increases

anyone?:smile: