 |
Page 1 of 1
|
Author |
Message |
metal_cd
Newbie
Joined: 01 Sep 2005
Posts: 7
|
 USPS Shipping Charges Always The Same
I have my cart setup to use USPS and when I checkout it always just uses the amount as it is in the product entry. When someone selects Priority or Express should it add an amount or does this need to be configured separately?
|
Tue Mar 10, 09 11:26 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Did you set up the Shipping settings manager?
Also, you need to register with USPS to use their web tools.
If you haven't done that, you will need to:
https://secure.shippingapis.com/registration/
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Wed Mar 11, 09 6:21 am |
 |
 |
metal_cd
Newbie
Joined: 01 Sep 2005
Posts: 7
|
Thanks.
Yes, in the shipping settings I had selected all of the USPS options.
I did not choose to have it compute by weight though. Will I still need a USPS account?
ie. In order to have it have a flat rate for parcel, priority, express. or have X amount flat rate then add X for priority and then X for express? Don't know, thanks for the help.
|
Sat Mar 14, 09 3:41 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
To use USPS, you need to use the USPS rate calculator and it would be calculated by weight.
Also, you need to register with USPS to use their web tools.
To do a flat rate shipping based on method, you will need to use the custom shipping logic.
There is documentation on custom shipping logic in the 'protected/DICS' directory of the store's directory on your server.
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Sat Mar 14, 09 5:48 pm |
 |
 |
bluedragonfly
Newbie
Joined: 25 Apr 2009
Posts: 5
|
I'm sorry, I've been trying to figure this out, and I'm just not getting it. Here is the logic I'm using
@sc_shipping_logic = ( "|1-49.99|||20.0%",
"|50-99.99|||10.0%",
"|100-500|||5.0%");
Like metal_cd was saying, no matter what shipping method you choose, it always charges the same amount. I don't want to use the USPS tool because I don't do my shipping by weight. I would like to be able to have a flat rate added for each upgrade in shipping. For example, if they chose priority mail, I'd like to add $5.00. Is this possible?
|
Tue Apr 28, 09 1:43 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
What is the URL to your store?
Also, what, exactly, do you have in your custom shipping logic?
I need to see EVERYTHING that is in the Custom Shipping Logic box.
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Tue Apr 28, 09 2:21 pm |
 |
 |
bluedragonfly
Newbie
Joined: 25 Apr 2009
Posts: 5
|
www.thebluedragonflyshop.com/tbdstore/agora.cgi
# In this example Shipping Cost is based on the total order.
# $1-$29.99 is 10%, $30-$59.99 is 7.5%, etc. (TURN OFF UPS!)
# Code does not force exit, so handling charge will be added!
@sc_shipping_logic = ( "|1-49.99|||20.0%",
"|50-99.99|||10.0%",
"|100-500|||5.0%");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
|
Tue Apr 28, 09 4:11 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Your shopping cart is calculating the shipping exactly as you have it coded...
There are custom shipping logic examples that employ a shipping method at:
http://www.agoraguide.com/faq/viewtopic.php?p=23079#23079
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Tue Apr 28, 09 4:27 pm |
 |
 |
bluedragonfly
Newbie
Joined: 25 Apr 2009
Posts: 5
|
I'm still not sure I'm following, but would this work?
@sc_shipping_logic = (
"usps|1-49.99|||20.0%",
"usps|50-99.99|||10.0%",
"usps|100-500|||5.0%");
"usps priority|1-49.99|||25.0%",
"usps priority|50-99.99|||15.0%",
"usps priority|100-500|||10.0%");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
|
Tue Apr 28, 09 5:12 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Nope, there are a few coding errors...
Try this code:
Code:@sc_shipping_logic = (
"usps|-49.99|||20.0%",
"usps|50.00-99.99|||10.0%",
"usps|100.00-500.00|||5.0%",
"usps priority|-49.99|||25.0%",
"usps priority|50.00-99.99|||15.0%",
"usps priority|100.00-500.00|||10.0%");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
BTW, what happens to the shipping on orders above $500.00?
According to the shipping logic, they would get free shipping...
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Wed Apr 29, 09 5:53 am |
 |
 |
|
The time now is Sat Apr 26, 25 11:49 am | All times are GMT - 7 Hours
|
Page 1 of 1
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|