{"id":42583,"date":"2016-03-04T18:43:26","date_gmt":"2016-03-04T18:43:26","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=42583"},"modified":"2024-03-04T07:43:27","modified_gmt":"2024-03-04T07:43:27","slug":"how-to-write-javascript-template-in-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/","title":{"rendered":"How to write JavaScript template in Magento2"},"content":{"rendered":"\n<p>How to write JavaScript template in Magento2 :<\/p>\n\n\n\n<p>Magento 2 JavaScript Template is known as a standard template to help developers to quickly make HTML code that is repeated many times while only data is different. Therefore, creating a template will help developers to write code snippets quicker, save more time than before.<\/p>\n\n\n\n<p>If want to append a clone of your html code on any event with different value then it will be the best practice to use JavaScript template , So in this post, I will show you a Magento 2 JavaScript tutorial: the best way to create a JavaScript template. Follow the steps below and quickly create a template for your own.<\/p>\n\n\n\n<p>Include \u00a0JavaScript template to your phtml file &#8211; <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;button id=&quot;customer-button&quot;&gt;\n    &lt;span&gt;Click Here to get customer data&lt;\/span&gt;\n&lt;\/button&gt;\n&lt;div id =&quot;customer-container&quot;&gt;\n    &lt;script id=&quot;customer-template&quot; type=&quot;text\/x-magento-template&quot;&gt;\n        &lt;ul id=&quot;&lt;%- data.id %&gt;&quot;&gt;\n            &lt;li&gt;\n                Name : &lt;%- data.name %&gt;\n            &lt;\/li&gt;\n            &lt;li&gt;\n                Salary : &lt;%- data.salary %&gt;\n            &lt;\/li&gt;\n            &lt;li&gt;\n                Location : &lt;%- data.location %&gt;\n            &lt;\/li&gt;\n        &lt;\/ul&gt;\n    &lt;\/script&gt;\n&lt;\/div&gt;<\/pre>\n\n\n\n<p>2. Prepare Customer Data for setting in javascript template &#8211;<\/p>\n\n\n\n<p>The data sample can be as below:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$customerData = &#091;\n    &#091;&#039;name&#039; =&gt; &quot;John Doe&quot;,\n    &#039;salary&#039; =&gt; &quot;1000 USD&quot;,\n    &#039;location&#039; =&gt; &quot;California&quot;],\n    &#091;&#039;name&#039; =&gt; &quot;Jane Doe&quot;,\n    &#039;salary&#039; =&gt; &quot;800 USD&quot;,\n    &#039;location&#039; =&gt; &quot;Florida&quot;],\n    &#091;&#039;name&#039; =&gt; &quot;Bob Doe&quot;,\n    &#039;salary&#039; =&gt; &quot;500 USD&quot;,\n    &#039;location&#039; =&gt; &quot;California&quot;],\n];\n$jsonCustomerData = $this-&gt;helper(&#039;Magento\\Framework\\Json\\Helper\\Data&#039;)-&gt;jsonEncode($customerData);<\/pre>\n\n\n\n<p>3. Write javascript code for appending data in your js\u00a0template<\/p>\n\n\n\n<p class=\"has-text-align-left\">&nbsp; &nbsp; &nbsp; &nbsp; In the web\/js folder, you create the jstemplate.js file and use the code below:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">require(&#091;\n    &quot;jquery&quot;,\n    &#039;mage\/template&#039;,\n    &quot;mage\/mage&quot;\n], function ($, mageTemplate, alert){\n    $(&#039;#customer-button&#039;).click(function(){\n        $.each($.parseJSON(&#039;&lt;?php echo $jsonCustomerData ?&gt;&#039;), function() {\n            console.log(&#039;sss&#039;);\n            var progressTmpl = mageTemplate(&#039;#customer-template&#039;),\n                      tmpl;\n            tmpl = progressTmpl({\n                data: {\n                    name: this&#091;&#039;name&#039;],\n                    salary: this&#091;&#039;salary&#039;],\n                    location: this&#091;&#039;location&#039;],\n                }\n            });\n            $(&#039;#customer-container&#039;).after(tmpl);\n        });\n    });\n});<\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Now you will see a &#8220;button&#8221; and on click on this button customer data will be displayed as shown in the screenshot<br><img decoding=\"async\" class=\"alignnone size-full wp-image-42593\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/FlQRBKD.png\" alt=\"FlQRBKD\" width=\"450\" height=\"380\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/FlQRBKD.png 450w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/FlQRBKD-250x211.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/FlQRBKD-300x253.png 300w\" sizes=\"(max-width: 450px) 100vw, 450px\" loading=\"lazy\" \/><\/li>\n<\/ol>\n\n\n\n<p><b>*Note<\/b>:&nbsp;Input data must be JSON type.<\/p>\n\n\n\n<p>In this script, I use the .each () loop to retrieve data from the JavaScript file and use &lt;ul&gt;, &lt;li&gt; &nbsp;tags in order to build a template.<\/p>\n\n\n\n<p>By following all above steps in this Magento 2 JavaScript tutorial, you absolutely create a Magento 2 Javascript template on your own. Please Like, Share or Comment your thought if you have any issues. We are willing to discuss with you.<\/p>\n\n\n\n<p>How to write JavaScript template in Magento2<\/p>\n\n\n\n<p>You can also check :<\/p>\n\n\n\n<p><a href=\"https:\/\/webkul.com\/blog\/how-to-use-javascript-in-magento2\/\">https:\/\/webkul.com\/blog\/how-to-use-javascript-in-magento2\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/devdocs.magento.com\/guides\/v2.3\/ui_comp_guide\/concepts\/knockout-bindings.html\">https:\/\/devdocs.magento.com\/guides\/v2.3\/ui_comp_guide\/concepts\/knockout-bindings.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to write JavaScript template in Magento2 : Magento 2 JavaScript Template is known as a standard template to help developers to quickly make HTML code that is repeated many times while only data is different. Therefore, creating a template will help developers to write code snippets quicker, save more time than before. If want <a href=\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":15,"featured_media":39718,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[2831,2070,2832],"class_list":["post-42583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-javascript-template","tag-magento2","tag-magento2-javascript-template"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to write JavaScript template in Magento2 - Webkul Blog<\/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:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to write JavaScript template in Magento2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"How to write JavaScript template in Magento2 : Magento 2 JavaScript Template is known as a standard template to help developers to quickly make HTML code that is repeated many times while only data is different. Therefore, creating a template will help developers to write code snippets quicker, save more time than before. If want [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-04T18:43:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-04T07:43:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pooja Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pooja Sahu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\"},\"author\":{\"name\":\"Pooja Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\"},\"headline\":\"How to write JavaScript template in Magento2\",\"datePublished\":\"2016-03-04T18:43:26+00:00\",\"dateModified\":\"2024-03-04T07:43:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\"},\"wordCount\":299,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"keywords\":[\"javascript template\",\"Magento2\",\"Magento2 JavaScript template\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\",\"name\":\"How to write JavaScript template in Magento2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"datePublished\":\"2016-03-04T18:43:26+00:00\",\"dateModified\":\"2024-03-04T07:43:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to write JavaScript template in Magento2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\",\"name\":\"Pooja Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Pooja Sahu\"},\"description\":\"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/pooja\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to write JavaScript template in Magento2 - Webkul Blog","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:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/","og_locale":"en_US","og_type":"article","og_title":"How to write JavaScript template in Magento2 - Webkul Blog","og_description":"How to write JavaScript template in Magento2 : Magento 2 JavaScript Template is known as a standard template to help developers to quickly make HTML code that is repeated many times while only data is different. Therefore, creating a template will help developers to write code snippets quicker, save more time than before. If want [...]","og_url":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-03-04T18:43:26+00:00","article_modified_time":"2024-03-04T07:43:27+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","type":"image\/png"}],"author":"Pooja Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Pooja Sahu","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/"},"author":{"name":"Pooja Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b"},"headline":"How to write JavaScript template in Magento2","datePublished":"2016-03-04T18:43:26+00:00","dateModified":"2024-03-04T07:43:27+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/"},"wordCount":299,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","keywords":["javascript template","Magento2","Magento2 JavaScript template"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/","url":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/","name":"How to write JavaScript template in Magento2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","datePublished":"2016-03-04T18:43:26+00:00","dateModified":"2024-03-04T07:43:27+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-write-javascript-template-in-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to write JavaScript template in Magento2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b","name":"Pooja Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Pooja Sahu"},"description":"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.","url":"https:\/\/webkul.com\/blog\/author\/pooja\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/42583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=42583"}],"version-history":[{"count":8,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/42583\/revisions"}],"predecessor-version":[{"id":425831,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/42583\/revisions\/425831"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/39718"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=42583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=42583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=42583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}