{"id":73041,"date":"2017-01-27T15:56:00","date_gmt":"2017-01-27T15:56:00","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=73041"},"modified":"2017-01-27T16:01:11","modified_gmt":"2017-01-27T16:01:11","slug":"opencart-wishlist-management","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/","title":{"rendered":"Opencart Wishlist Management"},"content":{"rendered":"<p>Today we will learn about how Opencart manage the wishlist for customer before and after his login. In the Opencart customer can add any number of product in his wishlist.<\/p>\n<p>When customer press the wishlist button for any particular product it sends an ajax request to the controller account\/wishlist and process it and add it to the customer wishlist. Lets take a deep look in all these process.<\/p>\n<p>In Opencart at the button of the wishlist it fired the event onclick which call the add method of common.js file which is already loaded in the document during the header load.<\/p>\n<pre class=\"brush:php\">\/\/Calls the add method of the wishlist object by passing the product id of common.js file whcih is already loaded with the header\r\n&lt;button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\"&lt;?php echo $button_wishlist; ?&gt;\" onclick=\"wishlist.add('&lt;?php echo $product_id; ?&gt;');\"&gt;&lt;i class=\"fa fa-heart\"&gt;&lt;\/i&gt;&lt;\/button&gt;<\/pre>\n<p>In the add method of the common.js file it sends an ajax request to the controller account\/wishlist with the product id \u00a0 and calls the add method of the controller.<\/p>\n<pre class=\"brush:js\">var wishlist = {\r\n\t'add': function(product_id) {\r\n\t\t$.ajax({\r\n\t\t\turl: 'index.php?route=account\/wishlist\/add',\r\n\t\t\ttype: 'post',\r\n\t\t\tdata: 'product_id=' + product_id,\r\n\t\t\tdataType: 'json',<\/pre>\n<p>After getting the product id it at the conroller it first check for product id valid and after that it checks that customer is logged in or not.<\/p>\n<p><span style=\"text-decoration: underline\">If customer is login :<\/span> Opencart directly insert the wishlist data to the database for that customer by deleting that product if\u00a0 already in wishlist.<\/p>\n<pre class=\"brush:php\">if ($this-&gt;customer-&gt;isLogged()) {\r\n        $this-&gt;load-&gt;model('account\/wishlist');\r\n\r\n\t\/\/ It calls the addwishlist to insert prodcut in the databse for that customer \r\n\t$this-&gt;model_account_wishlist-&gt;addWishlist($this-&gt;request-&gt;post['product_id']); \/\/In addWishlist method it first delete if there product already added for that customer in his wishlist then insert it\r\n\r\n\t$json['success'] = sprintf($this-&gt;language-&gt;get('text_success'), $this-&gt;url-&gt;link('product\/product', 'product_id=' . (int)$this-&gt;request-&gt;post['product_id']), $product_info['name'], $this-&gt;url-&gt;link('account\/wishlist'));\r\n\r\n\t$json['total'] = sprintf($this-&gt;language-&gt;get('text_wishlist'), $this-&gt;model_account_wishlist-&gt;getTotalWishlist());\r\n}<\/pre>\n<p><span style=\"text-decoration: underline\">If customer is not login :<\/span> Opencart preserve it into the session in the wishlist index and send the response with the message to login or create account to save wishlist data.<\/p>\n<pre class=\"brush:php\">if (!isset($this-&gt;session-&gt;data['wishlist'])) { \/\/ Check that alredy wishlist index or not and create an array of wishlist to preserve all the wishlist data for this session\r\n\r\n\t$this-&gt;session-&gt;data['wishlist'] = array();\r\n\r\n}\r\n$this-&gt;session-&gt;data['wishlist'][] = $this-&gt;request-&gt;post['product_id'];\r\n\r\n$this-&gt;session-&gt;data['wishlist'] = array_unique($this-&gt;session-&gt;data['wishlist']); \/\/Remove the duplicate values if any\r\n\r\n\/\/Success message to login or create an account to save the wish list data\r\n$json['success'] = sprintf($this-&gt;language-&gt;get('text_login'), $this-&gt;url-&gt;link('account\/login', '', true), $this-&gt;url-&gt;link('account\/register', '', true), $this-&gt;url-&gt;link('product\/product', 'product_id=' . (int)$this-&gt;request-&gt;post['product_id']), $product_info['name'], $this-&gt;url-&gt;link('account\/wishlist'));\r\n\r\n$json['total'] = sprintf($this-&gt;language-&gt;get('text_wishlist'), (isset($this-&gt;session-&gt;data['wishlist']) ? count($this-&gt;session-&gt;data['wishlist']) : 0));<\/pre>\n<p>After login to the customer or creating an account it takes all the wishlist index data of the session and add it to the wish list.<\/p>\n<pre class=\"brush:php\">\/\/ At the account\/login and checkout\/login controller after login to the customer \r\n      if (isset($this-&gt;session-&gt;data['wishlist']) &amp;&amp; is_array($this-&gt;session-&gt;data['wishlist'])) {\r\n\t $this-&gt;load-&gt;model('account\/wishlist');\r\n\t  \/\/Add each product to wishlist and unset them from the session\r\n\t  foreach ($this-&gt;session-&gt;data['wishlist'] as $key =&gt; $product_id) {\r\n\t   $this-&gt;model_account_wishlist-&gt;addWishlist($product_id);\r\n\r\n\t    unset($this-&gt;session-&gt;data['wishlist'][$key]);\r\n\t}\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Today we will learn about how Opencart manage the wishlist for customer before and after his login. In the Opencart customer can add any number of product in his wishlist. When customer press the wishlist button for any particular product it sends an ajax request to the controller account\/wishlist and process it and add it <a href=\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":125,"featured_media":41008,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[305],"tags":[],"class_list":["post-73041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-opencart"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Opencart Wishlist Management - 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\/opencart-wishlist-management\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Opencart Wishlist Management - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Today we will learn about how Opencart manage the wishlist for customer before and after his login. In the Opencart customer can add any number of product in his wishlist. When customer press the wishlist button for any particular product it sends an ajax request to the controller account\/wishlist and process it and add it [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/\" \/>\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=\"2017-01-27T15:56:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-27T16:01:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.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=\"Saurabh Singh\" \/>\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=\"Saurabh Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/\"},\"author\":{\"name\":\"Saurabh Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f599495ef5c4b4084ae49efd9878ad94\"},\"headline\":\"Opencart Wishlist Management\",\"datePublished\":\"2017-01-27T15:56:00+00:00\",\"dateModified\":\"2017-01-27T16:01:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/\"},\"wordCount\":245,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"articleSection\":[\"opencart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/\",\"url\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/\",\"name\":\"Opencart Wishlist Management - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"datePublished\":\"2017-01-27T15:56:00+00:00\",\"dateModified\":\"2017-01-27T16:01:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Opencart Wishlist Management\"}]},{\"@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\/f599495ef5c4b4084ae49efd9878ad94\",\"name\":\"Saurabh Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/43a07724ddc53f3f8f0d55ba2674542b3c61d51880ca31332d27cdebb18e3ea0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/43a07724ddc53f3f8f0d55ba2674542b3c61d51880ca31332d27cdebb18e3ea0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Saurabh Singh\"},\"sameAs\":[\"http:\/\/webkul.com\/blog\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/saurabh-singh631\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Opencart Wishlist Management - 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\/opencart-wishlist-management\/","og_locale":"en_US","og_type":"article","og_title":"Opencart Wishlist Management - Webkul Blog","og_description":"Today we will learn about how Opencart manage the wishlist for customer before and after his login. In the Opencart customer can add any number of product in his wishlist. When customer press the wishlist button for any particular product it sends an ajax request to the controller account\/wishlist and process it and add it [...]","og_url":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-01-27T15:56:00+00:00","article_modified_time":"2017-01-27T16:01:11+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","type":"image\/png"}],"author":"Saurabh Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Saurabh Singh","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/"},"author":{"name":"Saurabh Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f599495ef5c4b4084ae49efd9878ad94"},"headline":"Opencart Wishlist Management","datePublished":"2017-01-27T15:56:00+00:00","dateModified":"2017-01-27T16:01:11+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/"},"wordCount":245,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","articleSection":["opencart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/","url":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/","name":"Opencart Wishlist Management - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","datePublished":"2017-01-27T15:56:00+00:00","dateModified":"2017-01-27T16:01:11+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/opencart-wishlist-management\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/opencart-wishlist-management\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Opencart Wishlist Management"}]},{"@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\/f599495ef5c4b4084ae49efd9878ad94","name":"Saurabh Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/43a07724ddc53f3f8f0d55ba2674542b3c61d51880ca31332d27cdebb18e3ea0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/43a07724ddc53f3f8f0d55ba2674542b3c61d51880ca31332d27cdebb18e3ea0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Saurabh Singh"},"sameAs":["http:\/\/webkul.com\/blog"],"url":"https:\/\/webkul.com\/blog\/author\/saurabh-singh631\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/73041","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\/125"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=73041"}],"version-history":[{"count":12,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/73041\/revisions"}],"predecessor-version":[{"id":73066,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/73041\/revisions\/73066"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/41008"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=73041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=73041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=73041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}