{"id":65956,"date":"2016-11-28T11:16:54","date_gmt":"2016-11-28T11:16:54","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=65956"},"modified":"2024-05-07T12:42:03","modified_gmt":"2024-05-07T12:42:03","slug":"additional-options-cart-item-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/","title":{"rendered":"How To Set Additional Options In Cart Item &#8211; Magento2"},"content":{"rendered":"<p>In this blog we will see how to add additional options in cart item.<br \/>\nIn some situations we want to display specific details with some <a href=\"https:\/\/webkul.com\/blog\/add-product-cart-programmatically-observers-blocks-helper-plugin-etc\/\">products in cart<\/a>.<\/p>\n<p>We can either create a custom option on product or we can override template file and display desired information.<br \/>\nBut there are some issues in both situations.<\/p>\n<h3>Custom option on product<\/h3>\n<p>If you want to display additional information using custom option then you have to create custom option on product and custom option will be visible everywhere on product.<\/p>\n<p>So you have to hide options from product and it will be additional work to do.<\/p>\n<h3>Override template<\/h3>\n<p>If you want to display information by overriding template then you have to override so many template files for this.<br \/>\nSome of the templates files are<\/p>\n<ul>\n<li>Cart page template files<\/li>\n<li>Checkout page template files<\/li>\n<li>Minicart template files<\/li>\n<\/ul>\n<p>But luckily there is another way in magento by which you can achieve this without overriding templates and creating custom option.<br \/>\nYou can achieve this using observer.<\/p>\n<h2>Additional options using Observer<\/h2>\n<p>First of all define event in events.xml file.<\/p>\n<pre class=\"brush:xml\">&lt;?xml version=\"1.0\"?&gt;\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Event\/etc\/events.xsd\"&gt;\n    &lt;event name=\"catalog_product_load_after\"&gt;\n        &lt;observer name=\"set_additional_options\" instance=\"Webkul\\Demo\\Observer\\SetAdditionalOptions\"\/&gt;\n    &lt;\/event&gt;\n&lt;\/config&gt;<\/pre>\n<p>After this write following code in your observer file.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">&lt;?php\nnamespace Webkul\\CartItem\\Observer;\n\nuse Magento\\Framework\\Event\\ObserverInterface;\nuse Magento\\Framework\\App\\RequestInterface;\nuse Magento\\Framework\\App\\ObjectManager;\nuse Magento\\Framework\\Serialize\\Serializer\\Json;\n\nclass SetAdditionalOptions implements ObserverInterface\n{\n    protected $_request;    \n    public function __construct(\n        RequestInterface $request, \n        Json $serializer = null\n        ) \n    {\n        $this-&gt;_request = $request;\n        $this-&gt;serializer = $serializer ?: \\Magento\\Framework\\App\\ObjectManager::getInstance()\n            -&gt;get(\\Magento\\Framework\\Serialize\\Serializer\\Json::class);\n    }\n\n    \/**\n     * @param \\Magento\\Framework\\Event\\Observer $observer\n     *\/\n    public function execute(\\Magento\\Framework\\Event\\Observer $observer)\n    {\n        \/\/ Check and set information according to your need\n        $product = $observer-&gt;getProduct();                    \n        if ($this-&gt;_request-&gt;getFullActionName() == 'checkout_cart_add') { \/\/checking when product is adding to cart\n            $product = $observer-&gt;getProduct();\n            $additionalOptions = [];\n            $additionalOptions[] = array(\n                'label' =&gt; \"Some Label\", \/\/Custom option label\n                'value' =&gt; \"Your Information\", \/\/Custom option value\n            );                        \n            $product-&gt;addCustomOption('additional_options', $this-&gt;serializer-&gt;serialize($additionalOptions));\n        }\n    }\n\n}<\/pre>\n<p>You can set the multiple options using the same approach.<br \/>\nUsing this approach you can set additional options in cart item and you will be able to view this information on all pages.<\/p>\n<ul>\n<li>Cart Page<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-66089\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai1.png\" alt=\"Additional Options\" width=\"1523\" height=\"772\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai1.png 1523w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai1-250x127.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai1-300x152.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai1-768x389.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai1-1200x608.png 1200w\" sizes=\"(max-width: 1523px) 100vw, 1523px\" loading=\"lazy\" \/><\/li>\n<li>Mini Cart<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-66090\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai2.png\" alt=\"Additional Options\" width=\"1528\" height=\"763\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai2.png 1528w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai2-250x125.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai2-300x150.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai2-768x383.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai2-1200x599.png 1200w\" sizes=\"(max-width: 1528px) 100vw, 1528px\" loading=\"lazy\" \/><\/li>\n<li>Checkout Page<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-66091\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai3.png\" alt=\"Additional Options\" width=\"1525\" height=\"773\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai3.png 1525w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai3-250x127.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai3-300x152.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai3-768x389.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/ai3-1200x608.png 1200w\" sizes=\"(max-width: 1525px) 100vw, 1525px\" loading=\"lazy\" \/><\/li>\n<\/ul>\n<p>If you want to display this additional options in order item.<br \/>\nCheck the blog &#8211;<br \/>\n<a href=\"https:\/\/webkul.com\/blog\/additional-options-order-item-magento2\/\" target=\"_blank\" rel=\"noopener\">How To Set Additional Options In Order Item \u2013 Magento2<\/a><\/p>\n<p>If you have any query or issue, comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog we will see how to add additional options in cart item. In some situations we want to display specific details with some products in cart. We can either create a custom option on product or we can override template file and display desired information. But there are some issues in both situations. <a href=\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":21,"featured_media":65964,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[4071,4072,4073,2070],"class_list":["post-65956","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-additional-options","tag-cart-items","tag-cart-itemscart-items","tag-magento2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Additional Options In Cart Item<\/title>\n<meta name=\"description\" content=\"We can add additional option in cart items using observer. We can add any number of additional options in cart item.\" \/>\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\/additional-options-cart-item-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Additional Options In Cart Item\" \/>\n<meta property=\"og:description\" content=\"We can add additional option in cart items using observer. We can add any number of additional options in cart item.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/additional-options-cart-item-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:author\" content=\"https:\/\/www.facebook.com\/rahul0989\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-28T11:16:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-07T12:42:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.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=\"Rahul Mahto\" \/>\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=\"Rahul Mahto\" \/>\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\/additional-options-cart-item-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/\"},\"author\":{\"name\":\"Rahul Mahto\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/3002e6bca8362f6cf1c61b2663496c4f\"},\"headline\":\"How To Set Additional Options In Cart Item &#8211; Magento2\",\"datePublished\":\"2016-11-28T11:16:54+00:00\",\"dateModified\":\"2024-05-07T12:42:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/\"},\"wordCount\":273,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png\",\"keywords\":[\"Additional Options\",\"Cart Items\",\"Cart ItemsCart Items\",\"Magento2\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/\",\"name\":\"How to Set Additional Options In Cart Item\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png\",\"datePublished\":\"2016-11-28T11:16:54+00:00\",\"dateModified\":\"2024-05-07T12:42:03+00:00\",\"description\":\"We can add additional option in cart items using observer. We can add any number of additional options in cart item.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Set Additional Options In Cart Item &#8211; 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\/3002e6bca8362f6cf1c61b2663496c4f\",\"name\":\"Rahul Mahto\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b0def172ef24ea3f7319500afbb65af8012023ba5c143982a4c958b2fb58ee0d?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\/b0def172ef24ea3f7319500afbb65af8012023ba5c143982a4c958b2fb58ee0d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Rahul Mahto\"},\"sameAs\":[\"http:\/\/webkul.com\",\"https:\/\/www.facebook.com\/rahul0989\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/rahul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Additional Options In Cart Item","description":"We can add additional option in cart items using observer. We can add any number of additional options in cart item.","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\/additional-options-cart-item-magento2\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Additional Options In Cart Item","og_description":"We can add additional option in cart items using observer. We can add any number of additional options in cart item.","og_url":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_author":"https:\/\/www.facebook.com\/rahul0989","article_published_time":"2016-11-28T11:16:54+00:00","article_modified_time":"2024-05-07T12:42:03+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png","type":"image\/png"}],"author":"Rahul Mahto","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Rahul Mahto","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/"},"author":{"name":"Rahul Mahto","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/3002e6bca8362f6cf1c61b2663496c4f"},"headline":"How To Set Additional Options In Cart Item &#8211; Magento2","datePublished":"2016-11-28T11:16:54+00:00","dateModified":"2024-05-07T12:42:03+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/"},"wordCount":273,"commentCount":10,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png","keywords":["Additional Options","Cart Items","Cart ItemsCart Items","Magento2"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/","url":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/","name":"How to Set Additional Options In Cart Item","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png","datePublished":"2016-11-28T11:16:54+00:00","dateModified":"2024-05-07T12:42:03+00:00","description":"We can add additional option in cart items using observer. We can add any number of additional options in cart item.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/11\/Magneto-Code-Snippet-1.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/additional-options-cart-item-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Set Additional Options In Cart Item &#8211; 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\/3002e6bca8362f6cf1c61b2663496c4f","name":"Rahul Mahto","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b0def172ef24ea3f7319500afbb65af8012023ba5c143982a4c958b2fb58ee0d?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\/b0def172ef24ea3f7319500afbb65af8012023ba5c143982a4c958b2fb58ee0d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Rahul Mahto"},"sameAs":["http:\/\/webkul.com","https:\/\/www.facebook.com\/rahul0989"],"url":"https:\/\/webkul.com\/blog\/author\/rahul\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/65956","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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=65956"}],"version-history":[{"count":20,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/65956\/revisions"}],"predecessor-version":[{"id":439383,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/65956\/revisions\/439383"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/65964"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=65956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=65956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=65956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}