Apply coupon by category

lee20 - October 30, 2008 - 19:34
Project:Ubercart Discount Coupons
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,

I am working on an Ubercart instance that I am told has had a feature for applying a coupon to taxonomy terms. The feature was disabled by a programmer who is MIA, and in searching for where this was implemented, I found nothing.

Can anyone tell me if there is some method that I am missing for enabling this? Or perhaps another add-on module.. or perhaps even another coupon/discount ubercat module that provides coupons for a specific category?

Cheers,
lee20

#1

longwave - June 1, 2009 - 18:24
Version:5.x-1.3» 5.x-1.x-dev
Status:active» fixed

This has finally been added to the 5.x and 6.x dev releases.

#2

jasonabc - June 9, 2009 - 01:01

Hi - I installed the latest 6.x release. I can see where I can apply codes to product classes, individual products and individual SKUs but can't see for the life of me where applying codes to taxonomy terms (categories) is handled in the "add new coupon" interface? Apparently this has been added to the latest releases so can someone point me in the right direction?

thanks!

Jason

#3

longwave - June 9, 2009 - 08:32

This is currently only available in the development releases. Please try this version and report back whether this feature works for you, then I can make a new official release of the module.

#4

jasonabc - June 9, 2009 - 20:19

Hi Longwave - many thanks for pointing me in the right direction ;-) I installed the dev version and can now see the "applicable taxonomy terms" area. I tested setting a code up for one of my categories ("DVDs") but trying to redeem it on a product that was not from that category ("Jerseys"). When I applied the DVD code, I expected to see a message telling me the code could not be used with the jersey product I had in my cart - but instead it said the code had been applied to my order successfully and showed me a new order total with the 20% discount applied.

Any ideas?

Great module by the way - essential for any shopping cart solution IMHO.

#5

longwave - June 9, 2009 - 23:50
Version:5.x-1.x-dev» 6.x-1.x-dev
Status:fixed» postponed (maintainer needs more info)

This works for me. I set up a test store with two categories and two products, one in each category. If I create a coupon that only applies to category 1, add the product to the cart from category 2, then enter the coupon at the checkout I get the message "You do not have applicable products in your cart" and the coupon is not applied. Have you selected any product classes, individual products or SKUs for this coupon? If any of these happen to also match the product in the cart, the coupon will be applied.

#6

jasonabc - June 12, 2009 - 00:12

ahhhh I think your last post pointed me in the right direction ;-) I had "product" selected in the "product classes" area. I thought this had to be selected in order to make the code work for products (i.e. if it wasn't selected the code wouldn't work for *any* products in the store)?? I changed this value to "none" and now the code works fine - thanks ever so much!

Jason

#7

longwave - June 12, 2009 - 08:18
Status:postponed (maintainer needs more info)» fixed

#8

System Message - June 26, 2009 - 08:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.