Disable Selection of products in ResourcePicker

nonybrighto
New Member
2 0 1

Hello Coummunity,

Please I am making use of ResourcePicker to select some products and I have an array of previously I selected products. I would love to have those products removed from the list in resource picker or have them disabled so they cannot be reselected by the user. How do I achieve that?

Reply 1 (1)
L_J_K
Shopify Staff
Shopify Staff
400 64 81

Hey @nonybrighto 

Looks like you can't exclude the ResourcePicker's Resource ID's just yet going by this as far as I can tell.  Though the Search Syntax API suggestion (using NOT) could be a way forward for you. The community might chime in here though with some further advice!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!