Miva Merchant Development by Scot's Scripts

VOLUME PRICING: Basic Info

Miva Random Code Trivia

Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

WARNING:

This information is offered "AS IS" for internal reference only. Use at your own risk.
Does AI actually understand your Miva Merchant store? Our smart JSON-LD schema generator makes sure it does. Contact us to get started. (more info)
SEO Audit & Inquiries • News & Updates • SEO for Miva Merchant

VOLUME PRICING: Basic Info

THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED;
THE AUTHOR DISCLAIMS ALL LIABILITY FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR STORE DISRUPTIONS ARISING FROM ITS USE.

Scot Ranney • March 13, 2024


Discount Volume, or more commonly known as Volume Pricing is more of a data structure than it is a UI element. 

Before Volume Pricing can be used it must be set up in price groups/marketing: https://docs.miva.com/miva10/reference-guide/price-groups-volume-pricing

The discount volume page code takes a product id assigned to some l.settings variable, such as:

<mvt:assign name="l.settings:vol_prod_id" value="l.settings:product:id" />
<mvt:item name="discount_volume" param="vol_prod_id" />

After the "discount_volume" call you get an array of values that can be used for whatever. 

The discount volume template can be blank, these values show up after the page item.

Example:

l.settings:discount_volume:table: 

[1]:formatted_price = $25.00
[1]:high = 23
[1]:low = 1
[1]:price = 25

[2]:formatted_price = $20.00
[2]:high = 47
[2]:low = 24
[2]:price = 20

[3]:formatted_price = $15.00
[3]:high = 71
[3]:low = 48
[3]:price = 15

[4]:formatted_price = $10.00
[4]:high = 0
[4]:low = 72
[4]:price = 10

https://www.scotsscripts.com/mvblog/discount-volume-basic-info.html

volumepricing