[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Check if item is in pricing.asc
****** message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net> ******
Mats Andersson schrieb:
>
> ****** message to minivend-users from "Mats Andersson" <Mats@brain.syh.fi> ******
>
> > > How can I check if an item is present in pricing.asc? I would like to
> > > only show the Quantity price link if there really is quantity pricing
> > > for that item?
> > > - Mats
> Ok I was a bit unclear but it was very late. I'll try again. My
> pricing.asc looks like
>
> code q2 q5 q6 q10 q12 q25 q100
> D-1 3.40 3.40 3 3 2.90 2.90 2.90
> FR-1 23.56 23.56 23.56 20 20 20 20
>
> Normal quantity pricing works OK. In the basket and in other pages I
> would like code like
>
> [if data pricing::code::D-1]
^^^^^^^^ Wrong! --> [if-data ...]
> <BR>[page quantity [item-code]]
> <FONT SIZE=1 COLOR=RED>QUANTITY PRICING
> </FONT></A>
> [/if]
^^^^^^^ Wrong! --> [/if-data]
The best way "How to find a right written tag?" and "How is this tag to
use?" is,
- make a Minivend page beside of all other pages (results.html etc.) as
a testpage.html
- copy the part of relevant codes from other minivend page, if you need
it (in your case, the part of the basket page)
- try the unknown tag working. In this case, you can try
No 1. : [if-data pricing code] YES! [else] NO! [/else] [/if-data]
No 2. : [if-data pricing.asc code] YES! [else] NO! [/else] [/if-data]
No 3. : [if data pricing::code::D-1] .....[/if]
> Does it make sense? It does not work anyway. Of course I would
> substitute D-1 for [item-code]. In a nutshell, if there are quantity
> pricing available for an item, display the link to quantity.html.
>
> An other problem regarding quantity pricing. I have read various
> schemes in the mailing list about adding and subtracting from the
> quantity field in the basket. In my humble opinion the logical way is
> thus:
> Customer buys 3 cans of beer. He finds out that he can get 6 cans for
> the price of 4. So he clicks on 6 in quantity pricing.html. Then he
> should end up with 6 cans of beer in the basket. Not 3 or 9.
>
> Ie I would like to REPLACE the quantity in the basket with the new
> quantity. Can it be done??? HOW???
I have seen an answer in the minivend mail archivs, if i remembered
right. Did you visit this archivs?
Regards,
Joachim
--
-------------Hans-Joachim Leidinger---------------------
-
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