Quick Start

Topics

Developers Guide

Can I generate different sizes in products for the user to choose from, and will the user be presented with different prices?

Site Ignition allows the admin to generate different SKUs based on a type multi-select field within the products.

Set Up


Create the Type "Sizes".

Generate multiple Instances of the different sizes you wish to add for your products.

Now in your "Products" Type create a new field called "Sizes" and select the Type "Sizes".

Click on the pencil icon  on the Type to edit this Type.


Click on the Edit ECommerce tab, check the Track Per Attributes, and check "Sizes". Finally, click "Update" at the bottom.

Now go into the Instance and select a value for the "Sizes" Field. Click "Update" at the top. 

To set the price and quantity for each SKU you will need to click on the Edit ECommerce tab on the Instance.

Once all the values are in place you can press "Update" found on the bottom of the SKUs.

Now go into the Products page HTML and write the following syntax:

[[ecommerce type="Attribute" field="Sizes" elementType="Dropdown"]]

This will create a dropdown for a user to select the different sizes and will change the price per item.

If you are tracking by 2 attributes you will need to have a value in place for both attributes for the ability to implement the price and quantity of the SKU.

For example, if you are tracking by size and color you will need to place a value in both fields of "Sizes" and "Color".