Multiple Pricing Levels

Although cf_ezcart has always had the ability to set percentage discounts on a per customer level, we have often had requests to have actual pricing levels. While the former is fine if you want to give Customer A 10% off of all items and Customer B 15% off of all items, our new scheme allows for more flexibility by allowing you to create as many Price Levels as you like, and assigning any customer to any level.

Administration

Depending upon your situation, you may wish to add your products first, then create your additional Price Levels. The reason for this is, when creating a new Price Level, you will first duplicate an existing Price Level. You may then edit the Price Level, which allows you to multiply and/or divide the Regular Price and/or Sale Price to globally reset prices. So, you may duplicate your main pricing structure, then, as an example, lower all prices by 10% and lower all sale prices by 5%. You may then go in and tweak the prices for the new level as you desire.

Implementation

There are 2 ways to activate a Price Level.

  1. By default, you don't have to do anything. When a customer logs in, their Price Level will be set as "client.pricelevel". Note that a customer MUST be logged in before the prices at their level will be in effect. So, if your additional Price Levels are all used as a discounting feature, you will need to inform your customers to log in before shopping. More imperative, if ANY of your prices at ANY Price Level are HIGHER than the default Price Level, you will want to FORCE your customers to log in. Once client.pricelevel is set, that will be their price level for the rest of the session.
  2. Set the local variable "variables.pricelevel" at the top of the cartpage template or anywhere else that is set BEFORE the following cf_ezcart templates ("page" values) are accessed:
    list.cfm, cart.cfm, details.cfm, search.cfm, checkout.cfm

Usage Notes: