{"id":134661,"date":"2018-07-20T15:27:28","date_gmt":"2018-07-20T15:27:28","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=134661"},"modified":"2023-01-11T11:20:36","modified_gmt":"2023-01-11T11:20:36","slug":"set-custom-price-for-product-in-multiple-addresses-checkout","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/","title":{"rendered":"Set Custom Price for Product In Multiple Addresses Checkout"},"content":{"rendered":"<p>Sometimes it is required to set the custom price of product on the go. The issue occurs when we try to Checkout with Multiple Addresses, the Subtotal for each address is again calculated and we get original price for the product.<\/p>\n<p>To update the Price of Product check file:<\/p>\n<p>vendor\/magento\/module-quote\/Model\/Quote\/Address\/Total\/Subtotal.php, the price is get from product in _initItem() method and set in _calculateRowTotal() method.<\/p>\n<pre class=\"brush:php\">    \/**\n     * Address item initialization\n     *\n     * @param Address $address\n     * @param AddressItem|Item $item\n     * @return bool\n     *\/\n    protected function _initItem($address, $item)\n    {\n        if ($item instanceof AddressItem) {\n            $quoteItem = $item-&gt;getAddress()-&gt;getQuote()-&gt;getItemById($item-&gt;getQuoteItemId());\n        } else {\n            $quoteItem = $item;\n        }\n        $product = $quoteItem-&gt;getProduct();\n        $product-&gt;setCustomerGroupId($quoteItem-&gt;getQuote()-&gt;getCustomerGroupId());\n\n        \/**\n         * Quote super mode flag mean what we work with quote without restriction\n         *\/\n        if ($item-&gt;getQuote()-&gt;getIsSuperMode()) {\n            if (!$product) {\n                return false;\n            }\n        } else {\n            if (!$product || !$product-&gt;isVisibleInCatalog()) {\n                return false;\n            }\n        }\n\n        $quoteItem-&gt;setConvertedPrice(null);\n        $originalPrice = $product-&gt;getPrice();\n        if ($quoteItem-&gt;getParentItem() &amp;&amp; $quoteItem-&gt;isChildrenCalculated()) {\n            $finalPrice = $quoteItem-&gt;getParentItem()-&gt;getProduct()-&gt;getPriceModel()-&gt;getChildFinalPrice(\n                $quoteItem-&gt;getParentItem()-&gt;getProduct(),\n                $quoteItem-&gt;getParentItem()-&gt;getQty(),\n                $product,\n                $quoteItem-&gt;getQty()\n            );\n            $this-&gt;_calculateRowTotal($item, $finalPrice, $originalPrice);\n        } elseif (!$quoteItem-&gt;getParentItem()) {\n            $finalPrice = $product-&gt;getFinalPrice($quoteItem-&gt;getQty());\n            $this-&gt;_calculateRowTotal($item, $finalPrice, $originalPrice);\n            $this-&gt;_addAmount($item-&gt;getRowTotal());\n            $this-&gt;_addBaseAmount($item-&gt;getBaseRowTotal());\n            $address-&gt;setTotalQty($address-&gt;getTotalQty() + $item-&gt;getQty());\n        }\n        return true;\n    }\n\n    \/**\n     * Processing calculation of row price for address item\n     *\n     * @param AddressItem|Item $item\n     * @param int $finalPrice\n     * @param int $originalPrice\n     * @return $this\n     *\/\n    protected function _calculateRowTotal($item, $finalPrice, $originalPrice)\n    {\n        if (!$originalPrice) {\n            $originalPrice = $finalPrice;\n        }\n        $item-&gt;setPrice($finalPrice)-&gt;setBaseOriginalPrice($originalPrice);\n        $item-&gt;calcRowTotal();\n        return $this;\n    }<\/pre>\n<p>You can use these methods to update the product price as per your condition.<\/p>\n<p>In your custom module, create a preference for the above file to update the price on multi-address checkout as per your requirement.<\/p>\n<p>Create a preference in \/app\/code\/Vendor\/YourModule\/etc\/frontend\/di.xml as below:<\/p>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\"?&gt;\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:ObjectManager\/etc\/config.xsd\"&gt;\n    &lt;preference for=\"Magento\\Quote\\Model\\Quote\\Address\\Total\\Subtotal\" type=\"Vendor\\YourModule\\Model\\Quote\\Address\\Total\\Subtotal\"\/&gt;\n&lt;\/config&gt;<\/pre>\n<\/div>\n<p>Now, create a class <strong>Subtotal.php<\/strong> in your module following the path Vendor\\YourModule\\Model\\Quote\\Address\\Total.<br \/>\nAdd the below code in Subtotal.php file:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?php\n\nnamespace Vendor\\YourModule\\Model\\Quote\\Address\\Total;\n\nclass Subtotal extends \\Magento\\Quote\\Model\\Quote\\Address\\Total\\Subtotal\n{\n    \/**\n     * {@inheritDoc}\n     *\/\n    protected function _calculateRowTotal($item, $finalPrice, $originalPrice)\n    {\n        \/\/ apply your logic here to get the custom price on multi-address\n        $finalPrice = 10; \/\/ your final custom price\n        $originalPrice = 10; \/\/ your original custom price\n        $item-&gt;setPrice($finalPrice)-&gt;setBaseOriginalPrice($originalPrice);\n        $item-&gt;calcRowTotal();\n        return $this;\n    }\n}<\/pre>\n<p>Run the command php bin\/magento setup:di:compile.<\/p>\n<p>After the successful completion of the compilation, the price (or the subtotal) for the address is updated on the multi-address checkout as given below: (In our case: $10)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-364140\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png\" alt=\"custom-price-on-multi-address-checkout\" width=\"903\" height=\"679\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png 903w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9-300x226.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9-250x188.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9-768x577.png 768w\" sizes=\"(max-width: 903px) 100vw, 903px\" loading=\"lazy\" \/><\/p>\n<p>Hope, this may help someone while setting custom price for product. Thanks \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes it is required to set the custom price of product on the go. The issue occurs when we try to Checkout with Multiple Addresses, the Subtotal for each address is again calculated and we get original price for the product. To update the Price of Product check file: vendor\/magento\/module-quote\/Model\/Quote\/Address\/Total\/Subtotal.php, the price is get from <a href=\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":451,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[2460,7158],"class_list":["post-134661","post","type-post","status-publish","format-standard","hentry","category-magento2","tag-magento-2","tag-product-custom-price"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Set Custom Price for Product In Multiple Addresses Checkout - 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\/set-custom-price-for-product-in-multiple-addresses-checkout\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set Custom Price for Product In Multiple Addresses Checkout - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Sometimes it is required to set the custom price of product on the go. The issue occurs when we try to Checkout with Multiple Addresses, the Subtotal for each address is again calculated and we get original price for the product. To update the Price of Product check file: vendor\/magento\/module-quote\/Model\/Quote\/Address\/Total\/Subtotal.php, the price is get from [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/\" \/>\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=\"2018-07-20T15:27:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-11T11:20:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png\" \/>\n<meta name=\"author\" content=\"Anupam Rastogi\" \/>\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=\"Anupam Rastogi\" \/>\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\/set-custom-price-for-product-in-multiple-addresses-checkout\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/\"},\"author\":{\"name\":\"Anupam Rastogi\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/4cad4a620cf2ba97641cde049b05b611\"},\"headline\":\"Set Custom Price for Product In Multiple Addresses Checkout\",\"datePublished\":\"2018-07-20T15:27:28+00:00\",\"dateModified\":\"2023-01-11T11:20:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/\"},\"wordCount\":205,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png\",\"keywords\":[\"Magento 2\",\"product custom price\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/\",\"url\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/\",\"name\":\"Set Custom Price for Product In Multiple Addresses Checkout - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png\",\"datePublished\":\"2018-07-20T15:27:28+00:00\",\"dateModified\":\"2023-01-11T11:20:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png\",\"width\":903,\"height\":679,\"caption\":\"custom-price-on-multi-address-checkout\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set Custom Price for Product In Multiple Addresses Checkout\"}]},{\"@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\/4cad4a620cf2ba97641cde049b05b611\",\"name\":\"Anupam Rastogi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9d600bc915429f53470a78d15d736cc2ec8b59c57b88a97fa55b0cd51124faa7?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\/9d600bc915429f53470a78d15d736cc2ec8b59c57b88a97fa55b0cd51124faa7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Anupam Rastogi\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/anupam-rastogi694\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set Custom Price for Product In Multiple Addresses Checkout - 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\/set-custom-price-for-product-in-multiple-addresses-checkout\/","og_locale":"en_US","og_type":"article","og_title":"Set Custom Price for Product In Multiple Addresses Checkout - Webkul Blog","og_description":"Sometimes it is required to set the custom price of product on the go. The issue occurs when we try to Checkout with Multiple Addresses, the Subtotal for each address is again calculated and we get original price for the product. To update the Price of Product check file: vendor\/magento\/module-quote\/Model\/Quote\/Address\/Total\/Subtotal.php, the price is get from [...]","og_url":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-07-20T15:27:28+00:00","article_modified_time":"2023-01-11T11:20:36+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png","type":"","width":"","height":""}],"author":"Anupam Rastogi","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Anupam Rastogi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/"},"author":{"name":"Anupam Rastogi","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/4cad4a620cf2ba97641cde049b05b611"},"headline":"Set Custom Price for Product In Multiple Addresses Checkout","datePublished":"2018-07-20T15:27:28+00:00","dateModified":"2023-01-11T11:20:36+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/"},"wordCount":205,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png","keywords":["Magento 2","product custom price"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/","url":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/","name":"Set Custom Price for Product In Multiple Addresses Checkout - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png","datePublished":"2018-07-20T15:27:28+00:00","dateModified":"2023-01-11T11:20:36+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/image-9.png","width":903,"height":679,"caption":"custom-price-on-multi-address-checkout"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/set-custom-price-for-product-in-multiple-addresses-checkout\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Set Custom Price for Product In Multiple Addresses Checkout"}]},{"@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\/4cad4a620cf2ba97641cde049b05b611","name":"Anupam Rastogi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9d600bc915429f53470a78d15d736cc2ec8b59c57b88a97fa55b0cd51124faa7?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\/9d600bc915429f53470a78d15d736cc2ec8b59c57b88a97fa55b0cd51124faa7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Anupam Rastogi"},"url":"https:\/\/webkul.com\/blog\/author\/anupam-rastogi694\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/134661","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\/451"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=134661"}],"version-history":[{"count":13,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/134661\/revisions"}],"predecessor-version":[{"id":364145,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/134661\/revisions\/364145"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=134661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=134661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=134661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}