Commerce 2.1 and below: Using Product Options

Creating an Option Template

  1. Navigate to Control PanelCommerceProducts.

  2. Go to the Options tab. This displays a list of existing templates on the left and the Option Template Detail form on the right.

  3. Click Add (Add icon).

    Creating an option template.

  4. Click Save.

You can now apply this option template to products.

  1. (Optional) Enable the Use in Faceted Navigation toggle to use the option as a search filter for products.

  2. (Optional) Enable the SKU Contributor toggle to use the option’s values to create SKUs. Customers must select from the available option values.

Warning

You cannot use boolean as a SKU contributor. Attempting to do so shows the following warning message: SKU Contributor cannot be set as true for the selected Field Type.

Adding Option Values

Depending on the field type, you may need to create values for the option.

  1. Click Values next to the option.

  2. Click Add (Add icon) and enter details for the value.

    Adding values to the option.

  3. Click Save.

You can repeat these steps to add more values. The priority field determines the display order of the values with the lowest values displayed first.

Applying an Option Template to a Product

Once you apply a template to a product, you can make any changes to the product’s option. These changes will not affect the option template or any other product.

  1. Open the Global Menu (Global Menu), and navigate to CommerceProducts.

  2. Select a product and go to Options.

    Go to the Options tab of a product.

  3. Enter a name in the Add Options field, and click Create New. If there’s an option template already created, click Select.

This applies the option template to the product. If choosing an existing option template, all values from the template are included. You can select the option to add, remove, or edit values without affecting the template values.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy