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
This topic is locked: you cannot edit posts or make replies. Page 1 of 1
I need one flat rate, one priority mail charge
Author Message
Reply with quote
Post I need one flat rate, one priority mail charge 
Most of my items ate lightweight so I want a simple flat rate charge. I also want priority mail small box charge for people who want faster more secure delivery. I've searched but cannot find. How do I set this up? Thanks.

View user's profile Send private message
Reply with quote
Post  
Just put something like this in your custom shipping logic:
Code:

# 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 = ( "Flat Rate Ground|0.01-|||4.50",
                       "Flat Rate Priority|0.01-|||7.50");
#
$shipping_price = &calculate_shipping($temp_total,
                  $total_quantity, $total_measured_quantity);


And then make sure those choices (Flat Rate Ground and Flat Rate Priority) are on your order form for people to choose. Make sure you say 'yes' to use custom shipping logic. Change the $4.50 and $7.50 prices to what you want them to be.

View user's profile Send private message
Reply with quote
Post  
thanks but that didn't work. I show no shipping charge all. The only thing I can get to wotk is handling charge.

Can you tell me everything i need to check/uncheck on the shipping page? Is there anything special I need to input when i add an item?

View user's profile Send private message
Reply with quote
Post  
Besides adding it to the custom shipping logic and then enabling it, did you add those options to your order form?

What is your site?

View user's profile Send private message
Reply with quote
Post  
the options show up when I check out but no shipping is added, and i get an erro on one module.
http://www.audiocdmasters.com/store52/agora.cgi

thanks!

View user's profile Send private message
Reply with quote
Post  
dave777,
On your order form, I am seeing the following shipping options:
[code]<OPTION value="First Class Mail">
</option>
<OPTION value="Priority mail">
</option>
<option value="USPS Priority Mail (Priority)">
USPS Priority Mail (3-7 days)</option> [code]

What do you have, exactly, for the custom shipping logic in the Shipping Settings manager?
Have you defined any custom shipping methods? If so, what have you set up?

If you are using a custom shipping logic what are you wanting the shipping charges based on, weight?
If so you need to make sure that the "If using Custom Logic, is shipping measured by weight?" setting is set to "YES"

See, the shipping methods defined in the custom shipping logic MUST match the shipping method values on the order form and vise versa...


_________________
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  
So what scottcrew is saying, is if you put in what I gave you for custom shipping, your order form needs to change from:

Code:
<select name="Ecom_ShipTo_Method">
<option value=""> Select Shipping Method </option>

<OPTION value="First Class Mail">
      </option>
<OPTION value="Priority mail">

      </option>
<option value="USPS Priority Mail (Priority)">
USPS Priority Mail (3-7 days)</option>
</select>


To:

Code:
<select name="Ecom_ShipTo_Method">
<option value=""> Select Shipping Method </option>

<OPTION value="Flat Rate Ground">Flat Rate Ground (3-5 days)
      </option>
<OPTION value="Flat Rate Priority">Flat Rate Priority (2-3 days)
      </option>
</select>


And if you wanted a default shipping method, make that be the first one like:

Code:
<select name="Ecom_ShipTo_Method">
<OPTION value="Flat Rate Ground">Flat Rate Ground (3-5 days)
      </option>
<OPTION value="Flat Rate Priority">Flat Rate Priority (2-3 days)
      </option>
</select>


Then Flat Rate Ground would be already selected unless they select the other choice.

View user's profile Send private message
Reply with quote
Post  
That is what I am saying...
However, the changes need to be made in the Shipping Settings Manager
since those custom shipping methods get generated from there.


_________________
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 do not want to ship by weight or price, i want to ship all orders first class (my flat rate) $3.00. and I want the customer to have the option of priority mail ($6.25) if they want more security. I'm sorry but all the options are mind boggling to me on this cart.

View user's profile Send private message
Reply with quote
Post  
The options are kinda the beauty of AgoraCart. It is one of the most customizable shopping cart systems out there...

Well, here's simple way to do this:
In the Shipping Settings manager, under the Custom Shipping Logic Section,
Set "Use the custom shipping logic?" to "YES"
Set "When to run custom shipping logic?" to "before"
Set "If using Custom Logic, is shipping measured by weight?" to "No"

In the Custom Shipping Logic box put:
Code:
@sc_shipping_logic = ( "Standard||1-||3.00",
                       "Priority||1-||6.25");
#
$shipping_price = &calculate_shipping($temp_total,
                  $total_quantity, $total_measured_quantity);


Under Custom Shipping Methods Section, set up the following methods:
Method Name: Standard Name for Drop-down Lists: First Class
Method Name: Priority Name for Drop-down Lists: Priority

Set "Use the Live/Real-Time SBW (Ship By Weight for UPS/USPS) module?" to "NO"

Make sure that all of the shipping methods offered in the USPS and UPS settings are set to "NO".
If those are not set to "NO", they will show up as shipping method choices on your order form.

Let me know how it goes...


_________________
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 works! wow - thanks for all the detailed help! You made my week!
Thanks again!
Dave

View user's profile Send private message
Display posts from previous:
This topic is locked: you cannot edit posts or make replies. 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