Try editing the file:
/includes/modules/order_total/ot_coupon.php
and look for the two sections marked as:
Code:
// left for total order amount vs qualified order amount just switch the commented lines
Beneath them, you will see two lines, example:
Code:
// if ($order_total['totalFull'] < $coupon_result->fields['coupon_minimum_order']) {
if (strval($order_total['total']) < $coupon_result->fields['coupon_minimum_order']) {
Notice how the first line is commented out ... switch the comments to the second line so they read:
Code:
if ($order_total['totalFull'] < $coupon_result->fields['coupon_minimum_order']) {
// if (strval($order_total['total']) < $coupon_result->fields['coupon_minimum_order']) {
And the second set of lines:
Code:
// if ($orderTotalDetails['totalFull'] >= $coupon->fields['coupon_minimum_order']) {
if (strval($orderTotalDetails['total']) >= $coupon->fields['coupon_minimum_order']) {
switch to:
Code:
if ($orderTotalDetails['totalFull'] >= $coupon->fields['coupon_minimum_order']) {
// if (strval($orderTotalDetails['total']) >= $coupon->fields['coupon_minimum_order']) {
Now say the free gift is a Product that is $29.99 with a minimum purchase of $100.00 ...
Make the minimum Purchase $129.99 ...
See if that works for you ...
Bookmarks