Variable product

Introduction

Variable is a complex product type. It lets you define variations of a product where each variant may have a different attributes, e.g. SKU, price and stock level.

Since this is a complex product type, it might take some time (quite some time) to create it. You will need a lot of patience and also require quite some work. So be prepared.

A perfect example for a variable product is: T-Shirts. T-Shirts always come with the size and colour combination. Example: Small-Blue, Small-Red, Small-Green.

You will be adding a price, sku and stock PER combination.

NOTE: If your product does not require a combination or stock / price management for each variation, then a simple product will suit your requirements.

How variable products work:

Variable type product uses a Matrix algorithm to generate combinations.

Example:

Say you have two options: Size, Colour

Size has: Small, Medium

Colour has: Red, Blue

This forms a 2x2 matrix - 4 possible combinations

Small - Red

Small - Blue

Medium - Red

Medium - Blue

If we add just one more size (Large) and one more colour (Green), this will make a 3x3 matrix - meaning 9 combinations

When to use Variable product type:

  • Only when you want to manage inventory at the variant level. Example: You want to maintain a stock for Small - Blue, Small - Red. (As you can see, when you sell a T-Shirt, you naturally maintain the stock based on the Size and the Colour… you cannot maintain an inventory just by Size or Colour)

  • Only when you want to set different prices for different variants (Example: Small - Blue costs $10, Medium - Red costs $15)

Disadvantage of Variable Product Type:

When you change any option values or want to introduce a new variant, then entire combination (matrix) changes. So you will have to re-generate the entire variants, and set the prices.

How can i overcome this disadvantage ?

In the latest versions of J2Store, we introduced a new product type : Flexible variable product

As the name suggests, it is very flexible and is based on the cartesian set algorithm. So you can add, remove a variant anytime without re-generating the entire combinations.

Creating a variable product

General

  • Visible in Storefront - First select whether the product is to be displayed in front of the store. If it is, set the option to ‘Yes’

  • Brand or Manufacturer - Select the brand or manufacturer of the product from the available list

  • Vendor - Select the vendor from whom the product is available for purchase - This is J2Store PRO feature

  • Tax Profile - Specify whether the product is taxable and if it is, select the taxprofile relevant to the product

  • Cart button text - The unique text for cart button could be mentioned here.

Images

This feature is available for native Joomla articles and in J2Store Product Layouts

To display the thumbnail, main and additional images in Joomla articles, you should first configure the Content - J2Store plugin in Plugin Manager. Otherwise, you wont see these images in your products.

Lets assume that a customer would like to purchase a car. Now, car images need to be loaded in this tab.

  • Main Image - The main image will be a general photo image of the car, that has to be uploaded by clicking on the ‘Select an image’ button and select the appropriate image from the files.

  • Thumbnail Image - The thumbnail image would be something that represents the original product, but it would be a much smaller one to fit into a button, that will be shown up in the cart. By seeing this, the customer will understand that his product is displayed on the button and will click the button to see more details about the car.

  • Additional Images - Additional images help the customer to know more details about the car, which will be showing the car view in many angles, and the customer will understand it clearly how it looks like, what the technical details of the car, the colour, and so on.

Variants

Variants are products of same type and nature but with different attributes. For e.g., consider a Laptop of a particular brand with certain attributes, say

  • Colour - Metallic Grey

  • Screen - 15.6 inches

  • RAM - 2 GB

  • HDD - 500 GB

  • SKU - MTG8620

and so on. This is a variant of the particular brand. Now, the same product with same brand, will be another variant with some attributes changed, like

  • Colour - Black

  • Screen - 15.6 inches

  • RAM - 2 GB

  • HDD - 500 GB

  • SKU - BLK8640

For both the items, brand and model name may be same, but the attributes like colour and SKU differs. These are two variants of a particular laptop brand.

  • A variant defines how this product differs from other products of same type

  • It may be SKU no, price, stock level or color

Lets discuss it with some image illustrations:

If you select ‘Size’ from the list, your screen will look like this:

You can see the option you have selected from the list added down there. Now, save the form to proceed.

You can see ’Set Values’ near the option name Size and click it. You will get a pop-up window to add attributes as illustrated below:

Once you are done, save changes and close the pop-up window to get back to the main window. Now you have set the values for the variants to be generated. Why wait, just go and generate the variants like this:

