Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Building Logic Into Product Attributes


1Putts

Recommended Posts

Posted

Let's say a customer selects a product called 'Puffy Shirt'. The Puffy Shirt comes in 3 sizes - small, medium and large. In small, the shirt is available yellow and blue. In medium - yellow, blue and grey. And large - blue, grey and black.

 

Is there a way to limit the color choices based on the size that is selected?

 

Thanks in advance.

Posted

Sounds like a job for Sub-Attributes.

 

Very interesting dilemma?

 

Attributes could be named with two variables apiece:

 

small : White

Small : Grey

Medium : Grey

 

etc...

 

 

would work...

 

TJ

 

 

Let's say a customer selects a product called 'Puffy Shirt'. The Puffy Shirt comes in 3 sizes - small, medium and large. In small, the shirt is available yellow and blue. In medium - yellow, blue and grey. And large - blue, grey and black.

 

Is there a way to limit the color choices based on the size that is selected?

 

Thanks in advance.

Posted

Thank you - yes, that does seem to work. I combined it with the 'sort by attribute' mod and it looks like it will do the job for now.

 

Maybe not as "slick' a solution as I was looking for, but when you're just getting into this stuff like I am, beggars can't be choosers :thumbsup:

Archived

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

×
×
  • Create New...