Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to hide or disable Quantity dropdown selector present on catalog form (Service Portal or Catalog UI) - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to hide or disable Quantity dropdown selector present on catalog form (Service Portal or Catalog UI)
KB0715470

How to hide or disable Quantity dropdown selector present on catalog form (Service Portal or Catalog UI)


3986 Views Last updated : Jan 3, 2025 public Copy Permalink
KB Summary by Now Assist

Issue



Description


For many (not all) catalog items, we see quantity selector dropdown when requesting an item.

On Service Portal, we see like:

Or on normal Service Catalog UI, we see like:

This article focuses on the case where you don't want the quantity selector dropdown to show up.

Procedure


  • We have a checkbox called No quantity that decides whether a certain catalog item is quantifiable or not.
  • In order to give power to the above checkbox's value (true or false) to control the display of quantity dropdown, we have a system property called "glide.sc.use_cart_layouts"
  • This system property that uses the sc_layout driven cart macros.
  • By default we have set that to true. Setting this to false, will make the above checkbox handle/control the dropdown display.
  • Now pull this field via Configure > Form Layout on the catalog item form.
    • Setting to true => Will indicate that the catalog item is not quantifiable and will hide the dropdown.
    • Setting to false => Will indicate that the catalog item is quantifiable and will not hide the dropdown.

Applicable Versions


Kingston and London.

Additional Information


We have an onLoad client script called Cover when layouts field not on form that hides No quantity checkbox field based on the above system property's value (glide.sc.use_cart_layouts).

If the system property's value is true, it will hide the checkbox field (even pulled via Form Layout) => Otherwise, it will show on the form.

Enable cart layouts: https://docs.servicenow.com/csh?topicname=t_MoveCustomizationsToCartLayouts.html&version=latest


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.