{"id":6054,"date":"2023-11-30T09:59:11","date_gmt":"2023-11-30T09:59:11","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=6054"},"modified":"2023-11-30T09:59:11","modified_gmt":"2023-11-30T09:59:11","slug":"setting-up-magento-2-password-protected-products-and-pages","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/","title":{"rendered":"Setting Up Magento 2 Password Protected Products and Pages"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Protecting Specific Products, Pages, &amp; Categories in Magento 2&nbsp;<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Adding A New Password Protection<\/h3>\n\n\n\n<p>On the manage password-protected page, click on the &#8220;Add New\u201d button if you want to add protection to any product, category, or CMS page.&nbsp;<\/p>\n\n\n\n<p>The \u201cManage Password Protected\u201d page allows you to configure the following options.&nbsp;<\/p>\n\n\n\n<p><strong>1. Password Protected Information:<\/strong><\/p>\n\n\n\n<p><strong>Title:<\/strong> Specify a descriptive title for the password protection rule&nbsp;<\/p>\n\n\n\n<p><strong>Store View: <\/strong>Choose the store view(s) where the password protection should be applied. Options include:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All Store Views<\/li>\n\n\n\n<li>Default Store View<\/li>\n<\/ul>\n\n\n\n<p><strong>Enable: <\/strong>Toggle the enable switch to activate password protection for the selected content<\/p>\n\n\n\n<p><strong>Priority: <\/strong>Define the priority of the password protection rule<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/YWNsc_FsTBXpW5hVZvmh9nIwl_ILkTuqGqTDGqaSBHJE0Jih3hUKAlymXOZHim6_5ajG56PgbJobQh-wOz8-awzp12Ol02mmII3BliDfmgm8qDfTVt2zq0aqNkJ1ORvObVs1UloKcIBg_KzeDPl7StI\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Assign Products:<\/strong><strong><br><\/strong>In this section, you can search for and select the products you want to protect with a password. Once you&#8217;ve selected the products, they will be protected by the password you specify.<\/p>\n\n\n\n<p>Note: You can filter products by various criteria such as <strong>name, SKU, visibility, and status<\/strong>.&nbsp;<\/p>\n\n\n\n<p><strong>Assign Categories:&nbsp;<\/strong><\/p>\n\n\n\n<p>If you want to protect all products within a specific category, you can do so in this section.&nbsp;<\/p>\n\n\n\n<p>Simply select the categories you want to protect, and the password protection will apply to all products within those categories.<\/p>\n\n\n\n<p><strong>Assign CMS Pages:&nbsp;<\/strong><\/p>\n\n\n\n<p>Select CMS pages that should be protected. The dropdown gives you the following options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>404 Not Found<\/li>\n\n\n\n<li>Home Page<\/li>\n\n\n\n<li>Enable Cookies<\/li>\n\n\n\n<li>Privacy Policy<\/li>\n\n\n\n<li>About Us<\/li>\n\n\n\n<li>Customer Service<\/li>\n<\/ul>\n\n\n\n<p><strong>Manage Passwords<\/strong><\/p>\n\n\n\n<p>This section allows you to add a new password. Click the \u201cadd new\u201d button written on the right side and enter the desired password in the text box.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/9CgYXttsp4Q6rgHxfhaRQ73Kp7rnQIKdQsjGAAGamD1YRbpmyr_0JKLWfI2YNRxujMRIK7B00yBH6g-vA6HXtpPp4p8aPC2IP5EgHl8S1XHQPB_xQLH_o6iXYRtJFjr_HNEF030EdFyVMthGJZf4wDA\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Managing Password-Protected Items in a Grid&nbsp;<\/h2>\n\n\n\n<p>This section is dedicated to effectively managing your password-protected items. The grid provides a comprehensive view of each item, displaying the following information:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ID<\/li>\n\n\n\n<li>Title<\/li>\n\n\n\n<li>Priority<\/li>\n\n\n\n<li>Store View<\/li>\n\n\n\n<li>Status<\/li>\n\n\n\n<li>Date Created<\/li>\n\n\n\n<li>Date Modified<\/li>\n\n\n\n<li>Action<\/li>\n<\/ul>\n\n\n\n<p>Listed below are additional actions available for you to perform on this page:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the &#8220;<strong>Add New<\/strong>&#8221; button to create a new password-protected item.<\/li>\n\n\n\n<li>Use the available<strong> Search and Filtering<\/strong> options to locate specific items quickly.<\/li>\n\n\n\n<li>Choose the <strong>Columns <\/strong>you want to display in the grid&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Note: If you are using the extension for the first time or have not yet created any password-protected items, this dashboard will initially display no records.<\/p>\n\n\n\n<p><strong>General Settings&nbsp;&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>Enabled: <\/strong>Use this option to enable or disable the Magento 2 Password Protected Products and Pages extensions on your website&nbsp;<\/p>\n\n\n\n<p><strong>Yes: <\/strong>Choose Yes to Enable&nbsp;<\/p>\n\n\n\n<p><strong>No: <\/strong>Choose No to Disable&nbsp;<\/p>\n\n\n\n<p><strong>Restrict Page Setting<\/strong><\/p>\n\n\n\n<p>This section allows you to customize the appearance and functionality of password protection for specific pages and products.<\/p>\n\n\n\n<p><strong>Heading: <\/strong>Enter the heading that will be displayed on password-protected pages<\/p>\n\n\n\n<p><strong>Label Text: <\/strong>Set the label text for the password input field<\/p>\n\n\n\n<p><strong>Button Text: <\/strong>Customize the text on the password submission button<\/p>\n\n\n\n<p><strong>Heading:<\/strong><\/p>\n\n\n\n<p><strong>Description: <\/strong>Provide a description or instructions for users entering the password.<\/p>\n\n\n\n<p><strong>Search Engine Optimization<\/strong><\/p>\n\n\n\n<p>In this section, you can optimize the password-protected pages and products for search engines.<\/p>\n\n\n\n<p><strong>Password Protected Identifier: <\/strong>Customize a unique identifier for password-protected pages and products<\/p>\n\n\n\n<p><strong>URL Suffix: <\/strong>Specify a URL suffix to be added to the URLs of password-protected pages and products<\/p>\n\n\n\n<p><strong>Title: <\/strong>Set the title of password-protected pages&nbsp;<\/p>\n\n\n\n<p><strong>Enable Google Bot: <\/strong>Use this option to allow or disallow Google bot to access password-protected pages. The dropdown gives you two options:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Yes<\/li>\n\n\n\n<li>No<\/li>\n<\/ul>\n\n\n\n<p>Click the \u201cSave Config\u201d button to apply the configuration.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/DWWRX1zTOYnfwFmYbDBUq8G38Z6tvGJgIU4m5LKzu0C19PX67qzZUpCSGwjz8sokNbnYW-mtmqP_O1D-E5UqpuIlLABsy3rPTI20wifrBcwn2__LQ370VkpDVZhplDt-FldIpjy_johN17ExxzXOAZs\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Protecting Specific Products, Pages, &amp; Categories in Magento 2&nbsp; Adding A New Password Protection On the manage password-protected page, click on the &#8220;Add New\u201d button if you want to add protection to any product, category, or CMS page.&nbsp; The \u201cManage Password Protected\u201d page allows you to configure the following options.&nbsp; 1. Password Protected Information: Title: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1753,"parent":6046,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"template-parts\/documentation-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-6054","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Setting Up Magento 2 Password Protected Products and Pages - 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\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting Up Magento 2 Password Protected Products and Pages - Documentation\" \/>\n<meta property=\"og:description\" content=\"Protecting Specific Products, Pages, &amp; Categories in Magento 2&nbsp; Adding A New Password Protection On the manage password-protected page, click on the &#8220;Add New\u201d button if you want to add protection to any product, category, or CMS page.&nbsp; The \u201cManage Password Protected\u201d page allows you to configure the following options.&nbsp; 1. Password Protected Information: Title: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"og:image\" content=\"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/\",\"name\":\"Setting Up Magento 2 Password Protected Products and Pages - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/database-usage.png\",\"datePublished\":\"2023-11-30T09:59:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/#primaryimage\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/database-usage.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/database-usage.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/setting-up-magento-2-password-protected-products-and-pages\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Magento 2 Password Protected Products and Pages\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-password-protected-products-and-pages\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Setting Up Magento 2 Password Protected Products and Pages\"}]},{\"@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":"Setting Up Magento 2 Password Protected Products and Pages - 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\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/","og_locale":"en_US","og_type":"article","og_title":"Setting Up Magento 2 Password Protected Products and Pages - Documentation","og_description":"Protecting Specific Products, Pages, &amp; Categories in Magento 2&nbsp; Adding A New Password Protection On the manage password-protected page, click on the &#8220;Add New\u201d button if you want to add protection to any product, category, or CMS page.&nbsp; The \u201cManage Password Protected\u201d page allows you to configure the following options.&nbsp; 1. Password Protected Information: Title: [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/","og_site_name":"Documentation","og_image":[{"width":512,"height":512,"url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/","url":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/","name":"Setting Up Magento 2 Password Protected Products and Pages - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/#primaryimage"},"thumbnailUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","datePublished":"2023-11-30T09:59:11+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/#primaryimage","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/setting-up-magento-2-password-protected-products-and-pages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"Magento","item":"https:\/\/addify.store\/documentation\/magento\/"},{"@type":"ListItem","position":3,"name":"Magento 2 Password Protected Products and Pages","item":"https:\/\/addify.store\/documentation\/magento\/magento-2-password-protected-products-and-pages\/"},{"@type":"ListItem","position":4,"name":"Setting Up Magento 2 Password Protected Products and Pages"}]},{"@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\/6054","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=6054"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/6054\/revisions"}],"predecessor-version":[{"id":6055,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/6054\/revisions\/6055"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/6046"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media\/1753"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=6054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}