{"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 id=\"display-popup-manually\">Display Popup Manually<\/h2>\n\n\n\n<p>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 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>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\">&lt;a href=\"\/seespecialevent\" class=\"show_popup_login\"&gt;See Special Event&lt;\/a&gt;<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n<p>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\">&lt;a class=\"show_popup_login\"  data-form=\"registration\"  \n        href=\"http:\/\/yourstore.com\/magento2\/index.php\/customer\/account\/create\/\"&gt;\n        Create an Account\n    &lt;\/a&gt;<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n<h2 id=\"disable-popup-manually\">Disable Popup Manually<\/h2>\n\n\n\n<p>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\">&lt;a href=\"\/about\/\">About Us&lt;\/a><\/code><\/pre><\/div>\n\n\n\n<p>making the following changes:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-markup\">&lt;a href=\"\/about\/\" data-popup=\"off\" >About Us&lt;\/a><\/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=&#8221;\/seespecialevent&#8221; &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,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[185],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\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 property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/1_magento_2_popup_login_developer_guide.jpg\" \/>\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","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/1_magento_2_popup_login_developer_guide.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@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":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide#primaryimage","inLanguage":"en-US","url":"\/docs\/wp-content\/uploads\/2020\/05\/1_magento_2_popup_login_developer_guide.jpg","contentUrl":"\/docs\/wp-content\/uploads\/2020\/05\/1_magento_2_popup_login_developer_guide.jpg"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide#webpage","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"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-popup-login\/v2\/devguide#primaryimage"},"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":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?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"}],"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}]}}