DISCOUNT PRICING

The SendSafe system automatically calculates and applies various sale and discount pricing schemes.

Sections:
Buy X get Y Free (BXGY)
Discount Plan and Sale Pricing
Special Pricing
Percent off pricing
Alternate Quantity Pricing table

 


Discount Plan and Sale Pricing

Discount plans provide either: a percentage off or application of special pricing. Discounting is performed in browser.asp and therefore, the customer must be logged in before adding items to the cart to receive their percent off discount (except for quantity priced items). If a customer logs in after placing some items in the cart, those initial items will not be discounted while "subsequent to login" items will be discounted. Discounts apply to item prices only and DO NOT directly affect shipping costs.

For all non-quantity priced items, all discount pricing will be displayed in the product browsing pages and shopping cart. For quantity priced items, the discount pricing will be displayed in the quantity pricing pop-up and the cart but not in the manually setup up min/max quantity pricing which is displayed on buy button lines.

Special pricing obtains prices from the SpecialPrice DB column in the itemsExt table. From a technical standpoint, this discount is enabled by overriding the value of the state control variable "enableSpecialAndRetailPricing" in the E-Business framework. This discount pricing is displayed with special emphasis in the product browser.


Special pricing is applied by a set of rules. Special pricing is configured by:

  1. Manually setting or using MIMarketingInfo FFP tools to set a discount value into the customer's DiscountPlan.
  2. Setting the Application("DiscountSQLQualifier") clause in the global.inc.asa file.
  3. Setting the Application("SpecialCustomerDiscounts") = true in the global.inc.asa file.

Percent off pricing obtains the global percentage off value from the DiscountPlan column. The column is set to: "PERCENT=nn" where nn is the percent discount to apply. NN number must be a floating point value (i.e. 0.10 = 10%). Percent off discounts require no other settings than adding a percent value preceeded by the "PERCENT=" string.

With this option you set a discount amount into the customer's record in the DiscountPlan field. Each customer can have a different discount amount.

Limitations:

Discount Enabled/Disable state is tested using the ASP function: isDiscountPlanEnbled(). This function can be used in custom code to display various messages rearding the customer's discount.

Discount pricing can be enabled in one of these ways:

Alternate Quantity Pricing table
The function SetAltPriceList( "Quantity Price B" ) in Store.customerlogin.asp is used to set an alternate quantity pricing table at login. This alternate price list is set ONLY when the DiscountPlan code matches a code set by SetDiscountPlan( "ClubA" ) in Store.customerlogin.asp.

Note: If SetAltPriceList( "Quantity Price B" ) is set AND SetDiscountPlan( "ClubA" ) is empty THEN every valid login will result in the alterante Quantity Pricing table being set for the order.

See also:
Special Pricing
SpecialPrice
purchase of a club membership
DiscountPlan


Buy X Get Y Free (BXGY)

The SendSafe system has built in support for running "buy one get one free sales." Sales are enabled by setting both the producttypes which are on sale and enabling the sale. Both these settings are made in the AdminStoreConfig.asp admin page (example below).

Products are grouped for "buy one get one free" by productType. All items with a like producttype are grouped into the same pool from which free product eligibility is calculated. Products with different productTypes are groupped into different pools. There is no logic for selecting which products in a given pool will be free; as a result it is recommend that all products in a given pool have the same price.

Buy one Get one Free does not discount shipping costs. All normal shipping costs apply for the total number of items ordered (paid or free).

You must enter one or more producttypes which will be part of the buy 1 get 1 free sale. The producttype are entered (comma delimited) into the “Sale Price Buy One Get One Free” entry field of the Basket Configuration for the store front.

You must enter any of the following into the "Sale Price Enabled" entry field of the Basket Configuration for the store front.

ModeSystem StateType of sale
1"Sale Price Enabled" = 0All sales globally disabled
2"Sale Price Enabled" = 1Unlimited buy 1 get 1 free is globally enabled
3"Sale Price Enabled" = ClubDiscountPlanSale is enabled with unlimited buy 1 get 1 free BUT ONLY for matching customers.
4"Sale Price Enabled" = 2Limited buy 1 get 1 free is globally enabled with the restriction of one free item per order.
5Compound syntax

"Sale Price Enabled" = 3
and "Sale Price Enabled" = ClubDiscountPlan

Example syntax: "3,MyDiscountPlan"
Limited buy 1 get 1 free is enabled with the restriction of one free item per order and ONLY for matching customers
6Compound syntax

"Sale Price Enabled" = 4
and "Sale Price Enabled" = ClubDiscountPlan

Example syntax: "4,MyDiscountPlan"
Limited buy 1 get 1 free is enabled with the restriction of one free item per order and ONLY one per customer (for matching customers)
7Compound syntax

"Sale Price Enabled" = 5
and "Sale Price Enabled" != ClubDiscountPlan

Example syntax: "5,MyDiscountPlan"
Limited buy 1 get 1 free is enabled with the restriction of one free item per order and ONLY one per customer (for NOT matching customers)

ClubDiscountPlan is the name string entered into the Customer Record in the Customers.DiscountPlan column. If these name strings match than the customer will receive sale pricing. If the names do not match then no sale pricing is applied.

If in mode 6 and the customer places a successful order, the SendSafe robot will modify the Customers.DiscountPlan field by appending slashes "//" around the field; thereby disabling future discounts for this customer. This is the mechanism which enforces the one discount per customer rule.

If in mode 7 and the customer places a successful order, the SendSafe robot will modify the Customers.DiscountPlan field by setting the discountCode found in the "Sale Price Enabled" field; thereby disabling future discounts for this customer. This is the mechanism which enforces the one discount per customer rule. Often the "Sale Price Enabled" field is configured to read something like "FreeOfferComplete" to connotate that the customer has received this free offer.

Sale pricing is enabled/disabled immediately, so care should be taken when it is turned on and off. Items already in a cart at a sale price will remain on sale for that price in the cart. If you wish to disable sale pricing for items in a cart, set the value of "Sale Price Buy One Get One Free" to a non-existant productType; this will reset all pricing in all carts which are being actively loaded.

The "Sale Pricing" message displayed in the bottom of the cart is configurable; see Application("CustomBottomOfBasketSaleMessage") configuration value in global.inc.asa.