If this is your first visit, check our documentation. To post, register or login.

Maximum Gift Certificate Amount

Locked

Started by hamed on 30 Sep 2006, 9:08 PM · Views: 5,170

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
30 Sep 2006, 9:08 PM
#1
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #1 by hamed

Hello everyone. I am really in problem with GC amounts. As it seems, there is a maximum GC amount which doesn't let you send gc's more than 10,000 and any amount given more than that, appears as 10,000 . Ofcourse more than $10,000 is a little bit strange gift but as I use another currency, this amount means nothing. So I would like to ask if there is a maximum gc amount and if there is a way to modify it. I hope some one could help me.
Happy Zenning.

30 Sep 2006, 9:24 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

The settings on the tables coupon coupon_customer_gv and coupon_gv_queue for the amount is decimal(8,4) ...

These limitations could be causing you issues ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 12:53 PM
#3
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #3 by hamed

I changed the values (8,4) but nothing solved. could you please check it yourself and let me know if you come with a conclusion?

1 Oct 2006, 1:04 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

In the Admin Tools ... Insert SQL Patch ... run this:

ALTER TABLE coupons CHANGE coupon_minimum_order coupon_minimum_order DECIMAL( 15, 4 ) NOT NULL DEFAULT '0.0000';
ALTER TABLE coupon_gv_customer CHANGE amount amount DECIMAL( 15, 4 ) NOT NULL DEFAULT '0.0000';
ALTER TABLE coupon_gv_queue CHANGE amount amount DECIMAL( 15, 4 ) NOT NULL DEFAULT '0.0000';

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 2:57 PM
#5
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #5 by hamed

Tried what you said (changed both values to (15,4) ). But still not working for more than 10,000 . :schmoll:
I really hope we find a way soon. If anyone finds a solution, let us know.

1 Oct 2006, 3:00 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #6 by ajeh

What are your currency settings?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 3:06 PM
#7
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #7 by hamed

I use IRR (Iranian Rials) as my default currency and below you can see a screenshot which shows the settings.

1 Oct 2006, 3:11 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #8 by ajeh

I tested this on mine and sent a GV for 100,000.00 and that is working great ...

What version of Zen Cart are you using?

Clean install or an upgrade? If an upgrade from what version to what version and how did you upgrade your site?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 3:16 PM
#9
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #9 by hamed

I'm using version 1.3.5 and it is a clean install. The problem is surely with the currency. specially after I updated currency rates. before updating, I used to calculate amount with $ and assign them in $ but the amount would appear in default currency (IRR). But after update, any amount assigned, appeared in IRR. so I had to assign the exact IRR amount which exceeded 10,000 and then the problem occured.

1 Oct 2006, 3:18 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #10 by ajeh

Have you an URL to your site?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 3:19 PM
#11
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #11 by hamed

It is in beta phase, so I run it in my own computer (localhost) to test and then publish.

1 Oct 2006, 3:21 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #12 by ajeh

That makes it really hard to test this ... :cry:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 3:23 PM
#13
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #13 by hamed

I'm gonna upload it today. So, I will let you know. I hope we finally meet a solution.

1 Oct 2006, 5:18 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #14 by ajeh

Also add this change, I forgot 1 ...

ALTER TABLE coupons CHANGE coupon_amount coupon_amount DECIMAL( 15, 4 ) NOT NULL DEFAULT '0.0000';

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 5:32 PM
#15
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #15 by hamed

woooooooooow. :yes:
It just worked great. Thanx. You're such a great man. :wink2:
Great contribution.

1 Oct 2006, 5:33 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #16 by ajeh

Woman ... that's great woman ... :smartass:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 5:38 PM
#17
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #17 by hamed

Sorry :blush: . Such a great woman.

1 Oct 2006, 5:50 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #18 by ajeh

Note: these fields will be updated in the next release for others with currencies similar to your's that may run across issues such as this ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 8:52 PM
#19
hamed avatar

hamed

New Zenner

Join Date:
Sep 2006
Location:
Tabriz, Iran
Posts:
10
Plugin Contributions:
0

Post #19 by hamed

Happy to be a part of issues. Happier to be a part of solved issues. Most happy to be a part of next release.
:smartass: