 |
Page 1 of 1
|
Author |
Message |
sdcleaver
Newbie
Joined: 25 Feb 2004
Posts: 1
|
 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
|
Wed Feb 25, 04 9:36 pm |
|
 |
milehightrader
Guest
|
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...
|
Mon Mar 01, 04 7:47 pm |
|
 |
|
The time now is Sun Apr 27, 25 8:21 am | All times are GMT - 7 Hours
|
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
|
|
|