Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)
There are a couple different approaches you could take. If you want to replace the price you could set the product's price to 0 and use the conditional tokens:
%begin_zeroprice%...%end_zeroprice%
These tokens will display the text between them only if the product has a 0 price. Similarly, you could put the regular %prodprice% token between the tokens:
%begin_hasprice%...%end_hasprice%
These tokens will display the text between them only if the product does NOT have 0 price. So you would be replacing the Price: %prodprice% code in the token with:
%begin_hasprice%
Price: %prodpriceF%
%end_hasprice%
%begin_zeroprice%
This product has special pricing
%end_zeroprice%
You could do the same thing with other pairs of conditional tags. For example, you could set the weight of the spas to 0 and use the %begin_hasweight%...%end_hasweight%/%begin_noweight%...%end_noweight% pair.
Most Recent FAQ Entries:
Top 10
Selective Replacement of Price For Certain Products
I have your product and category page templates (which are wonderful!) and need to include a replacement message for the price for certain products. (We sell spas and would like to include other forms of payment which are not compatible with the internet)
I only want to use this for the spas themselves, however we offer hundreds of other products that we would like to process regularly.
I only want to use this for the spas themselves, however we offer hundreds of other products that we would like to process regularly.
There are a couple different approaches you could take. If you want to replace the price you could set the product's price to 0 and use the conditional tokens:
%begin_zeroprice%...%end_zeroprice%
These tokens will display the text between them only if the product has a 0 price. Similarly, you could put the regular %prodprice% token between the tokens:
%begin_hasprice%...%end_hasprice%
These tokens will display the text between them only if the product does NOT have 0 price. So you would be replacing the Price: %prodprice% code in the token with:
%begin_hasprice%
Price: %prodpriceF%
%end_hasprice%
%begin_zeroprice%
This product has special pricing
%end_zeroprice%
You could do the same thing with other pairs of conditional tags. For example, you could set the weight of the spas to 0 and use the %begin_hasweight%...%end_hasweight%/%begin_noweight%...%end_noweight% pair.
Last update: 2003-07-29 00:55
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
Top 10 
- 2920 views:
Adding Tokens to Evaluate Expressions - 2852 views:
Is there a way to "Limit" the number of ... - 2775 views:
Why won't you call me for technical support? I ... - 2665 views:
Are license keys valid for more than one store? ... - 2566 views:
I'm trying to enter a license key and get ... - 2555 views:
How do I install a module? - 2397 views:
How do I check for a module upgrade? - 2363 views:
How can display and change the parameters of an ... - 2210 views:
The total on my checkout pages are not correct. ... - 2011 views:
I have select and radio type attributes in my ...
















