3 replies [Last post]
IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
Was this information Helpful?

Is it possible to add discounts to individual products based on a conditional action predicate? The "available actions" I'm seeing are very limited and are only allowing me to assign a discount to *all* products, not by SKU. (I see a radio button and "Products" but that's it.)

Also, should I be seeing all of these module options with the latest release of the discount framework? Or has this enable/disable setup been superceded?

http://www.ubercart.org/files/uc_discounts(Ubercart2.x).jpg

I suppose I can try to use uc_discounts_alt but it seems like I should be able to get uc_discount working for discounts on individual products.

Thanks!

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Question (problem?) with Discount Framework

It depends on which trigger you use for the discounts. For the "calculate product discounts", you can use conditions to limit the discount to particular products. Any product that matches the conditions (even if only one does) will get the discount.

For the "calculate order discounts", it's a little different because you can choose which products get the discount on the action form. This is because an order might match the conditions (which may include "has this particular product"), but you only want to apply the discount to a particular product and not all of those that were purchased.

IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
Re: Re: Question (problem?) with Discount Framework

Thanks for the reply. Under the "calculate order discounts" scenario, can multiple products be entered in the "apply a discount" action? Or do you have to create a separate action for each product that qualifies for a discount? Can't seem to add more than one in the Order Products -> Products box without an autocomplete error.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Question (problem?) with Discount Framework

Yeah, I'd like to make that autocomplete box work better, but it's just for a single product right now.