How to hide Price, Quantity, Delivery Time from Service Portal

sriram7
Tera Contributor

Hi Team,

 

How to hide Price, Quantity, Delivery Time from Service Portal.

 

I am trying to hide from cart layouts, but it is not working

5 REPLIES 5

Twinkle S
Mega Sage
Mega Sage

Hi @sriram7 . go to the cart layout in filter navigation and select record for your portal and remove the checkboxes which are not required.

twinkle4_0-1684154323267.png

 

Community Alums
Not applicable

Hi @sriram7 ,

Service Catalog > Maintain Cart Layouts > Item Ordering Widget

Simply uncheck the 'Delivery time' field on the 'Components' tab.

OR

If you press ctrl+right-click, that is where you can get to instance options and all that. That's what you'd see in the options schema.

So then you'd see this:

SandeepDutta_0-1684154389638.png

 

And then this:

SandeepDutta_1-1684154389633.png

 

Check the box for Hide Delivery Time and save. It's gone!

Community Alums
Not applicable

Hi @sriram7 ,

 Another way is by cloning the widget itself.

1. Navigate to the widget list
2. Search for "Request Fields" widget
3. Clone the widget by clicking the "Clone Widget" button
4. Remove "price" and what you don't want to see on line 13 of the server script for the cloned "Request Fields" widget:
var fields = $sp.getFields(gr, 'number,state,priority,sys_created_on,price');
5. Click Update
6. Navigate to Service Portal Edit Page:
<your instance>/sp_config?id=page_edit&p=sc_request&table=sp_instance&sys_id=cc316d33d7230200a9addd1...
7. Remove "Request Fields" widget from the page
8. Add the cloned "Request fields" widget to the page
9. Click Save

 

Hi sandeep,

 

I am not sure why instance option is grey out. i have all roles

 

Thanks,

Mathew