Skip to content
  1. Extras
  2. msOptionsPrice

msOptionsPrice

The component adds option-based prices to products (e.g. by size or other attributes).

Module settings

Edit settings under "System settings" with filter "msoptionsprice".

Module settings

  • Enable / disable option-based prices
  • Path to JavaScript file for frontend price updates
  • On the "MiniShop field" tab, set the miniShop extra field that stores prices

Extra prices tab

After enabling the module, a new "Options–prices" tab appears in the MiniShop product resource.

Extra prices tab

Example: extra prices by product size

Extra prices tab - 2

When the user selects options on the site, the product price updates automatically

Extra prices tab - 3

Price update on option change

Wrap the [[!+price]] placeholder in a span with class pr_change so the price updates when options are selected:

modx
<span class="pr_change">[[!+price]]</span>