[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Variable Price Break Help - Have Std Price Breaks Working
- To: Minivend Mailing List <minivend-users@minivend.com>
- Subject: Variable Price Break Help - Have Std Price Breaks Working
- From: Loy Ellen Gross <design@iinc.com>
- Date: Wed, 6 Oct 1999 11:53:04 -0400 (EDT)
- Organization: Xcalibur Internet Services
I have a catalog with price breaks at 3 units, 5 units and 10 units.
This is working fine. To accomplish this, I'm using
- catalog.cfg -
Database pricing pricing.asc 1
MixMatch No
PriceBreaks 3 5 10
And all other directives commented out. Note: I did try using
CommonAdjust pricing:q3,q5,q10:, ;products:price, ==quantity:pricing
in here, but could not for the life of me get it working. The method
above works fine.
- pricing.asc -
code|price
GHIR-100|30.06 28.79
GHIR-163|61.73 58.66 54.52
GHIR-300|57.67 54.10 52.00
GHIR-3WS|76.19 73.12 72.15
GHIR-630|53.29 51.03
GHIR-664|53.57 47.93
GHIR-6DD|59.63 56.68
GHIR-AST|37.75 35.87 33.29
GHIR-CH|37.75 35.87
GHIR-CM|37.75 35.87
GHIR-DC|37.75 35.87
... and so on
Price Breaks were stabilized at 3, 5, and 10 to make things easier
in the catalog and currently the flypage displays correctly with this
snippet of code:
<TR ALIGN="left" VALIGN="top">
<TD class="productdesc">
<INPUT SIZE=3 NAME=mv_order_quantity>
<INPUT TYPE=hidden NAME=mv_order_item VALUE="[item-code]"> </TD>
<TD class="productdesc" NOWRAP> [item-code] </TD>
<TD class="productdesc"> [item-field itemtitle] </TD>
<TD class="productdesc" ALIGN="right"> [item-price] </TD>
<TD class="productdesc"> [item-field unit] </TD>
<TD class="productdesc" ALIGN="right"> [item-price 3] </TD>
<TD class="productdesc" ALIGN="right"> [item-price 5] </TD>
<TD class="productdesc" ALIGN="right"> [item-price 10] </TD>
</TR>
Granted, some products do not have a different price at qty 10 and so
display the same value twice, but the viewer gets the point.
HERE'S THE PROBLEM:
The catalog owner has now decided to offer a select product line at
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?
How do I get minivend to NOT display a price break whereever one
does not exist? (would be useful since some items don't have qty10
pricing)
What do I enter in the pricing.asc file to skip price breaks in the
middle of the sequence? (at the end is easy - they're just blank)
Looked through the docs and through the archives and can't find the
answer. I'm lost in the CommonAdjust stuff - just can't get my head
wrapped around the method - but I'm willing to try that method if
someone can help me understand it. I fell back on PriceBreaks because
I could get it working :-) A Perl solution is also welcome - tried a
couple of things but they weren't right.
We're currently running 3.12 and will be installing 3.14 by the end
of this week (yes, we know we're behind :-).
Much thanks in advance!
-- Loy
--
Loy Ellen Gross * Web Designer & Programmer * Xcalibur Internet
Voice: 716-344-1114 * design@iinc.com * http://www.iinc.com