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
Hey
Just got a call from a customer saying that the suddenly cant save parameters with the save button on an order.
Its in the TeaCommerceAdminOrder.xslt. It dosnt save the data.
They have 3 fields that it should save and the javascript func is just the same as the default just a few extra params.
var formObj = { "comments": jQuery("#comments").val(), "orderNotes": jQuery("#orderNotes").val(), "trackTrace": jQuery("#trackTrace").val() }; TeaCommerce.updateOrderPropertiesAdmin(]]><xsl:value-of select="$order/@id"/><![CDATA[,formObj, false); });
If we look at the call it makes :
A few times in chrome it actually gets through, so its like its not finishing the call or something. The site us running umb 4.7.2 and tea 1.4.3.1
Ahh. Found the problem. There's a bug in the teaCommerceAdminOrder.xslt. It does not run the call asynchronously, because the method parameters are wrong. Try this line instead:
TeaCommerce.updateOrderPropertiesAdmin(]]><xsl:value-of select="$order/@id"/><![CDATA[,formObj, {async:false});
/Rune
Arh thx Rune it works :)
Wierd that it hasnt been an issue before :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
TeaCommerceAdminOrder having trouble saving order notes
Hey
Just got a call from a customer saying that the suddenly cant save parameters with the save button on an order.
Its in the TeaCommerceAdminOrder.xslt. It dosnt save the data.
They have 3 fields that it should save and the javascript func is just the same as the default just a few extra params.
If we look at the call it makes :
A few times in chrome it actually gets through, so its like its not finishing the call or something. The site us running umb 4.7.2 and tea 1.4.3.1
Ahh. Found the problem. There's a bug in the teaCommerceAdminOrder.xslt. It does not run the call asynchronously, because the method parameters are wrong. Try this line instead:
TeaCommerce.updateOrderPropertiesAdmin(]]><xsl:value-of select="$order/@id"/><![CDATA[,formObj, {async:false});
/Rune
Arh thx Rune it works :)
Wierd that it hasnt been an issue before :)
is working on a reply...