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]"}
But for the same basket ClearBasket method works perfectly
Can somebody suggest what could be the reason?
Thanks
Which version of uCommerce are you using? There was a bug in one of the first 2.x releases, so trying an update is my best guess to fix your problem.
Thanks, this issue were solved
Thanks for helping, Christian!
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]"}
But for the same basket ClearBasket method works perfectly
Can somebody suggest what could be the reason?
Thanks
Which version of uCommerce are you using? There was a bug in one of the first 2.x releases, so trying an update is my best guess to fix your problem.
Thanks, this issue were solved
Thanks for helping, Christian!
is working on a reply...