Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Price increase to attributes

Price increase to attributes

Locked

Views: 3,532

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
21 Oct 2006, 4:42 AM
#1
trueblue avatar

trueblue

New Zenner

Join Date:
Aug 2005
Location:
Australia
Posts:
6
Plugin Contributions:
0

Price increase to attributes

I am about to add some products that will priced by attributes (no base price), but I am also thinking ahead as to how I will be able to increase the attribute prices if done this way.
There will be too many to do it one at a time.

21 Oct 2006, 4:44 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Price increase to attributes

There are a number of ways to make up 1 Product with all of its Attributes ... then copy that to another Product or Category of Products ... would that work?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Oct 2006, 4:56 AM
#3
trueblue avatar

trueblue

New Zenner

Join Date:
Aug 2005
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: Price increase to attributes

No, I don't think it would.

The product is Matisse Acrylic Paint, and it has about 80 colours. all made up of 7 different series.

series 1 $4.90
series 2 $5.10
series 3 $6.20
series 4 $7.80
....and so on.

I have will all the colours listed in a dropdown with the cost next to it

australian blue ($4.90)
Red oxide ($5.10) ....and so on. It makes it easier for the customer that way.

do I make any sense

22 Oct 2006, 6:50 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: Price increase to attributes

Could you not increase your price with something like:

update products_attributes set options_values_price = options_values_price * 1.1;

(assuming this is how you use attribute pricing - there are many ways)

Make a backup of your database and try this out to see if it gives you what you want.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

22 Oct 2006, 11:14 AM
#5
trueblue avatar

trueblue

New Zenner

Join Date:
Aug 2005
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: Price increase to attributes

Where would I find

update products_attributes set options_values_price = options_values_price * 1.1;

22 Oct 2006, 11:18 AM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: Price increase to attributes

It's a SQL command. You would enter it in phpMyAdmin or whatever your SQL client is.

Good luck,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

22 Oct 2006, 11:36 AM
#7
trueblue avatar

trueblue

New Zenner

Join Date:
Aug 2005
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: Price increase to attributes

Ok, it looks a bit scarey in phpMyAdmin. It gives me 7 tabs to choose from, so which is the right tab to choose. SQL, Query, Import, Operations........

Jodie

22 Oct 2006, 11:50 AM
#8
neunetllc_com avatar

neunetllc_com

Banned

Join Date:
Oct 2006
Location:
New Albany Ohio
Posts:
113
Plugin Contributions:
0

Re: Price increase to attributes

trueblue:

I am about to add some products that will priced by attributes (no base price)
...

The product is Matisse Acrylic Paint, and it has about 80 colours. all made up of 7 different series.

series 1 $4.90
series 2 $5.10
series 3 $6.20
series 4 $7.80
....and so on.

you can choose **any **one of your series prices as the 'base' price and come up with some formula that the rest of them are priced at with respect to the base price.

although zc by default accomodates only simple arithmetic functions for pricing (good for most of us), you can come up with more complicated pricing structures if you want to go with what swguy is suggesting.

ignore the following if you're not a math nerd: you have a base price for 'series 1' (s1) and 'series 2' (s2) is based on s1. let's say that s2 primarily determined by the current market price of s1 at some fixed point in time and you don't have your pricing hedged to the volatility of market prices as time passes. s2 can be updated dynamically in your zen cart (!) database as some family member of an autocorrelation estimate:

» coming soon: zen cart 7.3.5: zen cart world exchange

22 Oct 2006, 12:07 PM
#9
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: Price increase to attributes

What?? No partial differential equations? I'm disappointed. :)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

22 Oct 2006, 12:36 PM
#10
neunetllc_com avatar

neunetllc_com

Banned

Join Date:
Oct 2006
Location:
New Albany Ohio
Posts:
113
Plugin Contributions:
0

Re: Price increase to attributes

i can post the heat equation if that will tickle your noob's doobs.

aside: you know why the normal distribution (the ubiquitous probability distribution) is a solution to the 1-d heat equation?

22 Oct 2006, 12:57 PM
#11
trueblue avatar

trueblue

New Zenner

Join Date:
Aug 2005
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: Price increase to attributes

??????????? you have gone way over my head.
I thought my question was easy

22 Oct 2006, 1:43 PM
#12
neunetllc_com avatar

neunetllc_com

Banned

Join Date:
Oct 2006
Location:
New Albany Ohio
Posts:
113
Plugin Contributions:
0

Re: Price increase to attributes

sorry Jodie.

without more information on what your objectives are, i say you can price your paints by series with the **catalog **» **attributes controller **as easily as you can paint by number.

however, if you need to change your paint prices by the 80 colors as well, you may want to consider inserting attributes programatically as swguy was suggesting. definitely consider this route if you update prices by color frequently.

there are other advantages in pricing programatically, such as having greater control over setting profit margins.

23 Oct 2006, 8:00 AM
#13
trueblue avatar

trueblue

New Zenner

Join Date:
Aug 2005
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: Price increase to attributes

I'm am going to do it the easy way and list each series as a seperate product. If the customers don't like the way it is set up, I'll look at doing it a different way another time.

Thanks for your help
Jodie