The options object

Only available within a task, the options object contains all values provided by merchants while configuring the task.

Each option value is itself parsed for Liquid. The options variable is not available during this pass. :)

How to access it

What it contains

This object is always a hash. The keys are determined by usages in the script (and possibly in Liquid event subscriptions). The values are configured by the merchant, using a form that's automatically generated by Mecanic.

For more on using this object (and implicitly constructing the merchant-facing configuration form), see Task options.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.