Download & Extend

Percentage off per qualifying item + Require single SKU - doesn't calculate properly

Project:Ubercart Discounts (Alternative)
Version:6.x-2.4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have the following setup:

Cart contents:
- product A: quantity 2, total 200$
- product B: quantity 1, total 50$

Discount Settings:
Qualification:
- Type: minimum quantity
- Amount: 2
- Require single SKU to qualify: checked

Application:
- Percentage off per qualifying item
- Amount: 0.1

All other options at default.

Expected behavior:
apply a discount of 20$ as only product A qualifies for the discount.
variation: apply a discount of 10$, only for the second instance of product A (this could be a separate discount type as mentioned in http://drupal.org/node/1285404)
product B should not get any discounts

Actual behavior:
a discount of 25$ is applied, this means the discount amount is calculated for the total price of all products.

Remarks:
When i add only one instance of product A and product B (quantity = 1 for both) no discounts apply at all, which is correct.

Similar issues:
http://drupal.org/node/611206

Looks like a bug to me, please let me know if my discount configurations are incorrect,
Thanks.

Comments

#1

Bump
This is a great module
An important feature is broken and it would be great to see this fixed

Version 2.4
Has no effect = "Require single product SKU to qualify"

#2

I think the issue is that "Require single product SKU to qualify" only affects qualification, and not discount application.

We probably need "Apply discount to qualifying product SKUs only" as a new option in the discount application section.

I have the same problem with "buy X get Y free": I want to both require all the X to be the same SKU, but I also want to restrict the free items to that SKU too. At the moment the free items are selected as the cheapest in the cart, regardless of SKU.

#3

Hmmm... perhaps "percentage off per qualifying item" should indeed be working for you...

There isn't a "free items per qualifying item" option, which I think is what I need.

nobody click here