Forums / Setting Up Categories, Products, Attributes / Applying Attribute Value prices Globally.

Applying Attribute Value prices Globally.

Views: 1,232

Results 1 to 6 of 6
20 May 2011, 2:27 PM
#1
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Applying Attribute Value prices Globally.

Hi,

Is there anyway I can price attribute values globally?

For example:-

I have around 150 products which can have a Plaque applied to them.....

I have an Option Name called:-

'Plaque Type'

and attribute values like :-

'Gold Finished Aluminum Plaque'
**
'Brass Plaque' **
**
etc.**

Obviously these also vary in price.

I want to know if I can change the price of an attribute value globally in Zencart , so the new price would be applied to every item that uses that specific attribute value, rather than having to go through my 150+ products and change the prices individually again

Im Using version Zencart v1.3.9h

Many Thanks,

Sushi

20 May 2011, 3:26 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Applying Attribute Value prices Globally.

Do all your values priced the same???

What i am asking if you have Gold Finished Aluminum Plaque = $6
have you created another attribute that uses the same price???

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

20 May 2011, 3:37 PM
#3
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: Applying Attribute Value prices Globally.

Yes we will have the same attribute on other products that has the same price.

20 May 2011, 4:24 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Applying Attribute Value prices Globally.

Back up your database first....
I always perform this on the test site first to see the changes..
If the .sql does not work properly, you can use the backup database to fix..

You will have to first find the options name id first..
To find this:
admin panel/ catalog/ option names/ on the left column you see ID and numbers below..

Lets say you have Gold Finished Aluminum Plaque with a price of $4.

So if Gold Finished Aluminum Plaque has an id of 3 and you want to change the price to $8

UPDATE products_attributes SET options_values_price='8.00' WHERE options_values_id ='3';

Then, go to the Tools ... Store Manager ... and run the:

Update All Products' Attribute Sort Orders
to match Option Value Default Sort Orders: Update

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

20 May 2011, 4:50 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Applying Attribute Value prices Globally.

Correction to some wording:

So if Gold Finished Aluminum Plaque has an id of 3 and you want to change the price to $8

I should of said:

So if Plaque Type has an id of 3 and you want to change the price to $8

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

27 May 2011, 12:43 PM
#6
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: Applying Attribute Value prices Globally.

Cheers, haredo

will look into it.

Regards,

Sushi