13 replies [Last post]
garym's picture
Offline
Joined: 11/24/2007
Juice: 14
Was this information Helpful?

I've implemented uc_coupons in an alpha 8 build, and coupons seem to be working EXCEPT that it doesn't actually accept any coupons at the end. Valid coupons that I enter don't register against the price when going to "Review Order" page from the checkout.

I'm using Drupal 5.3... I DID have e/Commerce installed for a day and then uninstalled it in favor of Ubercart, and I didn't do a thorough database cleanse, in case that may interfere or something...

Any ideas?

Mariano's picture
Offline
Joined: 09/04/2007
Juice: 110
Re: Coupons not working

Just for the record, I'm using the same UC's & Drupal's version as you. I didn't have any problems with this module. Which version did you download? (I'll attach the one that's working for me). I tested it at checkout and I got the adjusted price at the review order screen. Then, the discount was also registered on the e-mailed invoice. What type of discount value are you using? Sure you have the coupon active and you haven't exceeded the maximum number of redemptions? What about the allowed users?

I had a problem with some modules which weren't working. I upgraded UC and Drupal, from an existing database. When I first browsed to the admin pages, the contributed modules were already selected. It helped me to uncheck them, refresh and then check them again.

Anyway, sure someone else will have a better idea.

AttachmentSize
uc_coupon.zip 13.6 KB
garym's picture
Offline
Joined: 11/24/2007
Juice: 14
Still not working

Thanks, Mariano. I tried your version and still no go. I am doing a 15% discount (I just tried price as well). Coupon is active. Number of redemptions is set to 0 (I just tried 500). No user is selected under Allowed Users. I also have "Both Wholesale and Retail" selected for permissions (don't really know why this is here though). The expiration date is also set in the future.

Also, I'm not using the "Catalog" module as it is only a handful of products at a time.

And I just disabled ALL the ubercart related modules and re-enabled them...
And it still doesn't work, like it doesn't even see my coupon entry...

In case anyone wants to see it, the product site is: www.kristinit.com/shop/. The coupon code is "test1" for 15% off valid until 12/23/2007.

It's like it doesn't even see the field or something... code of field from browser:

<input type="text" maxlength="14" name="panes[coupon][coupon]" id="edit-panes-coupon-coupon"  size="32" value="" class="form-text" />

As it works for others, perhaps I need to rebuild the whole commerce area again, clear out database entries, uninstall all modules, rebuild or something? I hope not... any other ideas anyone?

aswalla's picture
Offline
Getting busy with the Ubercode.Spreading the word - Ubercart for president.
Joined: 08/17/2007
Juice: 105
Re: Still not working

out of curiosity, have you tried it with the catalog module enabled?

it may be possible that there's something weird happening in your sql database as people including myself do have this module functioning with current ubercart/drupal versions.

can you do a screenshot of your coupon settings page? I'll compare with mine.

if you can take a screenshot of the order-review page as well which is the spot where the discount should show, that would be great also - or just describe what is on that page discount-wise.

cheers,
Aaron

garym's picture
Offline
Joined: 11/24/2007
Juice: 14
Working locally in WAMP??

Interesting - downloaded and imported the database into my localhost version running in WAMP... AND COUPONS WORK!? Yet, the live site doesn't even though the drupal databases are IDENTICAL - the only content difference is that local has CLEAN URLS disabled.

Here's the stats on db/etc.
- LOCALHOST - Apache/2.0.59 (Win32), PHP version : 5.2.0, MySQL version: 5.0.27
- REMOTE - Apache/1.3.39 (Unix), PHP version 4.4.7, MySQL version: 4.1.22

I'm in the middle of a full clean & rebuild of (remote) ubercart installation ala:
http://www.ubercart.org/forum/support/213/moving_e_commerce_module_uberc...
I'll add a simple product w/ coupon and report shortly if this works.

(I'll try your suggestions aswalla if my approach fails... thanks!)

garym's picture
Offline
Joined: 11/24/2007
Juice: 14
Coupons still not working

I'm at a total loss. Doing the whole rebuild didn't work either.

The bottom line is this: COUPONS work in my local PC (running WAMP), yet COUPONS in the EXACT same drupal setup on my remote site DOES NOT!

Databases have been exported back and forth to no avail. See http://www.kristinit.com/shop. Add a product to cart, enter an address, enter "test1" for coupon, and click "Review Order". Coupon not applied.

Can someone help me out with any more ideas to pursue?

Aaron, here are the requested screen shots attached with Edit Coupon page and the Review Order page. Thanks...

AttachmentSize
editCoupon.gif 34.72 KB
reviewOrder.gif 19.8 KB
garym's picture
Offline
Joined: 11/24/2007
Juice: 14
Abandoning COUPONS

Just FYI, I'm abandoning COUPONS for now as I have no idea how to fix the above issue. We'll just have to use "sales" using list price/sell price difference as the incentive (coupons is our first choice though). Oh well, that'll keep us moving for now... thanks to Mariano and Aswala for trying Shocked)
Gary

aswalla's picture
Offline
Getting busy with the Ubercode.Spreading the word - Ubercart for president.
Joined: 08/17/2007
Juice: 105
Re: Abandoning COUPONS

everything looks fine in your settings, so i'm at a loss.

I agree with zmove; the coupon module does need a reworking and possibly just needs to be integrated into ubercart core since a large number of people appear to use it. Perhaps we can get a poll going about that... Smiling

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: Re: Abandoning COUPONS

I already submit the suggestion on my post on the Battleplan for beta. Let's flood Lyle & Ryan Eye-wink

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: Re: Re: Abandoning COUPONS

I have the sponsor for my society to improve the discount coupon module. I have the end of the week to make something works better.

This is my priority :

  • Discount apply to all user if no ones selected in the list
  • Add an uses left in the coupon table
  • Make the coupon module more friend with internationalization
  • Make the coupon display on the checkout page, in line item if all conditions applied
  • I think it's enought for 3 days of work ^^

If you have some other suggestions, I'm open to read them, I will not have extra time to make extra features I listed during my sponsor, but maybe add them later if the ideas are good.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Abandoning COUPONS

Excellent, zmove. Best of luck with the modifications!

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
I just posted it, Let's try

I just posted it, Let's try

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: Coupons not working

The coupon module really need a reworking to :

  • Not be obliged to select user the coupon apply (by default all user so...)
  • Display the discount on the checkout page, in the line-item system
  • Provide coupon repost which display some SQL error At the moment

My society need this module, I will know very soon if it want to sponsor me to improve it, or prever to wait for maintenance.... I will take you informed.

deepti's picture
Offline
Joined: 10/06/2009
Juice: 2
How will user know about coupon code

Hi,

I dont know is this the right topic where i can should post my question. Hoping to get ans from here.

I have enabled uc_coupon. I have also created a new coupon, but how will my users know about this coupon code? will coupon trigger a mail when i have added a new coupon? i also tried using restricted user so that at least to them the mails goes saying that "you have a gift coupon code" but its not triggering any mail . have i gone wrong somewhere? do i need configure something else?

plz help.