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



On Thu, 7 Oct 1999, Christian J. [iso-8859-1] Müller wrote:

>>  - pricing.asc -
>> 
>>    code|price
>>    GHIR-100|30.06 28.79
>>    GHIR-CM|37.75 35.87
>>    GHIR-DC|37.75 35.87
>>    ... and so on
>
>your pricing.asc should look like this: (spaces added between "|" for
>better reading only!)
>
>code | price | q3 | q5 | q10
>
>and  the entries accordingly:
>GMIR-100 | 30.06 | 28.79 |
>GMIR-163 | 61.73 | 58.66 | 54.52 
>etc.

Um, no. The format of the price file is code, delimiter, prices separated
by spaces. When you do each price as a separate field, it doesn't work.
I struggled with that one myself until I finally read an obscure reference
in the archives and got it working.

That's why I have the problem of having some of them blank. If I know
my Perl correctly, the code relating to this file will split that field
based on something like \s+ which would ignore multiple spaces. So 
leaving intermediary fields blank will not work. (Mike: correct me
if I'm wrong here) So, I need to figure out how to leave some blank
and some not blank.

>> 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 ...

  -- Loy

--
Loy Ellen Gross * Web Designer & Programmer * Xcalibur Internet
  Voice: 716-344-1114 * design@iinc.com * http://www.iinc.com



Search for: Match: Format: Sort by: