{"id":4340,"date":"2023-01-26T11:55:03","date_gmt":"2023-01-26T06:25:03","guid":{"rendered":"https:\/\/designcollection.in\/blog\/?p=4340"},"modified":"2024-11-20T15:06:29","modified_gmt":"2024-11-20T09:36:29","slug":"javascript-shopping-cart-tutorial-for-e-commerce","status":"publish","type":"post","link":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/","title":{"rendered":"JavaScript Shopping Cart with Add to Cart Code"},"content":{"rendered":"<h1 class=\"my-2\">JavaScript Shopping Cart Tutorial for E-commerce<\/h1>\r\n<p class=\"my-2\">Creating a shopping cart for an <a class=\"text-primary\" target=\"blank\" href=\"https:\/\/codecanyon.net\/item\/multipurpose-ecommerce-net-solution\/43090479\" rel=\"noopener\">e-commerce website<\/a> can be made simple using JavaScript. This JavaScript shopping cart tutorial for e-commerce will guide you through building a functional and user-friendly shopping cart that enhances the checkout process for your customers.<\/p>\r\n\r\n<h2 class=\"my-2\">JavaScript Shopping Cart Tutorial for E-commerce: HTML Structure<\/h2>\r\n<p class=\"my-2\"><mark>To begin, create a <a class=\"text-primary\" target=\"blank\" href=\"https:\/\/www.w3schools.com\/html\/\" rel=\"noopener\">basic HTML structure<\/a> for your website. This will include a header, a main content area, and a footer. Within the main content area, create sections for displaying products and the shopping cart contents.<\/mark><\/p>\r\n\r\n<h2 class=\"my-2\">Adding JavaScript to Your E-commerce Shopping Cart<\/h2>\r\n<p class=\"my-2\">Next, let&#8217;s add JavaScript to make your shopping cart functional. This is a key part of our JavaScript shopping cart tutorial for e-commerce websites. You\u2019ll create a function to add items to the cart when the &#8220;Add to Cart&#8221; button is clicked.<\/p>\r\n\r\n<h2 class=\"my-2\">Displaying Your E-commerce Cart Contents with JavaScript<\/h2>\r\n<p class=\"my-2\">We will now focus on how to display the contents of the shopping cart. This step is crucial in the JavaScript shopping cart tutorial for e-commerce as it enables you to show users the details of the items in their cart.<\/p>\r\n\r\n<h2 class=\"my-2\">Calculating the Total Cost in the JavaScript Shopping Cart<\/h2>\r\n<p class=\"my-2\"><mark>Once the cart items are displayed, we\u2019ll create a function to calculate the total cost. This function will factor in the quantity and price of each item, a vital step in the JavaScript shopping cart tutorial for e-commerce.<\/mark><\/p>\r\n\r\n<h2 class=\"my-2\">Handling the Checkout Process in the JavaScript Shopping Cart<\/h2>\r\n<p class=\"my-2\">Finally, we need a function to handle the checkout process. This function will gather the customer&#8217;s details (shipping address, payment method, etc.) and send the information to the server for processing. This is an essential part of creating an e-commerce shopping cart using JavaScript.<\/p>\r\n\r\n<h2 class=\"my-2\">Additional Features to Enhance Your E-commerce Cart<\/h2>\r\n<p class=\"my-2\">There are many additional features you can implement to improve your shopping cart, such as:<\/p>\r\n<ul>\r\n    <li class=\"my-2\">Displaying the number of items in the cart in the navigation bar<\/li>\r\n    <li class=\"my-2\">Adding a &#8220;Continue Shopping&#8221; button to return to the product page<\/li>\r\n    <li class=\"my-2\">Showing the total cost of the cart in real-time<\/li>\r\n    <li class=\"my-2\">Saving the cart\u2019s contents in local storage for later use<\/li>\r\n    <li class=\"my-2\">Implementing security measures to prevent attacks<\/li>\r\n<\/ul>\r\n\r\n<h2 class=\"my-2\">JavaScript Example Code for Your E-commerce Cart<\/h2>\r\n<p class=\"my-2\">Here\u2019s an example of the JavaScript code for creating a basic shopping cart:<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/01\/shopping-code.png\" alt=\"shopping-code-1\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n\r\n<p class=\"my-2\">In this example, the `addToCart()` function accepts a product ID, finds the corresponding product in the database, and adds it to the cart.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/01\/shopping-code-1.png\" alt=\"shopping1\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n\r\n<h2 class=\"my-2\">Styling the Shopping Cart with CSS<\/h2>\r\n<p class=\"my-2\">After setting up the basic functions, we can enhance the cart&#8217;s appearance. Use CSS to modify the layout, add hover effects to buttons, and ensure the cart is visually appealing and user-friendly. You can also use CSS to create a responsive design that adjusts based on the user&#8217;s screen size, making the cart accessible across all devices.<\/p>\r\n\r\n<h2 class=\"my-2\">Testing Your E-commerce JavaScript Shopping Cart<\/h2>\r\n<p class=\"my-2\">Once the cart is functional and styled, test it by adding items and going through the checkout process. Try it on different devices and browsers to ensure compatibility. Additionally, tools like Google Analytics can help track user interaction with the cart and provide valuable insights to further improve the experience.<\/p>\r\n\r\n<h2 class=\"my-2\">Conclusion<\/h2>\r\n<p class=\"my-2\"><strong>In conclusion,<\/strong> creating a JavaScript shopping cart for your e-commerce website offers a seamless and interactive checkout experience for your customers. By following the steps in this post, you can build a functional and visually appealing shopping cart. With some practice, you can customize it to meet the unique needs of your business.<\/p>\r\n\r\n<div class=\"d-flex text-center align-items-center justify-content-center flex-wrap\">\r\n    <h5 class=\"py-3 text-center\"><a class=\"text-decoration-none btn btn-outline-info\" target=\"blank\" href=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/01\/Untitled-1.zip\" rel=\"noopener\">Download Source Code<\/a><\/h5>\r\n<\/div>\r\n\r\n<h5 class=\"my-3\">\r\n    <span class=\"badge bd-red-200 mx-1 text-capitalize text-muted fw-normal\">e-commerce <\/span>\r\n    <span class=\"badge bd-green-200 mx-1 text-capitalize text-muted fw-normal\">javascript <\/span>\r\n    <span class=\"badge bd-yellow-200 mx-1 text-capitalize text-muted fw-normal\">HTML<\/span>\r\n    <span class=\"badge bd-cyan-200 text-capitalize mx-1 text-muted fw-normal\">Business<\/span>\r\n    <span class=\"badge bd-orange-200 mx-1 text-capitalize text-muted fw-normal\">Template <\/span>\r\n<\/h5>\r\n","protected":false},"excerpt":{"rendered":"<p>JavaScript Shopping Cart Tutorial for E-commerce Creating a shopping cart for an e-commerce website can be made simple using JavaScript. This JavaScript shopping cart tutorial for e-commerce will guide you through building a functional and user-friendly shopping cart that enhances the checkout process for your customers. JavaScript Shopping Cart Tutorial for E-commerce: HTML Structure To [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6392,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[379],"tags":[376,426,377,372,402],"class_list":["post-4340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","tag-business","tag-e-commerce","tag-html","tag-javascript","tag-template"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JavaScript Shopping Cart Tutorial for E-commerce<\/title>\n<meta name=\"description\" content=\"Learn how to create a JavaScript shopping cart for e-commerce websites with this simple tutorial. Build a functional and user-friendly cart.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Shopping Cart Tutorial for E-commerce\" \/>\n<meta property=\"og:description\" content=\"Learn how to create a JavaScript shopping cart for e-commerce websites with this simple tutorial. Build a functional and user-friendly cart.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog is an ocean of knowledge\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/designcollection.in\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-26T06:25:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-20T09:36:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/01\/Untitled-design-1-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"designcollection\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"designcollection\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/\"},\"author\":{\"name\":\"designcollection\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67\"},\"headline\":\"JavaScript Shopping Cart with Add to Cart Code\",\"datePublished\":\"2023-01-26T06:25:03+00:00\",\"dateModified\":\"2024-11-20T09:36:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/\"},\"wordCount\":598,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\"},\"keywords\":[\"Business\",\"E-commerce\",\"HTML\",\"Javascript\",\"Template\"],\"articleSection\":[\"Javascript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/\",\"url\":\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/\",\"name\":\"JavaScript Shopping Cart Tutorial for E-commerce\",\"isPartOf\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#website\"},\"datePublished\":\"2023-01-26T06:25:03+00:00\",\"dateModified\":\"2024-11-20T09:36:29+00:00\",\"description\":\"Learn how to create a JavaScript shopping cart for e-commerce websites with this simple tutorial. Build a functional and user-friendly cart.\",\"breadcrumb\":{\"@id\":\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/designcollection.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript Shopping Cart with Add to Cart Code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/designcollection.in\/blog\/#website\",\"url\":\"https:\/\/designcollection.in\/blog\/\",\"name\":\"Design Collection\",\"description\":\"Technology Tips, Tutorials, Learning &amp; How to Guides\",\"publisher\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\"},\"alternateName\":\"IT Services | Best Lead Generation Company In Indore - Design Collection\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/designcollection.in\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\",\"name\":\"Design Collection\",\"alternateName\":\"IT Services | Best Lead Generation Company In Indore - Design Collection\",\"url\":\"https:\/\/designcollection.in\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png\",\"contentUrl\":\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png\",\"width\":240,\"height\":41,\"caption\":\"Design Collection\"},\"image\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/designcollection.in\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67\",\"name\":\"designcollection\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g\",\"caption\":\"designcollection\"},\"sameAs\":[\"https:\/\/designcollection.in\/blog\/\"],\"url\":\"https:\/\/designcollection.in\/blog\/author\/designcollection\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Shopping Cart Tutorial for E-commerce","description":"Learn how to create a JavaScript shopping cart for e-commerce websites with this simple tutorial. Build a functional and user-friendly cart.","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:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Shopping Cart Tutorial for E-commerce","og_description":"Learn how to create a JavaScript shopping cart for e-commerce websites with this simple tutorial. Build a functional and user-friendly cart.","og_url":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/","og_site_name":"Blog is an ocean of knowledge","article_publisher":"https:\/\/www.facebook.com\/designcollection.in","article_published_time":"2023-01-26T06:25:03+00:00","article_modified_time":"2024-11-20T09:36:29+00:00","og_image":[{"width":1200,"height":1000,"url":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/01\/Untitled-design-1-1.jpg","type":"image\/jpeg"}],"author":"designcollection","twitter_card":"summary_large_image","twitter_misc":{"Written by":"designcollection","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#article","isPartOf":{"@id":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/"},"author":{"name":"designcollection","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67"},"headline":"JavaScript Shopping Cart with Add to Cart Code","datePublished":"2023-01-26T06:25:03+00:00","dateModified":"2024-11-20T09:36:29+00:00","mainEntityOfPage":{"@id":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/"},"wordCount":598,"commentCount":0,"publisher":{"@id":"https:\/\/designcollection.in\/blog\/#organization"},"keywords":["Business","E-commerce","HTML","Javascript","Template"],"articleSection":["Javascript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/","url":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/","name":"JavaScript Shopping Cart Tutorial for E-commerce","isPartOf":{"@id":"https:\/\/designcollection.in\/blog\/#website"},"datePublished":"2023-01-26T06:25:03+00:00","dateModified":"2024-11-20T09:36:29+00:00","description":"Learn how to create a JavaScript shopping cart for e-commerce websites with this simple tutorial. Build a functional and user-friendly cart.","breadcrumb":{"@id":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/designcollection.in\/blog\/javascript-shopping-cart-tutorial-for-e-commerce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/designcollection.in\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript Shopping Cart with Add to Cart Code"}]},{"@type":"WebSite","@id":"https:\/\/designcollection.in\/blog\/#website","url":"https:\/\/designcollection.in\/blog\/","name":"Design Collection","description":"Technology Tips, Tutorials, Learning &amp; How to Guides","publisher":{"@id":"https:\/\/designcollection.in\/blog\/#organization"},"alternateName":"IT Services | Best Lead Generation Company In Indore - Design Collection","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/designcollection.in\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/designcollection.in\/blog\/#organization","name":"Design Collection","alternateName":"IT Services | Best Lead Generation Company In Indore - Design Collection","url":"https:\/\/designcollection.in\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png","contentUrl":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png","width":240,"height":41,"caption":"Design Collection"},"image":{"@id":"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/designcollection.in"]},{"@type":"Person","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67","name":"designcollection","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g","caption":"designcollection"},"sameAs":["https:\/\/designcollection.in\/blog\/"],"url":"https:\/\/designcollection.in\/blog\/author\/designcollection\/"}]}},"_links":{"self":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/4340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/comments?post=4340"}],"version-history":[{"count":16,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/4340\/revisions"}],"predecessor-version":[{"id":6393,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/4340\/revisions\/6393"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/media\/6392"}],"wp:attachment":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/media?parent=4340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/categories?post=4340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/tags?post=4340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}