Originally Posted by
ross
We want to remove the sku code from our search results and reciepts does anyone no how to do this or have done this before
Just to be sure, by search I'm assuming you mean Google, Bing etc...
If so, what you need to do is edit the Display Format Xml Packages that you use. We use the product.VariantsInGrid.xml.config. You can figure out which ones you are using by looking at the Add/Edit Product page admin for a given product.
I'll use the product.VariantsInGrid.xml.config file as an example though.
Starting at line 245 you find the following (I've reformatted it for easier reading, it may look slightly different to you)
Code:
<tr>
<td>
<font class="SmallGridText"><xsl:value-of select="aspdnsf:StringResource('showproduct.aspx.21', $LocaleSetting)" disable-output-escaping="yes" />
<xsl:value-of select="concat($pSKU, skusuffix)" />
</font>
</td>
</tr>
<xsl:if test="$vDescription!=''">
<tr>
<td>
<xsl:value-of select="$vDescription" disable-output-escaping="yes" />
</td>
</tr>
</xsl:if>
<xsl:if test="Weight!=''">
<tr>
<td>
<font class="SmallGridText"><xsl:value-of select="aspdnsf:StringResource('showproduct.aspx.24', $LocaleSetting)" disable-output-escaping="yes" />
<xsl:value-of select="aspdnsf:FormatDecimal(Weight, 2)" />
</font>
</td>
</tr>
</xsl:if>
<xsl:if test="Dimensions!=''">
<tr>
<td>
<font class="SmallGridText">
<xsl:value-of select="aspdnsf:StringResource('showproduct.aspx.23', $LocaleSetting)" disable-output-escaping="yes" />
<xsl:value-of select="Dimensions" />
</font>
</td>
</tr>
</xsl:if>
All you need to do is comment out what you don't want. Comments begin with:
and end with: