Jump to content

How to make interdependent attributes (size and color)


Recommended Posts

Hi guys

 

I was setting up my first Presta Shop. I saw that I could add colors for dresses of my cloth store, and also I can create new attributes (hence I created size there). So at the moment, I have colors like red, green, blue, etc. and then sizes like 34, 36, 38, etc.

 

However, these two are independent attributes. I was wondering if there is a way to make interdependent attributes, so that I could mention I have only 34 and 36 in red or only 38 in green, etc.

 

Is there a way to do that?

 

Best.

Jeremy.

Link to comment
Share on other sites

Use the attribute generator, there's a link at the top of the combinations tab, add the attributes you want, say for example blue, red, yellow colours and sizes 30,32 and 34 and the generator will automatically create the combinations size 30 blue for example

  • Like 1
Link to comment
Share on other sites

Hi,

is it possible to add a picture of each colour to the variation?A have now for example 2 colours, for each a have an own jpg. So,I would like to change the image in the cart when costumer change from one colour to the other.Is this possible and how to make it ?I already have combinations as mentioned above, I would like to add an image to.

Thank you,Grega

Link to comment
Share on other sites

  • 1 year later...
  • 11 months later...

Use the attribute generator, there's a link at the top of the combinations tab, add the attributes you want, say for example blue, red, yellow colours and sizes 30,32 and 34 and the generator will automatically create the combinations size 30 blue for example

Many thanks for this info! I just started to use it, it's saving me a lot of time! 

Regards

Link to comment
Share on other sites

  • 3 years later...
Hello, I have some details that I could not solve:

 

I have prestashop 1.6 and I have a question.

I have 24 t-shirts available:

 

1) 12 blue shirts, 6 are size M and 6 L

2) 12 white shirts, 6 are size M and 6 L

 

I have lost in the configuration, I configure it as follows, but it does not have any size and color.

 

* Color blue 12 pcs

* Color White 12 pcs

* size M 12 pz

* size L 12 pz

This arrangement is wrong already, since when adding 12 pz of blue color size L and 12 blue size M: size L is exhausted in the white color (and only asked for blue)

What is the correct way to configure these details?

 

 

What I want to do is, match the sizes with the colors correctly, since I have 24 pieces. 12 are blue (6M and 6L) and 12 white (6M and 6L)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...