Skip to content
  1. Extras
  2. msSalePrice

msSalePrice

Component for additional product prices used in calculation based on selected quantity.

Wholesale prices

The product page has a "Wholesale prices" tab. You can create/edit quantity/price settings for the product.

Wholesale prices

Editing

msSalePrice snippet

Outputs available wholesale prices for the product. Call the snippet:

modx
[[!msSalePrice]]

The default script tracks form changes and loads prices for the selected quantity. Add these classes for the script to work:

  • product form — mssaleprice_form
  • product price — mssaleprice-cost-[[*id]]
  • product old price — mssaleprice-old-cost-[[*id]]

Quantity field