Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Adding gift certificates calculates wrong shipping

Adding gift certificates calculates wrong shipping

Locked

Views: 4,856

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
9 Feb 2007, 8:56 PM
#1
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Adding gift certificates calculates wrong shipping

When I purchase a GC on its own, the shipping is free. But when I add other products that has shipping charges, the shipping is calculated based on the total including GC. For example, I buy a sample product for $2, and I buy a GC worth $30. The shipping is $4.50. It should be $2. I have table rate shipping. I followed the tutorial to set up the GC, so I know it's set up correctly.

I found 2 threads with the same problem, and I tried to edit a few things like changing the GC to be always free shipping, but it's not working correctly.

I upgraded from 1.3.6 to 1.3.7. I can't remember if it worked correctly before the upgrade or not. My store is not live yet.

http://www.ktnaturals.com/catalog

9 Feb 2007, 9:27 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

Since this was an upgrade - try this first. Uninstall all of your payment, shipping and order totals modules. ( be sure you have the settings used written down)

Close your browser.

Count to 10

Reopen your browser, go to the Admin and install your payment, shipping and order totals modules. Do not install any modules that you are not going to use.

13 Feb 2007, 8:54 PM
#3
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

I just did this, and it didn't fix it. :( Anything else I can try?

14 Feb 2007, 12:03 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Adding gift certificates calculates wrong shipping

Gift Certificates should be setup as:

1 Product is Virtual YES

2 Product Model starts with: GIFTanything_else_here

What shipping modules are you using?

14 Feb 2007, 1:13 AM
#5
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

The product is set up correctly. I'm using table rate (based on price) and free shipping options (free shipping on orders over $50).

14 Feb 2007, 1:25 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Adding gift certificates calculates wrong shipping

Go to the Modules ... Shipping ...

Copy your settings to NotePad and click on each and click Remove ... Install ... and Configure them again ...

14 Feb 2007, 1:48 AM
#7
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

Did that... still not calculating correctly. :cry:

15 Feb 2007, 2:42 AM
#8
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

It's still broke! I removed free shipping option, removed all the modules, replaced module files and template files, and tried to set it up as a product w/ free shipping. Nothing is working. Help!

15 Feb 2007, 2:56 AM
#9
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

After playing around, it seems as though whatever shipping module I choose, it miscalculates shipping if there's a free shipping product in the cart, virtual or not. Did I not configure something correctly? So far, I tried table rate and flat rate shipping (enabling only one or the other).

14 May 2007, 4:15 AM
#10
aeolidia avatar

aeolidia

Zen Follower

Join Date:
Mar 2005
Posts:
166
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

I am having this same problem on a 1.3.7 site.

Gift certificates should be free shipping, and they are when they're the only thing in your cart.

However, when a non-virtual item is added to the cart, the price of the gift certificate is added into the order total when shipping is calculated, making the gift certificate no longer truly free shipping.

We are charging shipping using the Zone Rates, by price (total order cost). Is there any way to set this so free shipping items are deducted from the order total before the shipping is calculated?

Thanks in advance!

14 May 2007, 4:46 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Adding gift certificates calculates wrong shipping

What are your settings in Admin->Modules->Order Total->Gift Certificates?

14 May 2007, 5:06 AM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Adding gift certificates calculates wrong shipping

Check that you have the current Zone Rate:
/includes/modules/shipping/zones.php

  • @version $Id: zones.php 4805 2006-10-22 02:32:33Z ajeh $

I am not able to reproduce this with Zones set to Price

14 May 2007, 7:13 AM
#13
aeolidia avatar

aeolidia

Zen Follower

Join Date:
Mar 2005
Posts:
166
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

Yep, * @version $Id: zones.php 4805 2006-10-22 02:32:33Z ajeh $

Under Order Total > Gift Certificates, I have the default of:

This module is installed
true

Sort Order
840 (second to last sort order before Total)

Queue Purchases
true

Include Shipping
true

Include Tax
true

Re-calculate Tax
None

Tax Class
--none--

Credit including Tax
false

Set Order Status
default

Should I make any changes to this?

14 May 2007, 1:01 PM
#14
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

Hello
just find out in reading this post that I have the same problem !!!!

My setting in Order Total>>Gifts Certificates are as the default one (same as posted above by aeolidia).

I am charging shipping using the Zone Rates, by item/s

Thanks
Mario

Using Zen-cart 1.3.7

14 May 2007, 1:16 PM
#15
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

If I remember correctly, this thread solved the problem. Try Ajeh's fix in posts #8 and 10.

http://www.zen-cart.com/forum/showthread.php?t=58504

HTH!

14 May 2007, 1:59 PM
#16
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

KTNaturals:

If I remember correctly, this thread solved the problem. Try Ajeh's fix in posts #8 and 10.

http://www.zen-cart.com/forum/showthread.php?t=58504

HTH!

Thanks for the link but I got a problem:

I can see the line // bottom total

but I don't have the line
} // eof: attribute price

So no idea what I have to replace.

thanks
Mario

14 May 2007, 8:24 PM
#17
aeolidia avatar

aeolidia

Zen Follower

Join Date:
Mar 2005
Posts:
166
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

Thank you, this worked for me, because our gift certificates were priced by attribute.

Mario, I didn't have that line either, but I replaced all the text up until the line:

// adjust for downloads

and that worked fine.

14 May 2007, 9:32 PM
#18
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Re: Adding gift certificates calculates wrong shipping

aeolidia:

Thank you, this worked for me, because our gift certificates were priced by attribute.

Mario, I didn't have that line either, but I replaced all the text up until the line:

// adjust for downloads



Thanks a lot for the advise it worked for me too now.

Mario