Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Maria 34 posts 128 karma points
    Oct 22, 2013 @ 11:24
    Maria
    0

    Problem with applying vouchers

    Umbraco 6.1.4

    uCommerce 4.0.1

    I am trying to get voucher code functionality added to basket. 

    Backoffice:

    Xslt:

    <xsl:variable name="discountCode" select="umbraco.library:Request('CampaignCode')"/>
     <xsl:if test="$discountCode!=''">
       <xsl:variable name="addDiscount" select="CommerceLibrary:AddVoucher($discountCode)" />
       <xsl:variable name="pipelineResult" select="CommerceLibrary:ExecuteBasketPipeline()" />
    </xsl:if>


    Voucher code comes into the order:

    <orderProperty key="voucherCodes" value="2222," /></orderProperties>

    but the discount doesn't get applied and discount in purchaseOrder is "0.00"

    Any idea what goes wrong? 

  • Maria 34 posts 128 karma points
    Oct 22, 2013 @ 11:41
    Maria
    4

    Ah! Insight! The start date of the campaign cannot be set to today. It has to be set to a day earlier.

  • Morten Skjoldager 440 posts 1499 karma points
    Oct 28, 2013 @ 13:08
    Morten Skjoldager
    0

    Thanks for pointing this out. We've scheduled a work item to reslove this issue. 

    Best regards

    Morten

Please Sign in or register to post replies

Write your reply to:

Draft