-
Notifications
You must be signed in to change notification settings - Fork 0
Option Terms
Option Terms are items in a list. Each Option can define multiple terms in its list.
For example, an Option named color might include terms for "red", "blue", and "orange".
Each term can modify the price, weight, code, or category of a product in the following ways:
-
:(Override) : use of this modifier will make the value that follows it fully replace the attribute that is defined in the product. E.g. a price modifier of ":5" for the "blue" color option would mean that the product price would be $5 no matter what the price of the original product was. -
+(Add) : using this modifier will add to the price or weight, and it will add a suffix when used to modify sku codes or categories. -
-(Subtract) : use of this modifier will subtract from the price or weight. It would remove a suffix from the sku code or category (but that usage would be rare).
Modifiers can apply globally across your entire site, or they can be set at the product level.
Global option modifiers are useful when your modification needs are simple, e.g. X-Large product costs an additional $5 across the board, or any "VIP" tickets get tracked under the "Specialty" category.
To set a global modifier, edit an Option Term under the global options page: Extras --> Moxycart --> Product Options. Choose an option and click "Manage Terms". and set the modifier you want.
You can apply a modifier to a specific product by editing the product and heading to its "Options" tab. Check which options you want to be selectable and define your modifiers there.
- All Terms : this behavior will cause the product to defer to the global terms for this option.
- Omit Selected Terms : select terms to OMIT from the global list of terms.
- Specify Terms : cherry-pick terms from the global option list.
This setup gives you a lot of flexibility. One of the cases to consider is how your options will change if and when you edit the global list. Adding a new term will show up for products that have selected either the "All Terms" or "Omit Selected Terms" behaviors, but you will have to manually add the term if you use the "Specify Terms" option.
For more information, see Product option modifiers: https://wiki.foxycart.com/v/0.7.0/cheat_sheet
© 2014 and beyond by Craftsman Coding