Mailing List Archive

Re: minivend shipping
luis wrote:
>
> based on the page you authored
> (http://www.morpheux.org/minivend/shipd/shipd.html) it seems that you are
> quite knowledgeable about the way minivend shipping works. i have a
> question regarding minivend shipping i hoped you could answer. how can i
> implement 3 static shipping options? i want a user to select from 3
> choices that will never change.
>
> any help is appreciated.
>
> luis

Thank you but anyone resonably conversant with minvend/interchange could answer
your question.

The first step is to ask your customer what s/he want to ship with.
The where s/he want to ship to.

Cavat :
I assume by three options you mean three ways of getting your package to country
X; not three global destinations.

In this case there are three ways of doing it.

First
-----

In your shipping.asc file run the usual "-f" flag and use a "Static" form
variable ( i.e. a pull down list) to decide between the three options and return
the shipping method/cost. Remeber you can alwasy call upon external subroutines.

Secound
-------

Contruct your shipping.asc file so that the country codes are appended with a
code decribing your shipping method. Your web page appends the shipping
detination to your method code and returns that value to the mv_shipmode, then
look it up in your shipping.asc file.

Third
-----

Simular to 1 but hard code your routines into shipd and let it do the work.


-------------------------------

The first method is not very maintainable but quick to set up.
The secound is more mainatinable but take more effort to set up.
The third takes the longest to set up but is the most scalable and maintainable.

--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
Re: minivend shipping [ In reply to ]
luis wrote:
>
> murray:
> i sincerely appreciate your help. the first model you suggested best suits
> my intentions with minivend. just to clarify this method, are you telling
> me to implement an HTML form (i.e. drop down menu) with three shipping
> options in the file shipping.asc? if so, complete the sample code below
> using minivend values:

no, RTFM !
Your question make you sound like a suit (
http://www.tuxedo.org/~esr/jargon/html/entry/suit.html ), why did you not ask
the interchange lists?

From the look of your site you must either have lost you brains overnight or
lost your hacker.

Learn some manners...

http://www-106.ibm.com/developerworks/library/su-se2.html
http://www-106.ibm.com/developerworks/library/su-se.html

>
> <OPTION VALUE=" ">Ground $8.95
> <OPTION VALUE=" ">Second Day $11.95
> <OPTION VALUE=" ">Next Day $15.95
>
> thank you for taking the time to help. if there is any way i can promote
> any service you offer through the site www.crazycell.com, please do not
> hesitate to ask.

Yeah, my time is 80 UKP per hour. I've got more to do in my spare time than
write free code for some suit.

We do however do contract work for companies wishing to use Interchange. Formal
requests to our company are always considered on a case by case basis.

Yours
Murray

>>:-(


--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04