Try our new AI assistant by clicking the chat icon in the lower right corner.


Price Groups - Structure/Priorities/Relationships

About this Guide

If you create a lot of Price Groups, you may have a hard time figuring out why a customer was charged a certain price for an item. This is because Price Grops can affect each other in a number of ways.

Miva handles different Discount Modules in different ways depending on what kind of discount it provides.

In addition, Exclusions and differing Priorities each affect how discounts are calculated.

The content below will help you understand some of the behind the scenes work Miva does, when it figures discounts based on Price Groups.

On this Page

Architecture of a Discount Module

A Discount Module’s capabilities tells Miva the type of discount this module provides.

Note

Other capabilities include: Eligibility, precalc and provision_settings, and qualifying.

Order of Operations

1. Pre-Items

2. Items

3. Basket

Discount Module Capabilities

This is for existing discount modules.

Exclusion Types

There are three Exclusion types:

Note

An Item Group is a group of multiple items that are identical except for their pricing due to discounts (for example, Buy X Get 1 Free). These are grouped together and shown as a single line item in the basket.

Exclusions

If there are no exclusions, each price group is segregated into one of the three classifications and then applied based on the priority within those groups.

If there are exclusions:

Priority

Discount Price Recalculation
  • Any change to the basket to add, remove, or update an item will automatically force the price groups applied to the basket to be recalculated.
  • This cannot be prevented or changed.
  • Miva will look at all qualifying price groups and process each discount individually in the order based on pre-calc, items, baskets with groups and the highest priority from within each group.
  • Basket Subtotal used for qualifications is updated as each price group is applied.

Next Section

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2021 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.