Show "Quantity" choices for particular Catalog item

monika141
Kilo Contributor

Hello All,

I have requirement to increase "Quantity" choices upto 100 for single Catalog Item.

1)I have added 100 choices in sc_cart_item table. But here challenge is it has updated for all Catalog items.

find_real_file.png

2)Is there any way to restrict it for particular catalog item?

Thanks

Monika

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Monika,



You may find the below thread helpful.


Adding Quantity value for particular Ctalog Item


View solution in original post

7 REPLIES 7

Hi Dennis


I achieved this by doing some update in   widget>Body HTLM template as follow:


find_real_file.png


Thanks Monika. I saw that when inspecting the elements on the page, but was hoping there was some way to dynamically insert the array of values.



Opportunity is for a catalog item where quantity is supposed to represent RAM or Disk space and IT allocates by set values like: 4,8,12,16,34,64...



My requirement has changed so I don't have to go down this route, but it would be helpful to know in the future how to modify this from the catalog item side, not globally.



Thanks,


Dennis


Hi @Pradeep Sharma 

below i need to add in catalog variable , how can i achive this requiment.

anitha0887_0-1714999830015.png