Formula-Based Option


This option type will help merchants in defining and customizing product options by using mathematical formulas.


It allows businesses to offer a wide range of product options and configurations to customers without the need for manual calculations. Businesses can easily configure and update pricing and product options to reflect changes in inventory, production costs, and customer demand.


This reduces the need for manual calculations, which can be time-consuming and prone to errors.


Formula-based product option types can be used to calculate pricing based on factors such as color, size, and design. The formulas can be used to calculate pricing based on the specific customization options selected by the customer.


To make a formula-based option type, the following steps need to be performed:

(1) Add a new option


(2) Fill in your options: Display name, unique name, help text, and tooltip data, and choose “Formula-based options” type.

(3) Set up the formula for Addition, Subtraction, Multiplication, or Division and save it. Here is the Description of how each field can be utilized

  • Add Default value – if a value in your formula is fixed, then Add Default value is used. A default value can be any number that your customer doesn’t need to modify.
  • Add label value – if a value in your formula is variable, then Add Label Field is used.
  • (e.g. 1+___ = Answer; 5*___= Answer; 8/___=Answer)
  • Here, 1,5 and 8 in the above formulas are fixed values that can be added using Add Default value, and blank values, which need to be calculated, can be added using Add Label.
  • Label – Define the names of your value
  • Tooltip – Add a little description of your value for a better understanding of the merchant
  • Min – Max value – Restrict your customer from entering values beyond a certain range
  • Arithmetic operator – Setup your formula using arithmetic operators like + (Plus), - (minus), / (Divide), *(Multiple)

(4) Add a Formula-based option to the Required option set to make it live on your product.

(5) Formula-based Option is live now.