Is there a way for the coupon to discount non sale items only?
I am running 1.4.8b and my coupons work fine.
I can only image that an if statement comes in to the coupon calculation however i have no idea where to start.
Many thanks
Try this.
1. EDIT: system/library/cart.php
2. FIND:
3. AFTER, ADD:
4. EDIT: catalog/model/total/coupon.php
5. FIND:
6. REPLACE WITH:
1. EDIT: system/library/cart.php
2. FIND:
Code: Select all
'price' => ($price + $option_price),
Code: Select all
'discount' => $product_special_query->num_rows
5. FIND:
Code: Select all
$coupon_total += $product['total'];
Code: Select all
if (!$product['discount']) {
$coupon_total += $product['total'];
}
Who is online
Users browsing this forum: No registered users and 43 guests