Teapot Logo


Prestashop 1.6 – How to add product attributes and combinations.

Hello and welcome to another 'how to' blog tutorial for Prestashop 1.6 users. In this video we show you how to add product attributes and combinations in the Prestashop 1.6 back office.

Being able to offer size or colour choices/options to a product is probably the most common use of attributes, but in this video we show you how to add drop down menus, radio buttons and texture options. Also how to assign default images for each attribute chosen... as the customer chooses an attribute, the images also changes to illustrate what the product looks like. For example... choose the red option and be shown the product in red.

Prestashop also give you the option to add price impact options to each attribute enabling you to increase or decrease a product price, dependent on what option has been chosen.

The full transcript from the video is below.



Hi, welcome to a new tutorial from Teapot Creative. Today, we’re going to be talking about Prestashop’s attributes and combinations and how to add them to a product. So attributes and combinations; what do they look like? Well, from the front office, what we’re going to create today is a product with three size options and three colour options, as you see here [SEE VIDEO]. This product is available with a green or a pink or a purple top colour option and it’s available in three sizes—small, medium and large. As well as that, when you do choose your colour option, we will have the image change dependent on what colour the customer chooses.

Also, we will create a price impact dependent on which colour or size is chosen. So if you choose a larger size, it will be more expensive than the smaller size. This is what we’re going to achieve today. If we go back to the back office, we can start adding in our combinations and attributes.

Time: 1:15.

[SEE VIDEO] Product attributes are within the Catalogue and Product Attributes section, and you can see here [SEE VIDEO] once you’re into the Product Attributes, you can see the groups, which have already been created here. The product we looked at earlier, the Pattern Colour, which was this option here, is this attribute group here, Pattern Colour. [SEE VIDEO] If we view it, we have the three options—green, pink and purple. The way the attributes work is you create a product attribute and a value for that product attribute.

So if you created the product attribute, Colour, the values would be, as you see here, all of these different colours. They are the value of that product attribute, and that gives your customer the choice of all of these colours against any product which you create in the back office. Let’s go ahead and create our first product attribute. [SEE VIDEO] The two buttons you’ll need would be at the top here, and our new attribute is going to be “New Pattern Colour” and this is what we’ll be seeing within the attribute list. The Public Name is what the public will see on the front office, at the website.

We would always have the attribute indexable so that when you’re using the layered search navigation, customers can filter the product by colour or by size when they’re looking at a list of products within a category. For instance, if they were looking at this Pattern Colour and there were the three products listed and the customer only wanted to see the pink ones, within the layered navigation they can choose “Show me just pink patterns” and it will filter out all the other colours. So make sure you keep this indexable.

Because this is a pattern colour or texture, we’re going to use colour or texture option as the attribute type. The other types are simple drop-down list or radio button, which is like a tick-box choice. We’re going to choose colour and texture and save the attribute. You can now see that in the bottom here we have our New Pattern Colour but if we view it, we have no actual values so we need to add a new value. Make sure you choose the correct attribute group to add your value to, here you can see it again the list of attributes already created. Our is the pattern colour. The first option is going to be green polka dot, and it’s not a colour. If it was a colour, we could pick a colour from the colour picker and it would say “Green” and then from the front, we would just see a green box rather than a textured box, but we’re not going to do that.

We’re going to add a file because it is a texture and it’s the green texture we’ll choose. We just need to save and add another. This one is going to be the pink polka dot option. We need to add a file, pink texture, save and add another. The final one is the purple. Once you’re finished, on the last one, you just simply press save and it’ll take you back to your list of product attributes. You can see here our New Pattern Colour. If you add a quick view, just to check. They’ve all been saved by the green, the pink and the purple options. Also, we want to offer the customer a size with this product. If we go back to our attributes, and this time we’re going to add a new attribute group. We’ll put ‘attribute’, and this one’s going to be Top Size. The Public Name is “New Top Size” and keep it indexable. This time, we’re going to choose radio button. We’re going to add a value; Top Size and it’s going to be small.

That’s all we need to do here—just add another one. We should have named it something different because now we’re looking at the list, we’ve got two of the same so we’ll go back and change that. The value of this one is medium. Because we have two of the same, if we go back to the one we just added, we can now edit that and call that one New Top Size in the back office as well. So there’s our New Pattern Colour and our New Top Size. Now we have those attributes created, we can apply those to any product within the store and we can carry on adding new pattern colours. For instance, there’s a new colour, which is available, just go straight into the attribute colour and add a new colour and a new image.

Time: 7:13.

If we look at the product, this is what we need to create. We’d like to choose a new product. This one without any options. If we go back to the catalogue, we choose that corresponding product. At the moment, there are no options or attributes or combinations available. We need to add those and the quickest way is to go through the Product Combination Generator, which we’ll click into. Here you can see a list of all of the possible options and combinations we can add to this product. But what we’re going to do to this product is just add our new pattern colours which is green, pink and purple, and our new top size which is small, medium and large. We can add other options; we can add maybe it would be a top length, so there would be another size to add to it.