The button you have clicked for variant generation will adjust itself to show you a message, ‘Generating variants… Please wait’.

And that’s it. You have your variants generated! Wonder how? Just check the image below for a surprise…

If you want to edit the properties of the variants, click the open all button and you will get the screen like below:

Now you know how to deal with variants, options, attributes, properties and how to edit them.

Filters

Filters are certain attributes that help narrow the search of a particular product.

For e.g., assume that a customer searches for purple t-shirts in the store. Now, the productfilter is set as colour > purple, to narrow the search. See the image below:

Now the cart will display only the purple t-shirts.

Relations

  • In this tab page, relations are set for Upsells and Cross sells

  • An upsell is to get the customer to spend more money – buy a more expensive model of the same type of product considered for purchase.

  • A cross-sell is to get the customer to spend more money buy adding more products from other categories, additionally, along with the product intended for purchase.

  • Example:The terms cross-sell and upsell are often used interchangeably because, let’s face it, this gets confusing. Say the customer is viewing a Laptop with 2GB/500GB for $500.4GB/500GB-> $550 - Upsell, same product family, more expensive4GB/1TB -> $700 - Upsell, same product family, more expensiveLaptop Bag -> $25 - Cross sell, related product, additional sell

Custom fields / settings from applications will be displayed in this tab.

A step-by-step guide to create a variable product

J2Store implements an innovative concept in creating products. It uses the Joomla articles as products. So to create a product is to create an article.

So, lets create an article.

Creating an Article

Have a look at the image below:

As given in the above illustration, click in the top menu or in the left pane of the control panel. You will get a new screen like this.

  • Enter the name for your product.

  • Since you are creating article, you need to tell that the article be treated as product. So, select ‘Yes’.

  • Select the type of the product, i.e., ‘Variable’.

  • Now, click the ‘Save and Continue’ button.

Your product is successfully created and a message will be displayed like this.

General

Now you need to configure your product with necessary details. Begin with general tab.

  • If you select ‘Yes’ in the first option, your product will be displayed in the storefront

  • Select the brand or manufacturer of the product from the list

  • Select the vendor to order the product

  • Select the taxprofile that mathces the product profile

Now switch to Images tab.

Images

You can add main, thumbnail and additional images relevant to your product in this tab. Click the ‘select an image’ button to get a pop-up window to select the image.

Move on to variants tab.

Variants

If you select the option, then you need to set values for the option.

In the image, as you can see, you have added the option color. Now, save the configuration by clicking ONLY the green coloured button ‘Save’. DO NOT press any other button. Now, see the changes in the screen.

You can see the blue link, ‘Set Values’ adjacent to the option ‘Color’. Click this link to set some values for the option ‘Color’. Then only you can generate variants. Go ahead with setting values and see what happens…

If you select the value for the option and click the create button, you will get the resulting screen like this.

Close the window using the X in the top right corner and return to the tabs.

Now, as shown in the image, click on the ‘Generate Variants’, a green colored button, to generate variants for the products.

As you click the buttons to generate variants, the buttons adjusts itself to display the message ‘Generating variants… please wait’. Now its done. See the variants listed below, as shown in the image.

Once the variants are generated, you can edit the variants and add necessary details to the variant. When you edit a variant, you will have all the tabs in cart except variant tab. Fill in the required details for the product variant.

Having completed variants tab, now move on to filtes tab.

Filters

Here, you can set the filters to narrow product search. When you set filter value as ‘Mens’, all mens T-Shirts will be displayed. Likewise, women and kids. See the illustration below:

Relations

The next tab is Relations. Here, you can add products of higher value than the one being viewed by the customer and recommend the customer to buy that product, citing its advantages and additional features. This is an upsell.

Also, you can add some other products to convince the customer to buy theses products additionally. This is cross sell.

For more detailed explanation, refer to the Relations section of the Variable Product.

Apps

In this tab, you can add third party tools or plugins, that are available, to enhance the J2Store functionality, like adding additional fields, applications, functions or features.

Now, lets have a look on how your product is viewed in your online store. Check the image below:

Video Tutorial:

Here is a video that could help you create a product with variants:

To know how to manage inventory for variable products, follow the instructions given here:

Last updated