Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am looking to display the prices of the several shipping methods presented in an uCommerce site but I cannot find the value of the shippingMethod object in the template...
<xsl:template match="shippingMethod" > <input type="radio" id="shipping-method-{@shippingMethodId}" name="shippingMethodInput" value="{@shippingMethodId}" class="shipping-method-option"> <xsl:if test="@shippingMethodId = $shipment/@shippingMethodId"> <xsl:attribute name="checked">checked</xsl:attribute> </xsl:if> </input> <label for="shipping-method-{@shippingMethodId}"> <xsl:value-of select="@name"/> (<xsl:value-of select="CommerceLibrary:FormatCurrency(@price)"/>) </label> <br/> </xsl:template>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
uCommerce: How to display price of shipping method in shipping methods?
I am looking to display the prices of the several shipping methods presented in an uCommerce site but I cannot find the value of the shippingMethod object in the template...
<xsl:template match="shippingMethod" >
<input type="radio" id="shipping-method-{@shippingMethodId}" name="shippingMethodInput" value="{@shippingMethodId}" class="shipping-method-option">
<xsl:if test="@shippingMethodId = $shipment/@shippingMethodId">
<xsl:attribute name="checked">checked</xsl:attribute>
</xsl:if>
</input>
<label for="shipping-method-{@shippingMethodId}">
<xsl:value-of select="@name"/> (<xsl:value-of select="CommerceLibrary:FormatCurrency(@price)"/>)
</label>
<br/>
</xsl:template>
is working on a reply...