How to remove "Continue Shopping" and "Save as Bundle" button from sc_cart page in service portal (London version)?

Rinty
Giga Contributor

In service portal, I need to remove "Continue Shopping" and "Save as Bundle" button from sc_cart page. Once I click on view cart button, it takes me to this sc_cart page. The OOTB widget for this page is sc-shopping-cart-v2 (SC Shopping Cart). I can't figure out how to remove those two buttons. Clear instruction with steps please! Thank you!

1 ACCEPTED SOLUTION

VigneshMC
Mega Sage

You can remove them from the template which is being used in the "sc-shopping-cart-v2" page.

Its usually the large_shopping_cart_v2.html found on the related list of the widget 

find_real_file.png

Open the template and comment out lines

<a href="?id=sc_home" name="submit" class="btn sc-btn btn-default m-r-xs">${Continue Shopping}</a>
		<button class="btn sc-btn btn-default" ng-click="c.saveBundle()">${Save as Bundle}</button>

You can access the above template using below link

https://<instance_name>.service-now.com/sp_ng_template.do?sys_id=91a7460c87290300e0ef0cf888cb0bec&sy...

 

View solution in original post

4 REPLIES 4

AbhishekGardade
Giga Sage

Hello RInty:

Navigate to "Maintain Cart Layouts" module under Service Catalog. Go to "Cart Preview Screen" record and edit it.

(Uncheck the "Continue Shopping" button under buttons section).

Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade

Thank you,
Abhishek Gardade

Hello Abhishek,

I unchecked the continue shopping button and it still displayed that button on sc_cart page.

VigneshMC
Mega Sage

You can remove them from the template which is being used in the "sc-shopping-cart-v2" page.

Its usually the large_shopping_cart_v2.html found on the related list of the widget 

find_real_file.png

Open the template and comment out lines

<a href="?id=sc_home" name="submit" class="btn sc-btn btn-default m-r-xs">${Continue Shopping}</a>
		<button class="btn sc-btn btn-default" ng-click="c.saveBundle()">${Save as Bundle}</button>

You can access the above template using below link

https://<instance_name>.service-now.com/sp_ng_template.do?sys_id=91a7460c87290300e0ef0cf888cb0bec&sy...

 

Rinty
Giga Contributor

Hello Vignesh,

Thank you so much for your help. It worked. Thanks a lot. 

Rinty