If you're using Image Filename override in your AspDotNetStorefront site, you've probably noticed some missing icon images in your related and upsell products sections.
Don't panic, there's a quick fix!
Go to the root directory of your AspDotNetStorefront site, and open up the XmlPackages folder. In there you will find XmlPackages that are used to control the display of your related products and upsell product items on your product pages.
Look for the file named: 'relatedproducts.xml.config'. Open this up in your favorite text editor, notepad will work just fine.
Run a search for the text: 'ImageFileNameOverride'. In Notepad, you can run a search with Ctrl+F.
The first item your text editor finds should look like this:
<xsl:value-of select="aspdnsf:LookupProductImage(ProductID, ImageFileNameOverride, SKU, 'icon', 0, $AltText)" disable-output-escaping="yes"/>
All you're going to do is change a small piece of this code. Where it says ImageFileNameOverride,
Change the capital "N" to a lowercase "n" so the new tag should look like this:
<xsl:value-of select="aspdnsf:LookupProductImage(ProductID, ImageFilenameOverride, SKU, 'icon', 0, $AltText)" disable-output-escaping="yes"/>
After you've changed this tag, continue searching in your text editor for all references to 'ImageFileNameOverride'. Replace every instance of this with the correctly cased version: 'ImageFilenameOverride'.
After you have changed this in all instances in the related products XmlPackage, your icon images should be showing up as normal. Follow this same process in the XmlPackage: upsellproducts.xml.config located in the XmlPackages folder in the root of your site.
Related links:
Setting up Related Products
Setting up Upsell Products
Tags: ADNSF 8.0 Image Override, ADNSF Development, AspDotNetStoreFront, AspDotNetStoreFront 8.0, AspDotNetStoreFront help, Image Filename Override







