68 Classifieds Forums

68 Classifieds Forums (http://www.68classifieds.com/forums/index.php)
-   v3.0 Suggestions and Feedback (http://www.68classifieds.com/forums/forumdisplay.php?f=7)
-   -   Response to users when coupon code is invalid (http://www.68classifieds.com/forums/showthread.php?t=47)

civ 03-29-2006 04:45 PM

Response to users when coupon code is invalid
 
First of all Eric, I don't expect you to add this feature anytime soon. I know you have your own problems to worry about right now, and man do I feel for you. :( But while this was fresh in my mind I wanted to get it written down.

We opened up our newest 68C site last night and had a great response. We had offered up a coupon that expired after 50 uses and it was exhausted today. Trouble is, new customers attempting to use that coupon aren't getting told that it's invalid - they just notice the lack of a discount in the final price.

For now I'll just drop a note about that specific coupon into step 3 of the checkout process, but once we get a few coupons out there it's going to get messy. Refreshing step 3 and adding a warning about why the coupon will not be applied to their order would be ideal.

civ 03-29-2006 04:46 PM

oops, wrong forum. sorry about that - this should be in Feedback.

Chaslie 03-29-2006 05:25 PM

civ,

Quote:

We opened up our newest 68C site last night and had a great response. We had offered up a coupon that expired after 50 uses and it was exhausted today
That's a great response. Would you like to tell us more about this 'promotion' in the 'Site Marketing' forum please?

juven14 03-29-2006 07:39 PM

~ Edit, I deleted the non-working code...:o. This was replaced with the file in my newest post in this thread.

civ 03-30-2006 12:07 AM

Thanks John! That's very close to what we need to get this working. So far, here are the results:

- When initially reaching that checkout stage, the featured option is already selected "Yes". I double-checked your code and it looks fine - perhaps $featured is being set already elsewhere?

- After submitting an invalid coupon code, the resulting page (step 3 again) only contains the new error message, the featured option (but it's missing the price), the coupon option, and the previously entered Title. Everything else is missing (bold, hl, desc, price, url, etc). The Continue button is present though and the rest of the page renders ok.

Chaslie 03-30-2006 04:47 AM

civ,
When you have time, may I again request, "Would you like to tell us more about this 'promotion' in the 'Site Marketing' forum please?"

juven14 03-30-2006 07:13 AM

Quote:

Originally Posted by civ
Thanks John! That's very close to what we need to get this working. So far, here are the results:

- When initially reaching that checkout stage, the featured option is already selected "Yes". I double-checked your code and it looks fine - perhaps $featured is being set already elsewhere?

- After submitting an invalid coupon code, the resulting page (step 3 again) only contains the new error message, the featured option (but it's missing the price), the coupon option, and the previously entered Title. Everything else is missing (bold, hl, desc, price, url, etc). The Continue button is present though and the rest of the page renders ok.


Maybe that step 3 was hacked up too. Let me get a fresh copy of usercheckout.php and step3.tpl.php and reapply the mod. I'll get on this after my morning coffee:)

juven14 03-30-2006 09:55 AM

Sorry Civ, better tested...
 
Sorry about that, this time around it is better tested and works like a charm. I think I tested every possiblity.

I fixed the errors you found and a couple of others. It looks like it is solid now. If you find any erros or have suggestions let me know and I will work those out/in ASAP.

This works with Developer 3.0.14

invalid-coupon-mod.zip

civ 03-30-2006 10:50 AM

Sorry Chaslie, didn't intend to ignore you earlier - it was after midnight and my eyes were getting heavy I suppose. And to think that midnight was when I used to get my second wind!

I'll definitely share the experience once I get a chance.

civ 03-30-2006 12:36 PM

Alright, the only thing not showing anymore is the featured option. It doesn't even show when initially entering step 3. It has something to do with usercheckout.php too, and not the template - I uploaded usercheckout.php first and it started happeing before I even uploaded the template. (it still happens w/ the updated template though too).


All times are GMT -4. The time now is 06:15 AM.

Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.