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 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
But for the same basket ClearBasket method works perfectly
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
But for the same basket ClearBasket method works perfectly
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
is working on a reply...