Skip to main content
The Calculation Fields section allows you to create and manage calculated fields, which can then be used in feed templates as tags. This feature enables you to meet the specific needs and requirements of different marketplaces by performing calculations with numeric metafields and attributes.
Calculation fields

Create a calculated field

1

Click the Create button.

2

Configure the parameters of the calculated field

  • Formula Name: assign a name to the formula so you can easily find it in the feed template’s drop-down menu.
Create calculation field
  • Formula Preview: displays a preview of the formula as you construct it.
  • Formula Components: build the formula using available numeric attributes, numbers, and mathematical operators.
Formula components
If there are many available attributes or their names are lengthy, those that do not fit will be accessible via the “More Attributes” drop-down menu.
3

Save the formula

Once saved, the formula will appear in the Calculated Fields section under the name you specified.
Calculation field created
You can Edit or Remove the formula as needed. The calculated field will also be available in the feed creation Template drop-down list of attributes (see Feeds from templates).

Important considerations

  • Only numeric metafields and attributes can be used in formulas.
  • If a formula contains an empty field, the resulting value in the feed will also be empty.
  • If a formula is created and used in a feed but later deleted, the feed will still display an empty value where the formula was applied.
By leveraging calculated fields, you can dynamically generate values tailored to marketplace requirements while maintaining flexibility and control over your feed data.