{"id":119,"date":"2020-02-28T15:59:34","date_gmt":"2020-02-28T15:59:34","guid":{"rendered":"http:\/\/wiki2.plumserver.com\/knowledge-base\/magento-2-popup-login-v2-x-developers-guide-and-api-reference"},"modified":"2021-09-24T05:18:06","modified_gmt":"2021-09-24T09:18:06","slug":"magento-2-popup-login-v2-x-developers-guide-and-api-reference","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide","title":{"rendered":"Magento 2 Popup Login v2.x Developer Guide &#038; API Reference"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"display-popup-manually\">Display Popup Manually<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In order to configure the <a href=\"\/magento-popup-login\">Popup Login Extension<\/a> for a particular page element, you will have to select <strong>&#8220;Manually&#8221;<\/strong> for the option <strong>&#8220;Display Popup&#8221;<\/strong> in the extension settings as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/docs\/wp-content\/uploads\/2020\/05\/1_magento_2_popup_login_developer_guide.jpg\" alt=\"1 magento 2 popup login developer guide.jpg\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You will also have to add a class <strong>&#8220;show_popup_login&#8221;<\/strong> to the object to trigger the popup login.<\/p>\n\n\n<div class=\"example-block\">\n<p class=\"example-block-title\">Code Example<\/p>\n<div class=\"wp-block-prismatic-blocks\">\n<div><\/div>\n<pre><code class=\"language-markup\" data-line=\"\">&lt;a href=&quot;\/seespecialevent&quot; class=&quot;show_popup_login&quot;&gt;See Special Event&lt;\/a&gt;<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">In order to display selected popup form after click on link, you need to add the parameter <strong>data-form=&#8221;registration&#8221;<\/strong> .<\/p>\n\n\n<div class=\"example-block\">\n<p class=\"example-block-title\">Code Example<\/p>\n<div class=\"wp-block-prismatic-blocks\">\n<div><\/div>\n<pre><code class=\"language-markup\" data-line=\"\">&lt;a class=&quot;show_popup_login&quot;  data-form=&quot;registration&quot;  \n        href=&quot;http:\/\/yourstore.com\/magento2\/index.php\/customer\/account\/create\/&quot;&gt;\n        Create an Account\n    &lt;\/a&gt;<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"disable-popup-manually\">Disable Popup Manually<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to disable Popup only for a particular element on the page, you will have to add the parameter <strong>data-popup=&#8221;off&#8221;<\/strong> to the selected element. For instance, if you want to disable Pop up for the &#8220;About Us&#8221; link, you will have to edit the code.<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-markup\" data-line=\"\">&lt;a href=&quot;\/about\/&quot;&gt;About Us&lt;\/a&gt;<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">making the following changes:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-markup\" data-line=\"\">&lt;a href=&quot;\/about\/&quot; data-popup=&quot;off&quot; &gt;About Us&lt;\/a&gt;<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Display Popup Manually In order to configure the Popup Login Extension for a particular page element, you will have to select &#8220;Manually&#8221; for the option &#8220;Display Popup&#8221; in the extension settings as shown below. You will also have to add a class &#8220;show_popup_login&#8221; to the object to trigger the popup login. Code Example &lt;a href=&quot;\/seespecialevent&quot; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2 Popup Login v2.x Developer Guide &#038; API Reference&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[185],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-magento-popup-login-v2","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v28.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Magento 2 Popup Login v2.x Developer Guide &amp; API Reference - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"Display Popup Manually In order to configure the Popup Login Extension for a particular page element, you will have to select &quot;Manually&quot; for the option\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 Popup Login v2.x Developer Guide &amp; API Reference\" \/>\n<meta property=\"og:description\" content=\"Display Popup Manually In order to configure the Popup Login Extension for a particular page element, you will have to select &quot;Manually&quot; for the option\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-28T15:59:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-24T09:18:06+00:00\" \/>\n<meta name=\"author\" content=\"Plumrocket\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Magento 2 Popup Login v2.x Developer Guide & API Reference - Plumrocket Documentation","description":"Display Popup Manually In order to configure the Popup Login Extension for a particular page element, you will have to select \"Manually\" for the option","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:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide","og_locale":"en_US","og_type":"article","og_title":"Magento 2 Popup Login v2.x Developer Guide & API Reference","og_description":"Display Popup Manually In order to configure the Popup Login Extension for a particular page element, you will have to select \"Manually\" for the option","og_url":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide","og_site_name":"Plumrocket Documentation","article_published_time":"2020-02-28T15:59:34+00:00","article_modified_time":"2021-09-24T09:18:06+00:00","author":"Plumrocket","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide#article","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide"},"author":{"name":"Plumrocket","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20"},"headline":"Magento 2 Popup Login v2.x Developer Guide &#038; API Reference","datePublished":"2020-02-28T15:59:34+00:00","dateModified":"2021-09-24T09:18:06+00:00","mainEntityOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide"},"wordCount":140,"commentCount":0,"articleSection":["v2"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide","url":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide","name":"Magento 2 Popup Login v2.x Developer Guide & API Reference - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"datePublished":"2020-02-28T15:59:34+00:00","dateModified":"2021-09-24T09:18:06+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20"},"description":"Display Popup Manually In order to configure the Popup Login Extension for a particular page element, you will have to select \"Manually\" for the option","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 Popup Login","item":"https:\/\/plumrocket.com\/magento-popup-login"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-popup-login"},{"@type":"ListItem","position":4,"name":"v2","item":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2"},{"@type":"ListItem","position":5,"name":"Developer Guide"}]},{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20","name":"Plumrocket","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/85ed2f38dbe6a031f443b1949101e9b31bbd6985eae2cac6695629e7ad280aee?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/85ed2f38dbe6a031f443b1949101e9b31bbd6985eae2cac6695629e7ad280aee?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/85ed2f38dbe6a031f443b1949101e9b31bbd6985eae2cac6695629e7ad280aee?s=96&d=mm&r=g","caption":"Plumrocket"},"sameAs":["https:\/\/plumrocket.com\/docs"]}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":2,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":24378,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/119\/revisions\/24378"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}