MiniVend Akopia Services

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

Re: shipping selection dropdown box



In-Reply-To: <379E8E2A.C958E0BB@polinet.ch>
In article <379E8E2A.C958E0BB@polinet.ch>, cmueller@polinet.ch (Christian 
J. =?iso-8859-1?Q?M=FCller?=) wrote:

> ******    message to minivend-users from "Christian J. 
> =?iso-8859-1?Q?M=FCller?=" <cmueller@polinet.ch    ******
> 
> Have you considered trying [shipping noformat=1] ?
> Chris

Oh right, duh
> 
> Robert Hutchinson wrote:
> > 
> > ******    message to minivend-users from hutch@cix.compulink.co.uk 
> > (Robert Hutchinson)     ******
> > 
> > In-Reply-To: <01BED43E.EB0AD890.tim@valutech.net>
> > In article <01BED43E.EB0AD890.tim@valutech.net>, tim@valutech.net (Tim
> > Shea) wrote:
> > 
> > > ******    message to minivend-users from Tim Shea <tim@valutech.net>
> > > >  ******
> > >
> > > Hi Robert & All,
> > >
> > > I'm currently using:
> > >       <SELECT MV=loop
> > >               MV.SEARCH="fi=country.asc/se=[default country
> > > US]/sf=selector/rf=shipmodes"
> > >               MV.OPTION="mv_shipmode"
> > >               onChange="this.form.submit()"
> > >               NAME="mv_shipmode">
> > > [perl interpolate=1]
> > >  $sub = substr '[shipping [loop-code]]',1;
> > >  $shipdesc = ' : [shipping-desc [loop-code]]';
> > >  $returnstring = '<OPTION VALUE="[loop-code]">' . '[shipping
> > > [loop-code]]' . $shipdesc;
> > >  return $returnstring if $sub != '0.00';
> > > [/perl]
> > >       </SELECT>
> > >
> > > After I discovered that my quickly-coded solution was a little off. 
> > > I
> > > apologize for anyone who had trouble with this.
> > >
> > > Cheers,
> > > Tim
> > 
> > The reason I have used the regex
> > /\b0\b|\b0.00\b|(.*\D)(0.00)|(0.00)(.*\D)/is that it deals with 
> > &#163;0.00, &#163;
> > 0.00, $0.00, 0.00DM, 0.00 DM etcI'm not much good at regex's so if 
> > there
> > are any wizards out there whowould care to comment/improve....
> > 
> > Bye :-)=
> > hutch@cix.co.uk
> > 
> > -
> > 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
> -
> 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: