I there,
I have a PIM feed that's configured to output the Weight of a product:
When I use an XSLT template and the XML provider, lots of properties, including Weight are missing. For example, with this simple template that copies everything:
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0" exclude-result-prefixes="msxsl"> <xsl:output method="xml" indent="yes" xml:space="preserve"/> <xsl:param name="domain-name"/> <xsl:param name="product-catalog-page-id"/> <xsl:template match="/Root"> <xsl:element name="Products"> <xsl:apply-templates select="Products"/> </xsl:element> </xsl:template> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>
the configured Weight field is missing in the output:
However, if I switch to the Template provider and use the Json template and make no other changes, the data is there:
What am I missing? (Other than the Weight property ;-) )
Imar