Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)


Creating "Strike-Through" Pricing

Is it possible to have a strike-through pricing?


Product Name

Retail Price: 100$
Sale price: 60$

Yes it is. Many people do this by using the products "cost" field to store the retail price and then display it in the template with something like:

Retail price: %prodcostF%

which will display it stricken through.

If your are providing the discount to your customers by price groups or other means of discounting and your "retail price" is the product's regular price, then you could use (the U in the token indicates that it is "unadjusted" for discounts; the F indicates that it is formatted with the currency module that you have installed in the store):

Retail price: %prodpriceUF%
Regular price: %prodpriceF%

You can make the display of the retail price conditional (i.e. have it display only if the customer is getting a discount) with something like:

Retail price: %prodpriceUF%
Regular price: %prodpriceF%

In this case, the stricken through retail price would be displayed only if the customer is getting a discount and the adjusted price is lower than the list price of the product.

Last update: 2003-07-29 00:56
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 5 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category