Zen Follower
- Join Date:
- Mar 2008
- Location:
- Belgium
- Posts:
- 120
- Plugin Contributions:
- 3
Quantity Discounts for 1.3
Hi Scott,
As a loyal user of quantity discounts I want give you a heads-up about a warning I found in the logs.
[08-Mar-2021 09:03:55 Europe/Brussels] Request URI: /index.php?main_page=checkout_process, IP address: *.*.*.*
#1 ot_quantity_discount->__construct() called at [*/www/includes/classes/order_total.php:51]
#2 order_total->__construct() called at [*/www/includes/modules/checkout_process.php:60]
#3 require(*/www/includes/modules/checkout_process.php) called at [*/www/includes/modules/pages/checkout_process/header_php.php:14]
#4 require(*/www/includes/modules/pages/checkout_process/header_php.php) called at [*/www/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_QUANTITY_DISCOUNT_COUNTING_METHOD - assumed 'MODULE_ORDER_TOTAL_QUANTITY_DISCOUNT_COUNTING_METHOD' (this will throw an Error in a future version of PHP) in */www/includes/modules/order_total/ot_quantity_discount.php on line 117.
I'm using v1.5.7c on PHP 7.4.15 and presume it's neglectable for now because "future versions" must be PHP 8.x.x
Also the sale went along just fine.
Is there a "quick fix" for it or does it require "thorough" editing?