The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Shipping price does not change based on shipping method
Author Message
Reply with quote
Post Shipping price does not change based on shipping method 
I am using agora cart on my website. I currently have 2 forms of shipment the customer can choose, UPS Ground Residential and UPS 2nd Day. The cart displays the same shipment price for both methods of shipment. Does anyone have any suggestions to calculate shipment based on the shipping method. Thanks.

Meauxad

View user's profile Send private message
Reply with quote
Post  
Meauxad,
How are you currently trying to calculate your shipping? Are you using the SBW?
What are your settings in the Shipping Settings area of the manager?


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
I am using the Custom Shipping Logic section. I answered yes to the first question and no to the second. This is how I have it setup:

@sc_shipping_logic = ( "|1-29.99|||35.0%",
"|30-59.99|||23.5%",
"|60-89.99|||17.0%",
"|90-149.99|||12.5%",
"|150-|||0.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);

I am not using the SBW. My site is www.xtremecaps.com . Thanks.

Meauxad



Last edited by meauxad on Thu Jun 16, 05 2:01 pm; edited 1 time in total
View user's profile Send private message
Reply with quote
Post  
You have to set up the shipping method in the logic.
Something like this:
Code:

@sc_shipping_logic = ( "GNDRES|1-29.99|||35.0%",
                       "GNDRES|30-59.99|||23.5%",
                       "GNDRES|60-89.99|||17.0%",
                       "GNDRES|90-149.99|||12.5%",
                       "GNDRES|150-|||0.00",
                       "2DA|1-29.99|||50.0%",
                       "2DA|30-59.99|||40.5%",
                       "2DA|60-89.99|||30.0%",
                       "2DA|90-149.99|||20.5%",
                       "2DA|150-|||0.00");
#
$shipping_price = &calculate_shipping($temp_total,
                  $total_quantity, $total_measured_quantity);


HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post It worked 
That worked. I really appreciate your help with this. Where did you get that information from? Thanks again.

Meauxad

View user's profile Send private message
Reply with quote
Post  
Experience.. mostly...
There's lots of info found in the protected/DOCS directory of the store, too.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
I ran into a similar problem and just wanted to post the solution that i found. If you are looking for the abbreviations for shipping methods, just look at 2Checkout-orderform.html under the forms/ directory. You will see code similar to this:

<SELECT NAME="Ecom_ShipTo_Method">
<OPTION VALUE="UPS Ground (GNDRES)" CHECKED>
UPS Ground</OPTION>
<OPTION VALUE="UPS 2nd Day (2DA)">
UPS 2nd Day</OPTION>
<OPTION VALUE="UPS Next Day (1DA)">
UPS Next Day</OPTION>
<OPTION VALUE="FEDEX Priority Overnight (Express,Priority Overnight)">
FedEx Priority Overnight</OPTION>
<OPTION VALUE="FEDEX Express (Express,Express Saver)">
FedEx Express Saver</OPTION>
<OPTION VALUE="FEDEX Ground (Ground,Ground)">
FedEx Ground</OPTION>
<OPTION VALUE="FEDEX Home Delivery (Home,Home)">
FedEx Home Delivery</OPTION>
<OPTION VALUE="USPS Parcel Post (Parcel)">
USPS Parcel Post</OPTION>
<OPTION VALUE="USPS Priority Mail (Priority)">
USPS Priority Mail</OPTION>
<OPTION VALUE="USPS Express Mail (Express)">
USPS Express Mail</OPTION>
</SELECT>

All the shipping methods are listed inside of the parenthesis ( ).
For example, if you want to calculate the shipping for USPS parcel and priority mail, you would enter code similar to the following in the Custom Shipping Logic section:

@sc_shipping_logic = (Parcel "|1-39.99|||15.0%",
"Parcel|40-59.99|||12.0%",
"Parcel|60-89.99|||9.0%",
"Priority|1-39.99|||19.0%",
"Priority|40-59.99|||15.0%",
"Priority|60-89.99|||12.0%");

Cheers
Ahmed

View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Reply with quote
Post  
Ahmed,
You can only use those if the SBW is turned off in the shipping settings of the manager. If you don't, the cart will try to access the UPS or USPS API, which may throw errors or not calculate as you want it to.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Thx for the clarification, forgot to mention that key point in my post.

cheers
Ahmed

View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:
Reply to topic 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