Miva Merchant 4 Module FAQs » Product Page Templates (BROK_PRODTEMPLATES )
Yes, conditional tokens have been added:
%begin_hasimage%...%end_hasimage% displays contents if product image file exists
%begin_hasnoimage%...%end_hasnoimage% displays contents if product image file does not exist
%begin_hasthumbnail%...%end_hasthumbnail% displays contents if product thumbnail file exists
%begin_hasnothumbnail%...%end_hasnothumbnail% displays contents if product thumbnail file does not exist
%begin_nopricediscount%...%end_nopricediscount% displays contents if the list price is NOT lower than product price
%begin_nocostdiscount%...%end_nocostdiscount% displays contents if the price is NOT lower than the cost
which you can use for this.
For example, to display a generic image in the place of missing images you would replace the %prodimage% token with:
%begin_hasimage%
%prodimage%
%end_hasimage%
%begin_hasnoimage%

%end_hasnoimage%
Most Recent FAQ Entries:
Top 10
Adding Additional / Alternate Product Images
Are there tokens to conditionally display an alternate image if the product has no image or if the image is missing? (2003/05/30)
Yes, conditional tokens have been added:
%begin_hasimage%...%end_hasimage% displays contents if product image file exists
%begin_hasnoimage%...%end_hasnoimage% displays contents if product image file does not exist
%begin_hasthumbnail%...%end_hasthumbnail% displays contents if product thumbnail file exists
%begin_hasnothumbnail%...%end_hasnothumbnail% displays contents if product thumbnail file does not exist
%begin_nopricediscount%...%end_nopricediscount% displays contents if the list price is NOT lower than product price
%begin_nocostdiscount%...%end_nocostdiscount% displays contents if the price is NOT lower than the cost
which you can use for this.
For example, to display a generic image in the place of missing images you would replace the %prodimage% token with:
%begin_hasimage%
%prodimage%
%end_hasimage%
%begin_hasnoimage%

%end_hasnoimage%
Last update: 2003-07-29 20:39
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the UPS Custom Integration configured so that ... (2008-07-11 10:21)
- I would like to conditionally display something for a ... (2008-07-03 17:37)
- Is there any way to configure specific global headers ... (2008-06-02 18:28)
- I pay my affiliates with gift certificates from your ... (2008-05-29 10:42)
- Is there any way to add a negative number ... (2008-05-22 13:51)
Top 10 
- 2521 views:
Adding Tokens to Evaluate Expressions - 2510 views:
Why won't you call me for technical support? I ... - 2489 views:
Is there a way to "Limit" the number of ... - 2402 views:
Are license keys valid for more than one store? ... - 2308 views:
I'm trying to enter a license key and get ... - 2270 views:
How do I install a module? - 2133 views:
How do I check for a module upgrade? - 2132 views:
How can display and change the parameters of an ... - 1960 views:
The total on my checkout pages are not correct. ... - 1843 views:
I have select and radio type attributes in my ...
















