Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fabio Milheiro 74 posts 136 karma points
    Oct 29, 2012 @ 16:37
    Fabio Milheiro
    0

    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>

Please Sign in or register to post replies

Write your reply to:

Draft