[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:
>
> ****** message to minivend-users from Loy Ellen Gross <design@iinc.com> ******
>
> 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
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.
>
> 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?
Make no price entries in those columns!
>
> 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)
It is as simple and easy in the middle: just leave it blank! In your
example, if you leave 5 blank, you will have a price break at 3 and the
next at 10.
>
> 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.
I needed some patience and several readings of the docs, however, in the
end I managed to achieve what I needed.
Look at the sample section. It helped me a lot to understand the
mechanics behind it.
And - dont give up! Try again after a good night's rest.
Chris
>
> We're currently running 3.12 and will be installing 3.14 by the end
> of this week (yes, we know we're behind :-).
There is not that much change from 3.12 to 3.14. I am currently on 3.12
and am waiting for 4.0.
>
> Much thanks in advance!
>
> -- Loy
>
> --
> Loy Ellen Gross * Web Designer & Programmer * Xcalibur Internet
> Voice: 716-344-1114 * design@iinc.com * http://www.iinc.com
>
> -
> 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