As it is now, if I set the discount qty to 5 and the customer buy 3 large and 2 xxl he will receive the qty discount.
I need the options to be treated individually when qty discount is calculated, so he only will get the discount if he order 5 in one specific size.
Are there any way to accomplish this?
What you are describing is actually a feature I added to the core back in 1.4.7
To disable it,try this..
1. EDIT: system/library/cart.php
2. FIND:
3. REPLACE WITH:
To disable it,try this..
1. EDIT: system/library/cart.php
2. FIND:
Code: Select all
foreach ($this->session->data['cart'] as $key_2 => $quantity_2) {
$product_2 = explode(':', $key_2);
if ($product_2[0] == $product_id) {
$discount_quantity += $quantity_2;
}
}
Code: Select all
$discount_quantity = $quantity;
Who is online
Users browsing this forum: No registered users and 86 guests