Order Confirmation popup on cart v2 -how to edit

Les1
Tera Guru

This pertains to the two step checkout process in service portal which popups an Order Confirmation.  We want to hide the Requested For field but still include the Deliver & Special instructions.

i've been spending a fair time looking at other community posts and trying to nail this down and it still eludes me.

find_real_file.pngi want to hide the Requested for from displaying. 

realizing this will likely take some widget clone and editing i've proceeded that route. 

I found the widget "Catalog Checkout" and cloned and edited the HTML body to remove the HTML reference to Requested for thinking this would be enough to prevent it from displaying.

However to actually install this meant also clone & editing  the sc-shopping-cart-v2 widget so that i could then edit the server script so that where:

if (localInput && localInput.action === "checkout_two") {
data.checkoutCartModal = $sp.getWidget('widget-modal', {
embeddedWidgetId: 'sc-catalog_checkout',   -----> edited it to point to my new catalog checkout widget.

I then when to page designer and edited the Shopping Cart (sc-cart) page so that Instance 1 pointed to my updated shopping cart page which used the updated checkout.   

 

and still with all of the above, when i click ORDER  on the service portal it still shows the "requested for" in the popup!  😮

hopefully someone can point me in the right direction of where i might be missing something or simply tell me the most direct way to handle the requirement.  Thanks!!!!!!!

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

This doesn't look configurable to me if I look at the widgets. Unfortunately, like you already mentioned, if going for the widgets, you need to clone them.

First widget is the SC Catalog Item widget [widget-sc-cat-item-v2]. This actually calls another widget: sc-checkout. So you need to clone 2 widgets.

See below steps (= tested).

find_real_file.png

find_real_file.png

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

15 REPLIES 15

Brian Lancaster
Tera Sage

Did you also create a copy of the widget-sc-cat-item-v2?  It looks like there is a reference in the server script that calls the sc-checkout widget.  If that is not updated I suspect you are not using the new widget you crated. 

The Machine
Kilo Sage

Check out the cart layout that's used for the Two Step check out.  You should be able to remove it from there and keep everything else.

sc_layout.do?sys_id=4882bb76d7622100f2d224837e6103f9

i set the entry for Requested for to Active = false and that didnt seem to have any effect.

 

Mark Roethof
Tera Patron
Tera Patron

Hi there,

This doesn't look configurable to me if I look at the widgets. Unfortunately, like you already mentioned, if going for the widgets, you need to clone them.

First widget is the SC Catalog Item widget [widget-sc-cat-item-v2]. This actually calls another widget: sc-checkout. So you need to clone 2 widgets.

See below steps (= tested).

find_real_file.png

find_real_file.png

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn