Skip to main content

Using formulas to update method options

You can use formulas to update method options in bulk. This is useful when you want to apply a consistent change across multiple options, such as increasing prices by a certain percentage.

Example of using a Liquid formula

Liquid references for method options

product
product
The product associated with the option
name
integer
The name of the option
checkout_price
integer
The checkout price of the option in cents
product
product
The product associated with the option
name
integer
The name of the option
product
product
The product associated with the option
name
integer
The name of the option
product
product
The product associated with the option
name
integer
The name of the option
days
integer
The number of days for the calendar option
checkout_price
integer
The checkout price of the option in cents
More information on using Liquid can be found on Shopify’s developer documentation.