Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Shipping Implementation



******    message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net>     ******

Russ Mann schrieb:
> 
> ******    message to minivend-users from "Russ Mann" <tech@khouse.org>     ******
> 
> Hello List,
> 
> Using MV 3.14 I need to implement a shipping routine, and after reading the
> documentation, I'm not clear on how to do it.
> 
> Here is what my shipping schedule needs to come out as.  Different countries
> have different costs.
> 
> United States:  up to $10.00=$2.50
>                         up to $15.00=$3.50
>                         up to $50.00=$4.50
>                         up to $100.00=$6.00
>                         up to $150.00=$7.50
>                         up to $200.00=$9.00
>                         max is $10.50
> 
> Canada:         up to $10=$3.00
>                         $10-$15=$4.00
>                         $15-$30=$5.00
>                         $30-$50=$5.50
>                         $50-$100=$6.50
>                         $100-$150=$8.50
>                         $150-$200=$9.00
>                         $200+ = $10.50
>                         2 day shipping = additional $5.00
> 
> Britian:        UK 1st Class    UK 2nd Class    Europe
> Up to $10       $3.20                   $0.80                   $2.40
> Up to $20       $4.00                   $1.60                   $3.20
> Up to $30       $4.80                   $2.40                   $4.00
> Up to $60       $9.60                   $4.40                   $8.00
> Up to $100      $12.80          $6.40                   $9.60
> Up to $150      $19.20          $9.60                   $15.20
> Up to $200      $25.60          $12.80          $19.20
> 
> Australia:              up to $8.50=$3
>                         $9.50-$30=$4
>                         $31-$60=$6
>                         $61+=$7
> 
> Does anyone know how I can implement this with Minivend?  Can you point me
> in the right direction?

Look into the file 

products/shipping.asc
products/country.asc
and read the docu. (Hint: change weight to price .....)
For example (not tested):

country.asc:
code	selector	shipmodes	name
UK	UK	air_E surf_E	United Kingdom
.
.

new country.asc:
code	selector	shipmodes	name
UK	UK	FirstC SecondC Europe	United Kingdom
                    ^^^^^^^^^^^^
                    no tabs
.
.


shipping.asc:
code	description	criteria	min	max	formula
surf_E	Int'l Surface E	weight	0	0	e Nothing to ship!
surf_E	Int'l Surface E	weight	0	100	f 14 + @@TOTAL@@ * 6
surf_E	Int'l Surface E	weight	100	999999	e @@TOTAL@@ lbs too heavy.
Charter a boat.

air_E	Int'l Air E	weight	0	0	e Nothing to ship!
air_E	Int'l Air E	weight	0	100	f 16 + @@TOTAL@@ * 6.5
air_E	Int'l Air E	weight	100	999999	e 

new shipping.asc:
code	description	criteria	min	max	formula
FirstC	First Class	price	0	10	@@TOTAL@@ + 3.20
etc...

Joachim

BTW: Did you search for any answer from the mailarchiv?

-- 
-------------Hans-Joachim Leidinger---------------------
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: