Sales Report and My Mods
Relevance: Zen Cart™ 1.3.0 - 1.3.9, 1.5.x
If you are using any of my discounting software, running the popular Zen Cart mod Sales Report against an order with one of these discounts will cause the totals not to add up correctly.
The fix is to modify
admin/includes/classes/sales_report.php as follows: search for
elseif ($class == "ot_coupon" || $class == "ot_group_pricing" || $class == "ot_better_together") {
and add in the classes you are using.
A complete list of the classes I have created for discounting is:
Better Together:
ot_better_togetherBig Chooser:
ot_big_chooserBig Spender:
ot_bigspender_discountBOGO:
ot_bogo_discountCase Discounts:
ot_case_discountsCombination Discounts:
ot_combination_discountsDiscount Chooser /Free Gift Chooser:
ot_freegift_chooserDiscount Spender /Free Gift Spender:
ot_freegift_spenderFrequency Discounts:
ot_frequency_discountQuantity Discounts:
ot_quantity_discountTable Discounts:
ot_table_discountsNewsletter Discounts:
ot_newsletter_discountManufacturer Discount:
ot_manufacturer_discountMilitary Discount:
ot_military_discountThis list was originally posted on my blog, but putting it here allows me to keep it up to date more easily.
eCommerce with Zen Cart!