You can add as many combinations as you want to, to the product. Once you’ve chosen them, and by the way you need to click and hold command at the same time to choose more than one option (hold Control and click for windows) so whatever’s highlighted in blue will be generated as a combination. Once you made your choice, you simply add those to the product and the system creates the combinations for you. What we’re also going to do with this is we’re going to add a price impact on the product price. If we go back to the product, we have a price of £25.20, which is the default price of the product, and the default price is referring to the green polka dot price, so there’s no price impact. But if you buy a pink one, let’s say that’s going to be £10 extra. If you buy a purple one, that’s actually going to be £20 extra.

So the impact on the price will be—tax included—£12 extra, if you choose the pink, £24 extra. That will be reflected as you make the choice within the cart price here. Okay, so price impact on colour, there’s no price impact on size so it doesn’t matter what size you choose, the price will be the same. But if you choose those particular colours, the price will increase. Now, we need to actually put a default quantity of all the products, to put them in stock. I mean you can do your default quantity here and then I could show you later how to go back and just change those quantities if you have to. Maybe you only have two of these green options available, but there’s five of the other options still in stock. At this moment, let’s stick in five as the default quantity available to purchase.

Time: 10:12.

Now we simply need to do is just generate those combinations and you can now see within the combinations option of the product, it lists all of those options so we can have the green polka dot in small, medium, and large. What we also want to do is when the customer chooses a particular colour, we’d like to offer them up an image of that product in that colour so they can get an idea of what they’re actually buying. This does take a little bit of time, but it’s definitely worth doing to get the customer a really good shopping experience and the way to do this is go into the product to edit, so we’re looking at the green polka dot here. What I’ve done is I’ve uploaded three images here of the different colours and because we’re choosing the green option, we need the green image to be the default image for this product option.

Once we’ve done that, just simply save and stay. As I said, it does take a little bit of time to go through all of the products. We’re now looking at the pink polka dot, submit, the pink image. Again, it’s definitely worth it. It also shows the customer exactly what they’re going to be buying and what it’s going to look like, so if I quickly go through all of these options, and obviously these images have been uploaded before we’ve added the product combinations. As you’re adding the product details and the product images, you need to add these images at that point so that they’re here available for you to choose when you start assigning an image to each attribute.

We’ve added all the product options, all the product combinations to the product, so when we go in, we can see them here. Also, once we’ve done this, it’s best to check obviously before the product goes live. I’ve actually turned the product live, but you can have a preview of the product before it’s actually live and that way you can check that all the options are here. We’re looking at the product as the customer would see it, as they land on the page. You can see we’ve got the lifestyle products available as well as our coloured product images available here, too. As the customer chooses a colour option—pink or purple—the images do change. If the customer wants to see all the images again, they simply click here. There’s a radio button to choose a different size. If we’re going to choose the medium, but pink, you can see we put a price increase on this of £12.

Time: 13:42.

So here we go, you can see the image that the price of the product changed as we choose the different product combinations. So that way as the customer chooses their option, they know exactly what price they’ll be paying. So if we choose the purple large, add this one to the cart, we can see here within the quick view, you’ve chosen purple polka dot large and then we proceed to check out. Again, we’ll see the purple polka dot large, but it also adds in the image the product they’ve chosen as well. So again, the customer is in no confusion of what they’re actually buying. Just to recap, all of the combination options available under the product attributes and remember that product attribute is your group such as colour and the value of that product group would be pink, red, blue, etc.

The way you add a new attribute group is “Add a new attribute”. Once you’ve added the Attribute Name and the Public Name, what would display to the customer whilst they’re shopping, you can then add the values to the group and save them. Go back to the product, you can see the combinations you’ve already assigned to the product under the Combinations tab. By the way, if you want to delete some options, so if the small is no longer available, just simply delete here and that would delete those options for that product. When you go back to the front, if we refresh, we need to save that one so that we can see the option at the front.

As you see we’re looking at the product here, the small option is no longer available because within the back office, for this product we deleted that small option so only allowing medium and large options available, but available in all colours. Again, if you want to edit each combination, if you want to add a price impact, just simply click Combination and you can see “Impact on price” here so you can have either an increase or decrease on the price and then you just add your value here. Remember to assign a particular image to that product option or the colour.  Finally, if you want to delete and make a change to the product, you can simply click into the Product Generator again and it’s telling you here what you’ve already created. If you want to start again, simply choose the options you’ve already have available here and delete them.

Time: 17:51.

It would delete them from the Product Generator here and then all you need to do is start again and say okay, we’re going to have all colours and sizes including the size here. You can add them again, add all the product combinations again, 5 of those in stock and generate. Then it gives you even more combination obviously because we’ve added another size here so that’s all sizes and all colours available. Now, when we go look at the front office related to the different products. We can now see our new size we’ve added originally, the colours we’ve added, but also added another Top Size here so there’s three options available.

Okay, and that’s it. If you have any questions or comments, please do put in at the end of the tutorial and we try to answer all the questions we receive. I hope we will see you again on our next tutorial.

End of transcript.

Back to Insights