[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Displaying Discounted Price on Flypage
I've had to do with this the CommonAdjust in the .cfg file. My sample that works great is:
CommonAdjust pricing:q10,q25,q50,q100,q200,q500,q1000:, ;products:price, &$s*1.12/1.6-$s
Barry
James Bott wrote:
> ****** message to minivend-users from "James Bott" <jbott@compuserve.com> ******
>
> We are discounting all items. I have figured out the basics of this by using
> the [discount ALL_ITEMS] $s * .90 [/discount] tags in basket.html. But, I
> would like to display the discounted price on the flypage, browse.html, and
> results.html (in addition to the regular price). It would be nice if we
> could do this conditionally, so that if there is a discount in effect, then
> the discount price will be displayed. However, I would settle for just
> hardcoding it if necessary.
>
> I have tried such things as (in flypage.html):
>
> [discount ALL_ITEMS] $s * .90 [/discount]
> [item-list]
> Sale Price: [item-discount]
> [/item-list]
>
> And:
>
> Sale Price: [currency][calc][item-price] * .9 [/calc][/currency]
>
> And:
>
> Sale Price: [currency][calc][value item-price] * .9 [/calc][/currency]
>
> But none of these work.
>
> I have read the manual numerous times, and searched the message base for all
> occurrences of "flypage" and "discount" and I cannot find any information
> about how to do this.
>
> Is this possible? Can anyone show me how to do it?
>
> I would think everyone would want to do this.
>
> Can anyone tell me definitively where the [discount] tags should be placed?
> I put them in basket.html, but it was only a guess since there is no mention
> of this in the manual, nor did I find it in the Simple demo.
>
> Regards,
> James Bott
> Intellitech
> Computer Consulting for Small Business
> http://ourworld.compuserve.com/homepages/jbott
>
> -
> 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