The Jigoshop plugin is probably one of the best e-commerce plugins for WordPress I’ve ever seen, it’s extremely adaptable to almost any kind of scenario a client can throw at you, and it’s extremely scalable since there are tons of extensions available for it. Probably my biggest frustration with the plugin however is the way that it handles product variations or variables. Variable Products is a name for any products which allow a customer to select from different product options as part of their purchase. They may also be referred to as “Configurable Products”, an example would be a t-shirt that’s available in 3 colors (red, white, blue).
Jigoshop allows you to create an unlimited number of options for any product by using “Attributes” to set a range of options. These are set at a Taxonomy level, allowing you to apply each set of Attributes to as many products as you like.
Creating the attributes
The first step to having variable products is to create the product attributes.
- Visit Products > Attributes
- Type the name of your new attribute, choose Multiselect, then click Add Attribute.
- We’ll now add our various sizes to this attribute. So click on the title of your newly created attribute.
Note: Do not click on “Edit”, instead, click the actual name.
- Fill in the name and optionally a slug (slug is automatically filled out) then click Add New Size. You can leave Parent, and Description blank.
- Note: If you’d like your variations to show up in a specific order, use the slug field to handle that. For example, if you want to display: S M L XXL, then for slug you would have 01S 02M 03L 04XXL
- You should now see something similar on the right side:
- Repeat these steps for any other attributes you’d like to create. For example, I also created a Colour attribute (used later in the tutorial).
Assigning attributes to products
- Visit your product’s edit page for which you’d like to add variations to, and choose the Variable product type.
- Next click the Attributes tab and choose your attributes, then click Add Attribute.
- Check Is for variations and click Update or Publish. You can leave Display on product page unchecked, unless you want it to show up under a new tab on the single product page next to Description. More on that in the Product Screen Explained guide.
- All set, on to the next topic!
Create variations from attributes
- Under the Variations tab, click Add Variation
Note: Your product must be published to see the Variations tab
- Start configuring your variations. For example, I’m going to have “Any Size” and “Dark Green” at a price of 12.99.
To set this variation’s Product Image , click the Product Image thumbnail and upload your photo, then click Insert into Post
- You can continue adding your variations, or if you’re done, be sure to click Update to save the variations you’ve just added.
- Once you’re finished, view your product to check out what you’ve just accomplished!
For more detail on working with product variables, click here…
Questions or Comments?