Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

5 REPLIES 5

Rinty
Giga Contributor

Hello Vignesh,

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

Rinty