Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Attribute price functionality question


avetar

Recommended Posts

I'm setting up a website for a printing company and I need the product detail page to return a different set of prices for the 2nd attribute depending on which option is selected in the 1st attribute.

For example:

- 1st attribute is paper Type - Users selects Type A

- 2nd attribute is paper Color - User selects Red

Price = $100

 

- 1st attribute is paper Type - Users selects Type B

- 2nd attribute is paper Color - User selects Red

Price = $150

 

 

So based on the fact that I chose Type A or type B for the 1st attribute the price for the second attribute (color) will be different (even thought the second attribute is Red in both instances). Does anyone know of a contribution that does this?

Link to comment
Share on other sites

Robert,

 

I don't think you need a contribution for this.

 

Using your example:

 

Base price is 100.00

 

Option: Paper Type

- 1st attribute is paper Type - Users selects Type A

- 2nd attribute is paper Type - Users selects Type B

 

Option: Paper Color

- 1st attribute is paper Color - User selects White

- 2nd attribute is paper Color - User selects Red (+50.00)

 

 

Would this not yield the same results ?

 

 

Chris

Link to comment
Share on other sites

Thanks for your reply. Maybe this example will help clarify my issue (I hope).

 

So if I select Paper type A and base price = $100

Then I select Red (+$50)

My total becomes $150

 

but is I select Paper type B and the base price is = $150

Then I select Red (+75)

My total becomes $225

 

So basically I need the price for the second attribute (Red in this example) to adjust based on which paper type I chose.

 

I hope this is a better explanation. Thanks for you help.

 

- Robert

 

Robert,

 

I don't think you need a contribution for this.

 

Using your example:

 

Base price is 100.00

 

Option: Paper Type

- 1st attribute is paper Type - Users selects Type A

- 2nd attribute is paper Type - Users selects Type B

 

Option: Paper Color

- 1st attribute is paper Color - User selects White

- 2nd attribute is paper Color - User selects Red (+50.00)

 

 

Would this not yield the same results ?

 

 

Chris

Link to comment
Share on other sites

Does the increase in price for the attributes stay the same? Meaning why can't you just make the base price for product B $175 so that the final result is the same?

 

OR make the attribute "paper type B" +$25

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...