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 by weight question
Author Message
Reply with quote
Post shipping by weight question 
Hello. I am new at the shopping cart and don't completely understand the shipping settings. I want to charge my shipping based solely by weight. The amounts are less than 21 lbs = $10, 21lbs - 41 lbs = $15, and more than 41 lbs = $20. I have one item that is a gift certificate and has a shipping charge of $3 regardless of its weight and amount purchased. I was wondering if you could tell me what I need to put in the Custom Shipping Logic section?

Also I want to only ship by USPS. What is the username and password that it is asking for, and where do I go to register?

Thanks in advance. I really appreciate your help.

View user's profile Send private message
Reply with quote
Post  
For the custom shipping logic, you won't need the USPS username (the password is no longer required by USPS anymore, anyway). You will also need to turn off the SBW module.
For your gift certificate, just add a hidden option that includes the shipping charge, something like:
Code:

<input type=hidden name="option|100|%%PRODUCT_ID%%" value="Gift Certificate Shipping|3.00">

For the weight of the gift certificate, just put "0" in the shipping field of the database.

Then, answer "yes" to the following questions:
Use the custom shipping logic?
If using Custom Logic, is shipping measured by weight?

In the custom shipping logic box put:
Code:

@sc_shipping_logic = ( "|||.001-21.000|10.00",
                       "|||21.001-41.000|15.00",
                       "|||41.001-|20.00");

$shipping_price = &calculate_shipping($temp_total,
                 $total_quantity, $total_measured_quantity);

If you use only 1 shipping method then you could just put a hidden field in the order form , something like:
Code:

<input type=hidden name="Ecom_ShipTo_Method" value="Standard Shipping">


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  
Where would I put this hidden text tag in the order form? Also where does the gift certificate hidden tag go? I am not that familiar with coding.

Thanks for all of your help I really appreciate it.

View user's profile Send private message
Reply with quote
Post  
What gift certificate hidden tag???

For the shipping just replace all of the shipping method html code in the order form with the code I gave you above.

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  
Thank you for your help..... One more question... What is the file name for the order form that I need to change the html in. If I am using the offline payment setup...is it the offline-orderform.html located in the forms folder that I need to add the hidden tags to?

View user's profile Send private message
Reply with quote
Post  
Yep, that's the one...


_________________
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