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
Custom Shipping Logic and USPS API. Help meeded
Author Message
Reply with quote
Post Custom Shipping Logic and USPS API. Help meeded 
Hi I am searching in this forum for days, and can not find the answer to my problem.
Any help is appreciated.

I need to use combination of Custom and USPS API.
if the order weight is <.5 I want to charge 1.99
anything else need to be from API.
my custom logic is
@sc_shipping_logic = ( "USPS Priority Mail (Priority)||-.2||1.19");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);

settings are:
In what loop of calculate_final_values do you wish to calculate the shipping? 3
Handling Charge Type: Flat Rate
Add handling Charge if shipping total is Zero? yes
Use Alternate Origins? no
Use the custom shipping logic? yes
When to run custom shipping logic? before
If using Custom Logic, is shipping measured by weight? yes

How Many Custom Shipping Methods Do You Need? 1
Use the Live/Real-Time SBW (Ship By Weight for UPS/USPS) module yes
Allow Shipments via which services?
USPS: yes UPS (non-XML): no


also, if I add new name to custom logic and add it to the order form, what would happen if customer selects this option and criteria does not qualify?

Thank you in advance.

View user's profile Send private message
Reply with quote
Post  
Try running the custom shipping logic "After".

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