{"id":25002,"date":"2019-03-05T12:37:52","date_gmt":"2019-03-05T12:37:52","guid":{"rendered":"https:\/\/www.knowband.com\/blog\/?p=25002\/"},"modified":"2019-03-13T14:33:44","modified_gmt":"2019-03-13T05:03:44","slug":"copy-cart-another-cart-order-change-id_cart","status":"publish","type":"post","link":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/","title":{"rendered":"How to Copy cart into another cart in order to change the id_cart?"},"content":{"rendered":"<h2><strong>Objectives of the blog<\/strong><\/h2>\n<p>After reading this blog we will be able to copy the cart into another cart in order to change the Cart Id.<\/p>\n<h3><strong>Requirement<\/strong><\/h3>\n<p>We need to modify the below file to fix the same. We will be making changes in the Core file for the same.<\/p>\n<p><strong>Root dir\\classes\\PaymentModule.php<\/strong><\/p>\n<h3><strong>Procedure<\/strong><\/h3>\n<p>We need to modify the validate order function in the PaymentModule class file. As this function is called only once while completing the order. So we have added the code in the same to avoid multiple cart creation.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">if (self::DEBUG_MODE) {\r\nPrestaShopLogger::addLog(&#039;PaymentModule::validateOrder - Function called&#039;, 1, null, &#039;Cart&#039;, (int)$id_cart, true);\r\n}\r\nif (!isset($this-&gt;context)) {\r\n$this-&gt;context = Context::getContext();\r\n}\r\n$this-&gt;context-&gt;cart = new Cart((int)$id_cart);<\/pre>\n<p>&nbsp;<\/p>\n<p>Below code needs to be added in the validate order function after above lines.<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">\/\/ changes started\r\n\/\/ To save the secure key of current cart id and reassign the same to new cart\r\n$old_cart_secure_key = $this-&gt;context-&gt;cart-&gt;secure_key;\r\n\/\/ To save the customer id of current cart id and reassign the same to new cart\r\n$old_cart_customer_id = (int)$this-&gt;context-&gt;cart-&gt;id_customer;\r\n\/\/ To unmap the customer from old cart\r\n$this-&gt;context-&gt;cart-&gt;id_customer = 0;\r\n\/\/ To update the cart\r\n$this-&gt;context-&gt;cart-&gt;save();\r\n\/\/ To fetch the current cart products\r\n$cart_products = $this-&gt;context-&gt;cart-&gt;getProducts();\r\n\/\/ Creating new cart object\r\n$this-&gt;context-&gt;cart = new Cart();\r\n$this-&gt;context-&gt;cart-&gt;id_lang = $this-&gt;context-&gt;language-&gt;id;\r\n$this-&gt;context-&gt;cart-&gt;id_currency = $this-&gt;context-&gt;currency-&gt;id;\r\n\/\/ to add new cart\r\n$this-&gt;context-&gt;cart-&gt;add();\r\n\/\/ to update the new cart\r\nforeach ($cart_products as $product) {\r\n$this-&gt;context-&gt;cart-&gt;updateQty((int) $product[&#039;quantity&#039;], (int) $product[&#039;id_product&#039;], (int) $product[&#039;id_product_attribute&#039;]);\r\n}\r\nif ($this-&gt;context-&gt;cookie-&gt;id_guest) {\r\n$guest = new Guest($this-&gt;context-&gt;cookie-&gt;id_guest);\r\n$this-&gt;context-&gt;cart-&gt;mobile_theme = $guest-&gt;mobile_theme;\r\n}\r\n\/\/ to map the new cart with the customer\r\n$this-&gt;context-&gt;cart-&gt;id_customer = $old_cart_customer_id;\r\n\/\/ to save the new cart\r\n$this-&gt;context-&gt;cart-&gt;save();\r\nif ($this-&gt;context-&gt;cart-&gt;id) {\r\n$this-&gt;context-&gt;cookie-&gt;id_cart = (int) $this-&gt;context-&gt;cart-&gt;id;\r\n$this-&gt;context-&gt;cookie-&gt;write();\r\n}\r\n\/\/ to update the $id_cart with that of new cart\r\n$id_cart = (int) $this-&gt;context-&gt;cart-&gt;id;\r\n$this-&gt;context-&gt;cart-&gt;secure_key = $old_cart_secure_key;\r\n\/\/ changes over<\/pre>\n<p>&nbsp;<\/p>\n<p>After following the above procedure, the shopping cart list will look like this i.e having a duplicate cart with the same details as of the cart with which the order is placed.<br \/>\n<a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25003 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png\" alt=\"shopping-cart-list\" width=\"1349\" height=\"625\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png 1349w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list-300x139.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list-768x356.png 768w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list-1024x474.png 1024w\" sizes=\"auto, (max-width: 1349px) 100vw, 1349px\" \/><\/a><\/p>\n<h3><\/h3>\n<h3><strong>Summary<\/strong><\/h3>\n<p>After following the above procedure, You will be able to copy the cart into another cart in order to change the id_cart.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Objectives of the blog After reading this blog we will be able to copy the cart into another cart in order to change the Cart Id. Requirement We need to modify the below file to fix the same. We will be making changes in the Core file for the same. Root dir\\classes\\PaymentModule.php Procedure We need [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kbui_enabled":"","footnotes":""},"categories":[5],"tags":[9232,9028,9231,9029,9233,8882],"class_list":["post-25002","post","type-post","status-publish","format-standard","hentry","category-prestashop-tutorials","tag-change-cart-id-in-prestashop","tag-copy-cart","tag-copy-cart-into-another-cart-in-prestashop","tag-id_cart","tag-prestashop-copy-cart-into-another-cart-for-changing-cart-id","tag-prestashop-tutorial"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Copy cart into another cart in order to change the id_cart?<\/title>\n<meta name=\"description\" content=\"After reading this blog , you will be able to copy the cart into another cart in order to change the id_cart. Follow the steps for implementation.\" \/>\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.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Copy cart into another cart in order to change the id_cart?\" \/>\n<meta property=\"og:description\" content=\"After reading this blog , you will be able to copy the cart into another cart in order to change the id_cart. Follow the steps for implementation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Knowband\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-05T12:37:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-13T05:03:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1349\" \/>\n\t<meta property=\"og:image:height\" content=\"625\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rishabh Jain\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:site\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rishabh Jain\" \/>\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:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/\"},\"author\":{\"name\":\"Rishabh Jain\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/630b7226ac04dfa5eec7f12e448d607f\"},\"headline\":\"How to Copy cart into another cart in order to change the id_cart?\",\"datePublished\":\"2019-03-05T12:37:52+00:00\",\"dateModified\":\"2019-03-13T05:03:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/\"},\"wordCount\":182,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/Shopping-Cart-list.png\",\"keywords\":[\"Change Cart id in Prestashop\",\"copy cart\",\"Copy cart into another Cart in Prestashop\",\"id_cart\",\"Prestashop Copy cart into another cart for changing cart id\",\"prestashop tutorial\"],\"articleSection\":[\"Prestashop Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/\",\"name\":\"How to Copy cart into another cart in order to change the id_cart?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/Shopping-Cart-list.png\",\"datePublished\":\"2019-03-05T12:37:52+00:00\",\"dateModified\":\"2019-03-13T05:03:44+00:00\",\"description\":\"After reading this blog , you will be able to copy the cart into another cart in order to change the id_cart. Follow the steps for implementation.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/Shopping-Cart-list.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/Shopping-Cart-list.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/copy-cart-another-cart-order-change-id_cart\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Copy cart into another cart in order to change the id_cart?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"description\":\"Magento, Prestashop, Opencart, Shopify\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"width\":153,\"height\":61,\"caption\":\"Knowband Blog | Ecommerce Modules\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Knowband\",\"https:\\\/\\\/x.com\\\/KnowbandPlugin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/630b7226ac04dfa5eec7f12e448d607f\",\"name\":\"Rishabh Jain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/unnamed.jpg\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/unnamed.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/unnamed.jpg\",\"caption\":\"Rishabh Jain\"},\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/author\\\/rjain\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Copy cart into another cart in order to change the id_cart?","description":"After reading this blog , you will be able to copy the cart into another cart in order to change the id_cart. Follow the steps for implementation.","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.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/","og_locale":"en_US","og_type":"article","og_title":"How to Copy cart into another cart in order to change the id_cart?","og_description":"After reading this blog , you will be able to copy the cart into another cart in order to change the id_cart. Follow the steps for implementation.","og_url":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/","og_site_name":"Knowband Blog | Ecommerce Modules","article_publisher":"https:\/\/www.facebook.com\/Knowband","article_published_time":"2019-03-05T12:37:52+00:00","article_modified_time":"2019-03-13T05:03:44+00:00","og_image":[{"width":1349,"height":625,"url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png","type":"image\/png"}],"author":"Rishabh Jain","twitter_card":"summary_large_image","twitter_creator":"@KnowbandPlugin","twitter_site":"@KnowbandPlugin","twitter_misc":{"Written by":"Rishabh Jain","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/#article","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/"},"author":{"name":"Rishabh Jain","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/630b7226ac04dfa5eec7f12e448d607f"},"headline":"How to Copy cart into another cart in order to change the id_cart?","datePublished":"2019-03-05T12:37:52+00:00","dateModified":"2019-03-13T05:03:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/"},"wordCount":182,"commentCount":0,"publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png","keywords":["Change Cart id in Prestashop","copy cart","Copy cart into another Cart in Prestashop","id_cart","Prestashop Copy cart into another cart for changing cart id","prestashop tutorial"],"articleSection":["Prestashop Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/","url":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/","name":"How to Copy cart into another cart in order to change the id_cart?","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/#primaryimage"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png","datePublished":"2019-03-05T12:37:52+00:00","dateModified":"2019-03-13T05:03:44+00:00","description":"After reading this blog , you will be able to copy the cart into another cart in order to change the id_cart. Follow the steps for implementation.","breadcrumb":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/#primaryimage","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/Shopping-Cart-list.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/copy-cart-another-cart-order-change-id_cart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knowband.com\/blog\/fr\/"},{"@type":"ListItem","position":2,"name":"How to Copy cart into another cart in order to change the id_cart?"}]},{"@type":"WebSite","@id":"https:\/\/www.knowband.com\/blog\/fr\/#website","url":"https:\/\/www.knowband.com\/blog\/fr\/","name":"Knowband Blog | Ecommerce Modules","description":"Magento, Prestashop, Opencart, Shopify","publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knowband.com\/blog\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization","name":"Knowband Blog | Ecommerce Modules","url":"https:\/\/www.knowband.com\/blog\/fr\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","width":153,"height":61,"caption":"Knowband Blog | Ecommerce Modules"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Knowband","https:\/\/x.com\/KnowbandPlugin"]},{"@type":"Person","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/630b7226ac04dfa5eec7f12e448d607f","name":"Rishabh Jain","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/unnamed.jpg","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/unnamed.jpg","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/03\/unnamed.jpg","caption":"Rishabh Jain"},"url":"https:\/\/www.knowband.com\/blog\/author\/rjain\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/25002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/comments?post=25002"}],"version-history":[{"count":8,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/25002\/revisions"}],"predecessor-version":[{"id":25011,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/25002\/revisions\/25011"}],"wp:attachment":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/media?parent=25002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/categories?post=25002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/tags?post=25002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}