 |
Page 1 of 1
|
Author |
Message |
jonathan hayton
Guest
|
 change price per product dependent on destination
I want to change the shipping to be able to charge a shipping price per product dependent on destination.
So it would mean that if there was 5 products in the cart and the person wanted metro area shipping a certain price would be added to each product, But if they wanted country wide shipping then a different price would be added to each product.
Can anyone help me please
|
Thu Nov 18, 04 5:56 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
You might want to check out the shipping logic examples at:
http://www.agoracart.com/addon_shiplogic.htm
If shipping by UPS or USPS, why not use the SBW module and ship based on the weight of the product?
HTH!~
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Fri Nov 19, 04 5:08 am |
 |
 |
jonathan hayton
Guest
|
I have already looked at the shipping logic addon page but I cant find one that matches what I'm after. The product I'm shipping is hampers which are all different weights and we're not using ups shipping we're using an Australian company.
Is it possible to write your own shipping logic?
|
Sat Nov 20, 04 3:58 am |
|
 |
milehightrader
Guest
|
Here is a re-post of some Australian custom shipping logic based on weight and postal pricing. Maybe you can adapt it to your needs.
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);
|
Sat Nov 20, 04 8:09 am |
|
 |
|
The time now is Fri May 09, 25 12:13 pm | 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
|
|
|