Manual Discount / Surcharge Examples

Many of flexi carts most powerful features require data to be retrieved from database tables, however, for some smaller sites, this may seem as overkill, and so flexi cart allows many of the features requiring a database to be disabled so that a custom method can be used instead.

If the discount tables are disabled (and even if they are not), flexi cart allows discounts and surcharges to be manually applied to the cart by using just a few hard coded values submitted to a function.

Discounts

Manual discounts can be applied to the carts item summary total (Total of items only), the carts shipping rate and the carts grand total.
The discounts can be either percentage based (10% off), fixed value (£5 off) or for shipping rates only, a new value (Was £10, now £7.50).

Surcharges

Surcharges can be applied as either percentage based (add 10%) or fixed value (add £5) surcharges.
Fixed rate surcharges are only applied to the carts total, whilst percentage based surcharges can be applied to either the item summary total (Total of items only), the carts shipping rate or the carts grand total.
Surcharges can only be set manually as there is no database version of the feature.