TomatoCart

126540 Downloads
352 users online
TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?

[Not Bug]Coupon code did not work
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [Not Bug]Coupon code did not work
#19328
[Not Bug]Coupon code did not work 11 Months ago Karma: 1
I find the coupon issue still not working!

Below is an example of what happens, first tying in the test coupon code, for a 10% discount...



Then Redeem takes you to this page...

chayote
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/06/27 10:19 By jack.yin.
The administrator has disabled public write access.
 
#19368
Re:Coupon code did not work 11 Months ago Karma: 50
Hi chayote,

The TomatoCart Core Team will test the coupon feature according to your report. If there is any issue in that part, it will be fixed in TomatoCart 1.1.8. In addition, once the team resolve any bug, a package about the bug will be added into www.tomatocart.com/downloads/bugs-packages.html. So, the community users who are using the TomatoCart 1.1.x could download the bug packages to fix the bug before the Version 1.1.8 is released.

Thanks for your report. You are actually assisting the core team to make this software more stable and security.

The TomatoCart Core Team's goal is to continue to provide regular, frequent updates to TomatoCart community. Moreover, enhance the stability and security of TomatoCart project.
jack.yin
Jack Yin
Team Member
Posts: 2332
graph
User Offline Click here to see the profile of this user
Gender: Male support@tomatocart.com
Last Edit: 2012/06/21 04:51 By jack.yin.
---------------------

Jack Yin

Please help us to spread TomatoCart and tell people that you love TomatoCart!

If you are satisfied with TomatoCart, please follow us at @  
Google+
If you find this thread is useful you can share it @  



To keep updating TomatoCart status in future, Like our Facebook, Google+, LinkedIn page or Follow us on Twitter.

.Facebook: www.facebook.com/pages/TomatoCart/241732152589007
.Google+: plus.google.com/109588253708268031594?prsrc=3
.Linkedin: www.linkedin.com/groups?home=&gid=31...8&trk=anet_ug_hm
.Twitter: twitter.com/tomatocart
The administrator has disabled public write access.
 
#19628
Re:[Not Bug]Coupon code did not work 10 Months, 3 Weeks ago Karma: 50
Hi chayote,

We have tested the coupon feature. It works normally. It should be caused by your web server. Please debug the code as follows:

#Go to includes/javascript/checkout.js

#Find the btnRedeemCouponClick method

#Find the following code:
Code:


var result = JSON.decode(response);



#Add the following before the line:

Code:


alert(response);




Then tell us whether the js alert window is displayed and what's the information displayed in the window.

Thanks.
jack.yin
Jack Yin
Team Member
Posts: 2332
graph
User Offline Click here to see the profile of this user
Gender: Male support@tomatocart.com
---------------------

Jack Yin

Please help us to spread TomatoCart and tell people that you love TomatoCart!




To keep updating TomatoCart status in future, Like our Facebook, Google+, LinkedIn page or Follow us on Twitter.

.Facebook: www.facebook.com/pages/TomatoCart/241732152589007
.Google+: plus.google.com/109588253708268031594?prsrc=3
.Linkedin: www.linkedin.com/groups?home=&gid=31...8&trk=anet_ug_hm
.Twitter: twitter.com/tomatocart
The administrator has disabled public write access.
 
#19638
Re:[Not Bug]Coupon code did not work 10 Months, 3 Weeks ago Karma: 1
btnRedeemCouponClick: function(e) {
e.preventDefault();

var params = {
action: 'redeem_coupon',
coupon_redeem_code: $('coupon_redeem_code').value
};
params = $merge(params, this.paymentParams);

this.sendRequest(params, function(response) {
alert(response);
var result = JSON.decode(response);


if (result.success == true) {
this.loadPaymentInformationForm(result.form);

this.isTotalZero = result.isTotalZero;
} else {
alert(result.errors);
}
});
},

Is it true? did I add code as above ?
After adding code and deleting cache, the bug is the same. Please tell me more detail.

if
chayote
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/06/27 20:58 By chayote.
The administrator has disabled public write access.
 
Go to top Page: 1

Latest Blog Post

TomatoCart v1.1.7 to v1.1.8 Upgrade Guide!

The upgrade guide is a step-by-step tutorial to help users to upgrade TomatoCart v1.1.7 to v1.1.8. If you have not yet updated to v1.1.7, please review its upgrade guide before applying these changes. [...]

By TomatoCart | august 21, 2012

contact_us

info@tomatocart.com
partner@tomatocart.com
Facebook Google+ Linkedin Twitter

Newsletter Subscription