Copied to clipboard

Flag this post as spam?

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


  • Dmitry 6 posts 26 karma points
    Nov 01, 2011 @ 10:31
    Dmitry
    0

    Problem with DeleteLineItem

    I use following xslt to remove single item from cart:

    <xsl:variable name="result" select="CommerceLibrary:DeleteLineItem(number($deleteCartItemIndex))"></xsl:variable>
    <xsl:variable name="pipelineResult" select="CommerceLibrary:ExecuteBasketPipeline()"></xsl:variable>

    First call fails with exception:

    deleted object would be re-saved by cascade (remove deleted object from associations)[UCommerce.EntitiesV2.OrderLine#185]"}

    Can somebody suggest what could be the reason?

    Thanks

  • Dmitry 6 posts 26 karma points
    Nov 02, 2011 @ 06:17
    Dmitry
    0

    But for the same basket ClearBasket method works perfectly

  • Dan Okkels Brendstrup 101 posts 197 karma points
    Nov 11, 2011 @ 00:31
    Dan Okkels Brendstrup
    0

    I'm afraid I can't help you, but I think you'll have better luck with this topic in the uCommerce support forum:

    http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support

Please Sign in or register to post replies

Write your reply to:

Draft