MiniVend Akopia Services

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

RE: [mv] $0.00 Shipping Charges Problem



Hi Cameron,

You might try something along the following lines (not tested, but a 
combination of what I do and what the docs say):

[if explicit]
[condition]
  $sub = substr '[shipping [loop-code]]',1;
  return 1 if $sub = '0.00';
  return 0;
[/condition]
You have zero dollars for shipping.
[else]
You don't have zero dollars for shipping.
[/else]
[/if]

My site never returns an empty shipping-type list, because I offer 
non-zipcode calculated shipping in addition to the UPS lookups (eg. USPS 
Priority Mail based upon weight), so I don't have an empty-list problem. 
The bad-zipcode problem will soon disappear altogether upon my next site 
update - I'm not going to allow US users to enter city and state - only 
zip, which will then display their city and state for validation.

Hope this works for you!

Cheers,
Tim



-----Original Message-----
From:	Cameron B. Prince [SMTP:princecb@inetexpertsinc.com]
Sent:	October 10, 1999 10:49 AM
To:	minivend-users@minivend.com
Cc:	sledge@inetexpertsinc.com
Subject:	[mv] $0.00 Shipping Charges Problem

******    message to minivend-users from "Cameron B. Prince" 
<princecb@inetexpertsinc.com>     ******

Thanks for your replies Marius, Joachim, and Tim.

I tried the examples you all supplied as you can see below:

[if value shipping eq '$0.00']
[comment][if value shipping =~ /\$0\.00/][/comment]
[comment][if value shipping = 0][/comment]
[comment][if value shipping eq "$0.00"][/comment]
[comment][if value shipping =~ /$0.00/][/comment]
        <hr>Worked</hr>
[/if]

None of those worked. I am freaking out here. I mean this isn't rocket
science. Obviously it's not being matched correctly. But what is the proper
code to make the match. If I just put a [shipping] in the page it shows
$0.00

Have any of you actually tried any of the code above in your store? I am
wondering if something else is wrong.

Tim, I haven't tried the code you supplied to remove ship modes which equal
$0.00, but this wouldn't exactly solve the problem. The customer would 
think
our page was broke if it didn't offer any shipping choices. It seems this
would be best used in conjunction with what I am trying to do above.

Thanks again for your help. I hope a solution can be found for this and I
appreciate any help you can provide.

Cameron B. Prince

Internet Experts Inc.
Phone:	(256) 227-1238
FAX:	(256) 227-1438

 -----Original Message-----
From: 	owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]  On Behalf Of Marius Schaefer
Sent:	Sunday, October 10, 1999 10:05 AM
To:	minivend-users@minivend.com
Subject:	Re: [mv] $0.00 Shipping Charges Problem

******    message to minivend-users from Marius Schaefer
<maillist@b-p-a.com>     ******

Hi,

I think you must do it this way:

[if value shipping eq "$0.00"] or
[if value shipping = 0] or
[if value shipping =~ /\$0\.00/]

Greetings,
marius

Hans-Joachim Leidinger wrote:
>
> ******    message to minivend-users from Hans-Joachim Leidinger
<hans-joachim.leidinger@home.gelsen-net.de>     ******
>
> "Cameron B. Prince" wrote:
> >
> > ******    message to minivend-users from "Cameron B. Prince"
<princecb@inetexpertsinc.com>     ******
> >
> > Hello everyone,
> >
> > I have gotten a few orders with $0.00 shipping charges due to customers
> > incorrectly entering their zip code. I am trying to use this code to
> > eliminate the problem:
> >
> > [if value shipping=$0.00]
> > [then]
>
> Maybe this can helps you?
>
> [if value shipping =~ /$0.00/]
>
> Regrads,
>
> Joachim
>
> --
> -------------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
-
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: