Hide 'Delivery Time' on Self Service Portal

Chris Wilkinso2
Mega Contributor

I am trying to hide the 'Delivery Time' which is currently displayed on our self service portal as part of the cart. I have already set the following value to false and while this has hidden the 'Delivery Time' when viewed using the back end portal it is still visible on the self service portal.

Service Catalog > Maintain Cart Layouts > Item Ordering Widget > Delivery time

Does anyone know how to disable this for the self service portal cart as well. I know i can do it per item but i need to turn it off globally for the time being.

8 REPLIES 8

Hi Abhishek,

Unfortunately i already tried this, the option is unticked but the delivery time is still being displayed.

 

Thanks

 

Check out this:

https://hi.service-now.com/kb_view.do?sys_kb_id=2ee286d3dbd43b08190dfb2439961931&sysparm_rank=1&sysp...

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

Thank you,
Abhishek Gardade

amitgrewal
Tera Contributor

I did this and I can now see a empty white box at the bottom. Any idea how to remove this?

 

Satyanarayana U
Tera Contributor

You can write an onload catalog client script to hide the delivery time from Platform view. you can write it for one catalog item or create it in a variable set so that it will be applicable to all the items which contain that variable set.

1. Open a new Catalog Client script form

2. Set "Isolated Script" check box to false (you might need to do it after saving the script)

3. Set type to "onLoad"

4. Add below lines in your onload function

  1. document.getElementById("sc_delivery_time_label_cell").style.display='none';
  2. document.getElementById("sc_delivery_time_cell").style.display='none';

5. Save the client script form.