Product class restriction has a confusing effect

David Strauss - August 28, 2009 - 05:25
Project:Ubercart Discount Coupons
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

One of my customers using this module used the product class restriction with the intent of allowing the coupon to apply once (at most) to orders containing at least one product of the class. Instead, it applies once for each product of the class in the order. This is explained in the tiny descriptive text on the coupon editing page, but it would be better to decouple into two options.

Product classes:
(none)
...

Apply coupon:
(*) Once per order
( ) For each matching product

"Each matching product" would be each item in the order if no restrictions are specified.

 
 

Drupal is a registered trademark of Dries Buytaert.