[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] $0.00 Shipping Charges Problem
"Cameron B. Prince" wrote:
>
> ****** 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.
Try this...
[if explicit]
[condition]
$test = '[value shipping]';
return 1 if $test =~ /00000000.00/;
return 0;
[/condition]
No Shipping!
[else]
With Shipping!
[/else]
[/if]
What do you get, if you add a lines like
value of shipping is : [value shipping]<BR>
2 value of shipping is : [value shipping noformat=1]<BR>
Good lucks,
Joachim
BTW: Please, donīt qoute all old messages! Thanks!
--
-------------Hans-Joachim Leidinger---------------------