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 Fees for Dollar Amounts
Author Message
Reply with quote
Post Shipping Fees for Dollar Amounts 
My shipping fees are based on dollar amounts, eg: $0 - $50.00 = $4.95 and so on. How do I set up my cart this way instead of by weight or percentage? If there is code necessary to do this, what is the code and where does the code go?

Thx!
Jules

View user's profile Send private message Send e-mail
Reply with quote
Post  
Jules,
You can easily do that in the custom shipping logic area of the Shipping Settings in the manager.
Something like:
Code:

@sc_shipping_logic = ( "|1-29.99|||4.95",
                       "|30-59.99|||6.95",
                       "|60-89.99|||10.95",
                       "|90-119.99|||12.95",
                       "|120-|||21.95");

The default example code is pretty much what you're looking for...

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 Re: Shipping Fees for Dollar Amounts 
Thanks Scott!! You're fast

How would I add that orders over $150.00 are 10%?
And how do I add the following "Rush Shipping"?
3 days add $25.00
2 days add $40.00
Overnight add $55.00

Thx!
Jules

View user's profile Send private message Send e-mail
Reply with quote
Post  
Jules,
For the percentage, you could do something like:
Code:
@sc_shipping_logic = ( "|1-29.99|||4.95",
                       "|30-59.99|||6.95",
                       "|60-89.99|||10.95",
                       "|90-119.99|||12.95",
                       "|120-149.99|||21.95",
                       "|150-|||10%");


Here's a way you might be able to do the "Rush Shipping":
Setup the shipping options in the order form: Ground, 3Day, 2Day, & Overnight:
Code:
@sc_shipping_logic = ( "|1-29.99|||4.95",
                       "Ground|30-59.99|||6.95",
                       "Ground|60-89.99|||10.95",
                       "Ground|90-119.99|||12.95",
                       "Ground|120-149.99|||21.95",
                       "Ground|150-|||10%",
                       "3Day|1-29.99|||29.95",
                       "3Day|30-59.99|||31.95",
                       "2Day|60-89.99|||50.95",
                       "2Day|90-119.99|||52.95",
                       "Overnight|120-149.99|||76.95",
                       "Ground|150-|||10%");

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 Shipping Fees for Dollar Amounts 
Thank you Bonnie. This was working great, but when I used the code that includes ground, 2 day, overnight, etc. my cart doesn't add shipping anymore. What am I doing wrong?

View user's profile Send private message Send e-mail
Reply with quote
Post  
Did you set up those shipping options in the order form?
What is the URL to your store?


_________________
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 Shipping Fees for Dolalr Amounts 
No I didn;t, how do you do that? www.thewoodkins.com

View user's profile Send private message Send e-mail
Reply with quote
Post  
You need to edit the AuthorizeNet-orderform.html file in the 'html/forms' directory.

When I visited your site, I noticed that you had "hard coded' the cart_id into the links that go to the store, on pages that are outside the store. You should NEVER include the cart_id in a link to the store.
If you do, EVERYONE will have the SAME shopping basket, which then poses a security risk.

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 Shipping fees for Dollar Amounts 
I don't know how to edit the Authorize.Net-orderform.html or where the html/forms directory is.

I don't know what you mean that the cart is hard coded or how to fix it.

View user's profile Send private message Send e-mail
Reply with quote
Post  
If you FTP intp your server, it should be somewhere like:
public_html/woodstore/html/forms

Download the file you your local compute and edit the file in a plain html editor.
Then re-upload the file to the server in ASCII mode.

Hardcoded means that you put the link on the page. The cart_id was included in a link on the 'store.html' page that you have set up on your site.
I am seeing one hardcoded for the Animals link.

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
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