Notifications

24 views

Description

Any changes to the ‘Item Ordering Widget’ in Maintain Cart layout is not reflecting in ‘Order this Item’ section in the catalog item form.

Steps to reproduce: 
1.Login as an Admin
2.Navigate to 'Maintain cart Layout' through the left navigation.
3.Open 'Item Ordering Widget'.
4.DO any changes ( Like modify the button label (or) uncheck the 'Add to cart' button (or) add a macro to change the button color (or) Uncheck Delivery Time)
5.Open the catalog item form, you will not see any changes reflecting on the catalog item form.

Cause

1. The column "Use Cart Layout" on the catalog item records are set to false and hence they are not reflecting the Cart Layout settings.

2. Catalog Items records may have "Use Cart Layout" set to false, as explained in the documentation >Migrating to cart layouts

Item-specific settings:
Some catalog items can have cart layout settings that are specific to them.
For example, these items can show prices even though the general cart layout record settings hide prices.
To retain item-specific settings, clear the Use cart layout check box in the catalog item form.

for eg : these record on table ==> sc_cat_item can be set with columns "use_sc_layout" to false.

https://<instance-name>.service-now.com/sc_cat_item_list.do?sysparm_query=custom_cartISNOTEMPTY%5EORno_cart%3Dtrue%5EORno_order%3Dtrue%5EORno_proceed_checkout%3Dtrue%5EORno_quantity%3Dtrue%5EORno_order_now%3Dtrue%5EORomit_price%3Dtrue

 

3. There is also a script include that explains migrating cart layouts "CartLayoutMigration"

https://<instance-name>.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=1c9c6723eb232100fcfb858ad106fe76

Resolution

You will have to review the Item specific settings on each record and consider updating the item records accordingly i.e use_sc_layout = true

 

Additional Information

Migrating to cart layouts

Migrate customizations and enable cart layouts

Article Information

Last Updated:2019-09-02 05:34:28
Published:2019-08-29