MiniVend Akopia Services

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

Re: [mv] Variable Price Break Help - Have Std Price Breaks Working





Loy Ellen Gross wrote:
[DEL]
> >> price breaks of 36 units, 60 units and 120 units - NOT 3, 5, and 10.
> >> I know I can setup additional price breaks in the file and have the
> >> correct pricing on the receipt - BUT -
> >> How do I get minivend to NOT display 3/5/10 pricing for these items?
> >Make no price entries in those columns!
> 
> That still doesn't give me a tag to test whether there is a price in
> [item-price 3] or not. That's what I need - a way to test the existance
> of this price for the page display. I've been trying various tag
> combinations of [if-*] and not getting results. Maybe I'm just
> brain-dead from looking at it too long ...

You can test the price with this codes (not tested):

[condition]
$test = '[item-field price noformat=1]';
return 1 if $test == 0;
return 0;
[/condition]
     Has no price!
[else]
     Has price!
[/else]
[/if]

Regards,

Joachim


-- 
-------------Hans-Joachim Leidinger---------------------



Search for: Match: Format: Sort by: