Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to increase the range for the Quantity field in SC Catalog Item Widget

Shubham_1120131
Tera Contributor

Hello Everyone, 

 

I am working on developing a Service catalog. For my use case I want to give the user the ability to place an order for more than 10 quantity. How can I increase the for this to over 100. Also, is it possible for me to display the value that are available for the equipment from the sc_cat_item table and only let the user to make order in the range that are available from the Quantity Available (a custom field created by me) field in sc_cat_item. 

 

Shubham_1120131_0-1718908147498.png

 

I have attached the image for the quantity field for which I am trying to increase or take the retrieve from sc_cat_item table. 

 

I appreciate anyone taking their valuable time for answer my question. 


Thank You 

Best Regards, 

Shubham Mishra  

1 ACCEPTED SOLUTION

Robbie
Kilo Patron
Kilo Patron

Hi @Shubham_1120131,

 

This is easily configured as set out by the following SN Docs steps. Check the below link, however just in case links break and others in the community, a brief overview and outline:

 

 

  • Navigate to All > System Definition > Choice Lists.
  • Search for the table sc_cart_item and the element quantity.
    The existing quantity choices appear.
  • Add quantity choices, modeling them after the existing ones.
  • To reduce the quantities available for catalog items, delete the relevant quantity records. For example, to reduce the quantity range to 1-3, delete the records for 4 and 5.

    To restrict the roles allowed to change quantities, edit the List of roles (comma-separated) that can use the quantity selector in the shopping cart (glide.sc.allow.quantity) service catalog property. For example, you can limit this ability to the admin and catalog_admin roles.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie

 

https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...

View solution in original post

2 REPLIES 2

Robbie
Kilo Patron
Kilo Patron

Hi @Shubham_1120131,

 

This is easily configured as set out by the following SN Docs steps. Check the below link, however just in case links break and others in the community, a brief overview and outline:

 

 

  • Navigate to All > System Definition > Choice Lists.
  • Search for the table sc_cart_item and the element quantity.
    The existing quantity choices appear.
  • Add quantity choices, modeling them after the existing ones.
  • To reduce the quantities available for catalog items, delete the relevant quantity records. For example, to reduce the quantity range to 1-3, delete the records for 4 and 5.

    To restrict the roles allowed to change quantities, edit the List of roles (comma-separated) that can use the quantity selector in the shopping cart (glide.sc.allow.quantity) service catalog property. For example, you can limit this ability to the admin and catalog_admin roles.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie

 

https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...