{"id":2789,"date":"2022-07-28T22:18:47","date_gmt":"2022-07-28T16:48:47","guid":{"rendered":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/"},"modified":"2022-07-28T22:27:47","modified_gmt":"2022-07-28T16:57:47","slug":"adding-script-to-pages-using-this-module","status":"publish","type":"docs","link":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/","title":{"rendered":"Adding script to pages using this module"},"content":{"rendered":"\n<p>This feature is added to module version <strong>5.1.2<\/strong> <\/p>\n\n\n\n<p>Version 5.1.2 is only available for OpenCart 2.3.0.2 and all OpenCart 3.x.x.x versions. <\/p>\n\n\n\n<p>You can now add script or code using this module and place the module to particular layout or page or particular category or categories, particular product or products, particular brand or brands.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">For Example:<\/h2>\n\n\n\n<p>You can remove all the content from the &#8220;<strong>content<\/strong>&#8221; tab and use only the JS script field to add the script to your storefront pages.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"741\" src=\"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png\" alt=\"\" class=\"wp-image-2791\" srcset=\"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png 877w, https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3-300x253.png 300w, https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3-768x649.png 768w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/a><\/figure>\n\n\n\n<p>You can assign filters as per your requirement so that the script works only on those pages.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"965\" height=\"574\" src=\"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-4.png\" alt=\"\" class=\"wp-image-2792\" srcset=\"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-4.png 965w, https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-4-300x178.png 300w, https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-4-768x457.png 768w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/a><\/figure>\n","protected":false},"featured_media":0,"parent":648,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2789","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Adding script to pages using this module - HuntBee Resources<\/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:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding script to pages using this module - HuntBee Resources\" \/>\n<meta property=\"og:description\" content=\"This feature is added to module version 5.1.2 Version 5.1.2 is only available for OpenCart 2.3.0.2 and all OpenCart 3.x.x.x versions. You can now add script or code using this module and place the module to particular layout or page or particular category or categories, particular product or products, particular brand or brands. For Example: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/\" \/>\n<meta property=\"og:site_name\" content=\"HuntBee Resources\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/huntbee.opencart\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-28T16:57:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png\" \/>\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:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/\",\"name\":\"Adding script to pages using this module - HuntBee Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/image-3.png\",\"datePublished\":\"2022-07-28T16:48:47+00:00\",\"dateModified\":\"2022-07-28T16:57:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/image-3.png\",\"contentUrl\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/image-3.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/adding-script-to-pages-using-this-module\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Multi-purpose Popup\\\/block &#8211; Newsletter Subscribe &#8211; Easy Account Signup &#8211; Login Popup\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/newsletter-popup-easy-account-registration\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Adding script to pages using this module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"name\":\"HuntBee Resources\",\"description\":\"OpenCart Extension Documentations - Guides - Blogs - Projects\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\",\"name\":\"HuntBee OpenCart\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"contentUrl\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"width\":945,\"height\":200,\"caption\":\"HuntBee OpenCart\"},\"image\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/huntbee.opencart\",\"https:\\\/\\\/www.instagram.com\\\/opencart.huntbee\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding script to pages using this module - HuntBee Resources","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:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/","og_locale":"en_US","og_type":"article","og_title":"Adding script to pages using this module - HuntBee Resources","og_description":"This feature is added to module version 5.1.2 Version 5.1.2 is only available for OpenCart 2.3.0.2 and all OpenCart 3.x.x.x versions. You can now add script or code using this module and place the module to particular layout or page or particular category or categories, particular product or products, particular brand or brands. For Example: [&hellip;]","og_url":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/","og_site_name":"HuntBee Resources","article_publisher":"https:\/\/www.facebook.com\/huntbee.opencart","article_modified_time":"2022-07-28T16:57:47+00:00","og_image":[{"url":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/","url":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/","name":"Adding script to pages using this module - HuntBee Resources","isPartOf":{"@id":"https:\/\/www.huntbee.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/#primaryimage"},"image":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/#primaryimage"},"thumbnailUrl":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png","datePublished":"2022-07-28T16:48:47+00:00","dateModified":"2022-07-28T16:57:47+00:00","breadcrumb":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/#primaryimage","url":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png","contentUrl":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2022\/07\/image-3.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/adding-script-to-pages-using-this-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.huntbee.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Multi-purpose Popup\/block &#8211; Newsletter Subscribe &#8211; Easy Account Signup &#8211; Login Popup","item":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/"},{"@type":"ListItem","position":3,"name":"Adding script to pages using this module"}]},{"@type":"WebSite","@id":"https:\/\/www.huntbee.com\/resources\/#website","url":"https:\/\/www.huntbee.com\/resources\/","name":"HuntBee Resources","description":"OpenCart Extension Documentations - Guides - Blogs - Projects","publisher":{"@id":"https:\/\/www.huntbee.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.huntbee.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.huntbee.com\/resources\/#organization","name":"HuntBee OpenCart","url":"https:\/\/www.huntbee.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","contentUrl":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","width":945,"height":200,"caption":"HuntBee OpenCart"},"image":{"@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/huntbee.opencart","https:\/\/www.instagram.com\/opencart.huntbee\/"]}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/2789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/comments?post=2789"}],"version-history":[{"count":2,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/2789\/revisions"}],"predecessor-version":[{"id":2794,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/2789\/revisions\/2794"}],"up":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/648"}],"prev":[{"title":"Advanced Setup","link":"https:\/\/www.huntbee.com\/resources\/docs\/newsletter-popup-easy-account-registration\/advanced-setup\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/1044"}],"wp:attachment":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/media?parent=2789"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=2789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}