Site icon Orion Origin

How to create my first configuration

What is a Configuration?

A configuration is a set of parameters used to create a configurable product. In order to create our configurable sunglasses product, we need to create a configuration first which will contain the different components and their options, and then assign that configuration to an existing product to turn it into a configurable product.

We will use a Use Case to portray how to create a
configurable product.

Use case: Let’s assume we want to build a sunglasses configurator so our customer will be able to choose his lenses, left and right glasses arms and frame among many other attributes.

Our sunglasses configuration can be summarized like this:

 Components Options
Left Arm • Neon Green

• Purple

• Red

• Clear

• Graphite

Right Arm • Neon Green

• Purple

• Red

• Clear

• Graphite

Front • Neon Green

• Purple

• Red

• Clear

• Graphite

Lenses • Moonshine

• Green moonshine

• Clear

• Gold

• Smoke

Steps

  1. To create a new configuration, click on Product Builder > New configuration.

  2. Enter your configuration title. The Preview section fills up with the components that you select as “default” in the next section, automatically. We can move to the next section for now.

  3. In the configuration settings section, we have fields that help to define our configuration.

We need to create our components as listed earlier:

  1. Name: component name
  2. Icon: component icon, that will be displayed in the
    editor, to represent this component.
  3. Behavior:
    1. Single: only a single option can be selected for the
      component.
    2. Multiple: Multiple options can be selected for the
      component.
    3. Dropdown: The option is displayed as a dropdown field at
      the front end, but only one can be selected at a time.
  1. Click on the “Manage options” button to
    manage your component options:



    1. Group: groups are the best way to group your component
      options per category. Leave empty to ignore this setting.
    2. Name: option name
    3. Description: option description. This is usually displayed when the user hovers the mouse above the option icon or name.
    4. Icon: option’s icon. Preferably the image dimensions and size should not be large, to reduce editor load time.
    5. Image: option image that will be displayed in the preview area when this option is selected.
    6. Price: option price which will be added to the product price if one is set and the option is selected. Leave this field empty to ignore this setting.
    7. Product/variation ID: WooCommerce shop product to link this option to. When the value is not “none”, the selected WooCommerce product price will be used instead of the one set in the option, when determining what price will be added to the configuration price. Please note that if this option is set and the configurable product is added to the cart, the related product will also be added to the cart.
    8. Default: allows you to set which option in the component will be selected by default, upon editor load. It is also the option displayed in the “Preview” section inside the configuration.
    9. Duplicate: this button allows you to duplicate the option that you have created and saved previously, in this configuration.

  2. Once you’re done, click on the Publish button to save your configuration.

The next step is to create a new WooCommerce product (or edit an existing one), to assign our configuration to.

Exit mobile version