Virginia: (703) 753-5755 Washington, D.C.: (202) 470-6244 Maryland: (301) 358-2515

Free Online Quote | Contact Us | Web Site Project Center

discount_ecommerce.html#buyone_get_one_free

PDF Print E-mail

Online Store Discount Options

Buy One Get One Free

Discount calculations are done by default when a customer logs in and the discount has a non zero value for that customer. The discount field is in the customer record.

Free Product on a given quantity
One or two values can be placed in the level3 field. The first number is the quantity that must be purchased. The second is optional. It is the catalogid of the free product. If it is not supplied the customer is given a free copy of the product itself.

You will also need to ensure that the configuration setting
xcartspecialhandling = YES in your shop configuration settings.

You should also check that the value of xcartspecialhandlingfield refers to level3.

Quantity Discounts - By Group

Online Store System allows you to group certain products together and apply a discount to the group as a whole.

To enable group discounts, in your shop configuration, make sure the following settings are enabled:

  • Set xquantityprices=Yes
  • Set xproductgroupdiscount=Yes

Add a new entry to the Quantity Discount Table.

Ensure that the fields categoryid and catalogid are empty.

Set the following fields as necessary:

  • minquantity=5 (the minimum quantity of items that need to be purchased before this discount will be applied)
  • quantity1=10 (the upper limit of the first quantity range)
  • discount1=0.1 (if between 5 and 10 products are purchased then apply a 10% discount)
  • quantity2=9999 (the upper limit of the second quantity range)
  • discount2=0.2 (if between 10 and 9999 products are purchase then apply a 20% discount)
  • groupfordiscount=testgroup (the name of the group)

Click Add a Record.

Screen shot for setting discount;

e-commerce discount options

In each product that you want to apply the group discount to, you need to enter a value into its Discount Group field. The value must be exactly that which you entered into the quantitydiscount table for the groupfordiscount field.

In this example case, we would set each product's Discount Group field to testgroup.

 

online store discounts

Now whenever anyone purchases 5 or more products that have been assigned to this group, they will receive a discount.

For more information on quantity e-commerce discounts.

 

E-commerce Discounts


     Web Store System supports the following types of discounts;

An overall discount to the entire order based on the products ordered. This discount is based on a specific customer. The rate is set in the customer table in the discount field. It can also be calculated another way by adding code to file shopdiscount.asp.

  • Quantity discount for specific products where the price can be altered depending on the quantity the customer buys. The quantity ranges and prices are set in the quantityprices table and calculated in file.
  • Customer Specific Pricing regardless of quantity.
  • Quantity based discounts where a number of different products are combined to determine whether quantity based discounts should apply.
  • Price Range Discount -The customer buys over a certain amount a discount is applied automatically
  • Discount Coupons - These are described in the VP-ASP Option Package Guide
  • Gift Certificates - These are described in the VP-ASP Option Package Guide
  • Buy one get one free - The ability to give away a free product based on the quantity purchased

Price Range Discount

You can set up these configurations easily at your Set-up / Configuration screen.

 

xdiscountlimit

100,500,1000

xdiscountamount

.10,.20,.30

In the above example if a person buys over $100, they get a 10 percent discount. Over $500 they get a 20% discount and over 1000, they get a 30% discount.

Xdiscountlimit are the ranges for which the discounts apply and xdiscountamount are the percentages. For European countries where a comma is used as a decimal point, separate the amounts with a semicolon (;).

The calculation is done automatically by your e-commerce store.

 

(Back to E-Commerce Online Store Features)