Promotion Tiers

February 22, 2022


Overview 

Promotions can now be grouped into "promotion tiers". 
Organizing promotions into tiers will affect the order in which promotions are applied. The new order is as follows:  
  1. Promotions are applied by tier. (Promotions with no tier are applied first.) 
  2. Within each tier, promotions are applied by type. 
  3. Within each type, promotions are applied from oldest to newest.  
This algorithm has been implemented in API call "calculateShoppingCart", and therefore this new logic will take effect in all Erply point of sale applications that use API: Brazil POS, Berlin POS, and Touch POS. 

Why Promotion Order Might Matter

  • At most one item-level discount can apply to one item. (An "item-level discount" is, for example, "25% off this particular product or product group"). If two promotions offer competing discounts for the same items, only the first one will actually apply.  
  • Some promotions may have restrictions such as, "Do not apply this discount to items that are already discounted". It might be useful to ensure that such a promotion is always the last one to apply.   

Get Started

To start creating a list of tiers, you may need to update user group permissions and grant yourself access to this module. 

To manage tiers and assign promotions into tiers, we recommend to use Erply's new promotion management module. This is not yet activated on
all accounts by default, but customer support is happy to activate it
for you. The configuration parameter that enables the new module is:

jsplugin_promotions_enabled = 1