{"id":2077,"date":"2023-08-18T10:59:19","date_gmt":"2023-08-18T10:59:19","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=2077"},"modified":"2023-08-18T10:59:19","modified_gmt":"2023-08-18T10:59:19","slug":"how-to-restrict-certain-options-by-user-roles","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/","title":{"rendered":"How to Restrict Certain Options by User Roles?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Restricting Options by User Roles&nbsp;<\/h2>\n\n\n\n<p>To restrict certain options by user roles using the WooCommerce Product Option and Fields plugin, you can apply user role settings using the below steps:<\/p>\n\n\n\n<p>Go to <strong>Products<\/strong> &gt; <strong>Products Add ons<\/strong> &gt; <strong>Add New Add on<\/strong> &gt; <strong>User Roles.<\/strong><\/p>\n\n\n\n<p><strong>User Roles: <\/strong>If you want to show add-ons to specific users, select a user role from the drop-down menu (<em>Leave it empty if you want to show add ons to all users<\/em>).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Administrator<\/li>\n\n\n\n<li>Editor<\/li>\n\n\n\n<li>Author<\/li>\n\n\n\n<li>Contributor<\/li>\n\n\n\n<li>Subscriber<\/li>\n\n\n\n<li>Customer<\/li>\n\n\n\n<li>Shop manager<\/li>\n\n\n\n<li>Wholesale<\/li>\n\n\n\n<li>B2B<\/li>\n\n\n\n<li>Retailer<\/li>\n\n\n\n<li>Guest&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Save the add-on.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Restricting Options by User Roles&nbsp; To restrict certain options by user roles using the WooCommerce Product Option and Fields plugin, you can apply user role settings using the below steps: Go to Products &gt; Products Add ons &gt; Add New Add on &gt; User Roles. User Roles: If you want to show add-ons to specific [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2069,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"template-parts\/multiple-page-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-2077","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Restrict Certain Options by User Roles? - Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Restrict Certain Options by User Roles? - Documentation\" \/>\n<meta property=\"og:description\" content=\"Restricting Options by User Roles&nbsp; To restrict certain options by user roles using the WooCommerce Product Option and Fields plugin, you can apply user role settings using the below steps: Go to Products &gt; Products Add ons &gt; Add New Add on &gt; User Roles. User Roles: If you want to show add-ons to specific [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh6.googleusercontent.com\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/\",\"name\":\"How to Restrict Certain Options by User Roles? - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw\",\"datePublished\":\"2023-08-18T10:59:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw\",\"contentUrl\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/how-to-restrict-certain-options-by-user-roles\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WooCommerce Product Option and Fields \\\/ Product Addon\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To\u2019s WPO\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-product-option-and-fields-product-addon\\\/how-tos\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to Restrict Certain Options by User Roles?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"name\":\"Documentation\",\"description\":\"Documentation for Addify Extensions\",\"publisher\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/addify.store\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\",\"name\":\"Documentation\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"width\":6761,\"height\":1853,\"caption\":\"Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Restrict Certain Options by User Roles? - Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/","og_locale":"en_US","og_type":"article","og_title":"How to Restrict Certain Options by User Roles? - Documentation","og_description":"Restricting Options by User Roles&nbsp; To restrict certain options by user roles using the WooCommerce Product Option and Fields plugin, you can apply user role settings using the below steps: Go to Products &gt; Products Add ons &gt; Add New Add on &gt; User Roles. User Roles: If you want to show add-ons to specific [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/","og_site_name":"Documentation","og_image":[{"url":"https:\/\/lh6.googleusercontent.com\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/","url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/","name":"How to Restrict Certain Options by User Roles? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/#primaryimage"},"thumbnailUrl":"https:\/\/lh6.googleusercontent.com\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw","datePublished":"2023-08-18T10:59:19+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/#primaryimage","url":"https:\/\/lh6.googleusercontent.com\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw","contentUrl":"https:\/\/lh6.googleusercontent.com\/V3xen2Uo9bEKVNj2rakMg-mB5RZXW0Z1hcQbl3d63w5KaKlgzcm6cQbyzVvMBMOlJ0inbb1eMkOk-EmcfIcs2Xne2kuq31i8KJ9vBSevYoPVGI2c99tjJiTcgV_MkCNPOBZmWAcFiSU7HEiEsd4nQRw"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/how-to-restrict-certain-options-by-user-roles\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"WooCommerce","item":"https:\/\/addify.store\/documentation\/woocommerce\/"},{"@type":"ListItem","position":3,"name":"WooCommerce Product Option and Fields \/ Product Addon","item":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/"},{"@type":"ListItem","position":4,"name":"How To\u2019s WPO","item":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-product-option-and-fields-product-addon\/how-tos\/"},{"@type":"ListItem","position":5,"name":"How to Restrict Certain Options by User Roles?"}]},{"@type":"WebSite","@id":"https:\/\/addify.store\/documentation\/#website","url":"https:\/\/addify.store\/documentation\/","name":"Documentation","description":"Documentation for Addify Extensions","publisher":{"@id":"https:\/\/addify.store\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/addify.store\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/addify.store\/documentation\/#organization","name":"Documentation","url":"https:\/\/addify.store\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","width":6761,"height":1853,"caption":"Documentation"},"image":{"@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/comments?post=2077"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2077\/revisions"}],"predecessor-version":[{"id":2078,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2077\/revisions\/2078"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2069"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=2077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}