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 SBW Module
Author Message
Reply with quote
Post Custom SBW Module 
Hi,

There doesn't seem to be a lot of doc on customising shipping or on the logic.

I am in Australia and need to use Australia Post to ship everywhere. I get heaps of international orders. They have provided me with some instructions to use their calculation tool and it seems that the best option would be via a http post. Other choses include asp, php, and cold fusion so that limits me to the http post option I think.

I send them in a http post - weight, no of parcels, lodge postcode, destination post code (Aust. only), country and type of service (express, normal etc.)

The result come back in this format:

charge=8.4
days=2
err_msg=OK

What I want to know is can I just create a custom logic to do this or would I have to set up my own SBW module? If SBW then where does the code for Fedex etc. live and do you think I could mod it to use the Aust. Post method?

I have the documentation from the company if anyone is interested. At the moment we are just getting back to people with a quote.

Thanks

Seth


_________________
----------------
Seth
View user's profile Send private message
Reply with quote
Post  
I found the following about Australian shipping.

REPOST:
Quote:
From: "peter_tresidder"
Date: Thu, 22 May 2003 05:16:15 -0000
Subject: [AgoraCart] Re: Getting Shipping by Weight to work

Hi,
The following is an example of Australian freight rates I use.
The first example(Example A) on one cart is for goods shipped within
Australia in Australian $
The second example (Example B) on another cart is The Australian
Airmail rate for charging zone 4 for sending goods to the USA etc.
converted to US$ at 065 exchange rate
The weight is in grams as per Australian post rates.
The weights are added to your database in column 7 (excel or
similar spreadsheet)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#Example (A)
# In this example Shipping Cost is based on the total order.
# turn on Custom shipping logic and (TURN OFF UPS!)
# the following in AUD for local Australian parcel postage shipping
plus $2.35 registration

@sc_shipping_logic = ( "|||0-250|5.35",
"|||251-500|6.35",
"|||501-1000|10.80",
"|||1001-2000|12.25",
"|||2001-3000|13.70",
"|||3001-4000|15.15",
"|||4001-5000|16.60",
"|||5001-6000|18.05",
"|||6001-|19.50", );
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

#Example (B)
#This is worked out on Australian Post office airmail shipping rates
# to the USA and worldwide, you add the weights for each product to
the database in column no 7
# Code does not force exit, so handling charge will be added!
#The following is in USD at .65 exchange rate
@sc_shipping_logic = ( "|||0-250|4.55",
"|||251-500|7.80",
"|||501-750|11.05",
"|||751-1000|14.30",
"|||1001-1250|17.55",
"|||1251-1500|20.08",
"|||1501-1750|24.05",
"|||1751-2000|27.30",
"|||2001-2500|31.20",
"|||2501-3000|35.10",
"|||3001-3500|39.00",
"|||3501-4000|42.90",
"|||4001-4500|46.80",
"|||4501-5000|50.70",
"|||5001-5500|54.60",
"|||5501-6000|58.50",
"|||6001-|62.40", );
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x

--- In agora2@yahoogroups.com, "darenhawes" <daren@w...> wrote:
> Hi I am in Australia and need to know a code example that I can
> place into my shipping logic field.
>
> Please provide code that will allow me to do shipping based on
> weight.
>
> Thanks Daren
>
> PS I have looked in the other messages, but no one of them helps...


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