Notifications

25 views

Description

Symptoms

The sp-variable-editor OOTB Widget not working. When opening a cart item using the following URL structure:

/sp?id=sc_edit_item&table=sc_cart_item&sys_id=CART_ITEM_ID

to edit the variables for any item added to the cart and then editing the variable values and clicking on Save, the message, Variable Saved would be seen but the changes are not saved.

Release

Kingston and above.

Environment

Service Portal

Cause

This issue was seen because of customizations to a Script Include called, SPCart it was not updated to the latest OOB version which had certain changes in the code.

This Script Include is called in the widget code for the sp-variable-editor widget when the Save button is clicked to update the changes made to the variables in the corresponding item in the Cart.

Resolution

Reverting the Script Include - SPCart to the OOB version resolves the issue.

Article Information

Last Updated:2019-08-02 20:38:47
Published:2019-06-27