MiniVend Akopia Services

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

Re: Free Shipping! (Case Problem)



Try this in your checkout profile, near the top of
the profile:
[set checkout_profile]

[perl values]
$Safe{'values'}{zip} = uc ($Safe{'values'}{zip});
return '';
[/perl]

.... rest of profile...
[/set]

If you want lowercase instead, use lc instead of uc
in the above code.

Note: the line return ''; 
                              ^  -- that is 2 apostrophies and not
a single quote.

Kyle Cook


At 10:29 AM 7/15/99 -0400, you wrote:
>******    message to minivend-users from Steve Cockwell 
><stevec@sierra.lazarus.ca>     ******
>
>Hi folks,
>
>Is there any way in a minivend form to automatically convert to upper or
>lower case - this is more postal code problems.  K7V != k7v...
>
>I've temporarily duped all of the zone info and converted it to lower
>case, but if someone were to type in:
>
>k7V8z9  (ie:  Mixed case)
>
>they'd still end up with free shipping....
>
>.src
>-
>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


http://www.invisio.com 
Web site design, database driven sites,
and shopping cart programming. 
Great sites, value priced!



Search for: Match: Format: Sort by: