{"id":139222,"date":"2018-08-17T14:29:35","date_gmt":"2018-08-17T14:29:35","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=139222"},"modified":"2024-04-17T12:28:35","modified_gmt":"2024-04-17T12:28:35","slug":"woocommerce-set-custom-product-price-when-adding-to-cart","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/","title":{"rendered":"WooCommerce Set Custom Product Price When Adding To Cart"},"content":{"rendered":"<p>WooCommerce Set Custom Product Price When Adding To Cart &#8211; In this post, we&#8217;ll see how we can override the price of product when adding the product into cart.<\/p>\n<p>If you require expert assistance or want to develop custom unique functionality,<a href=\"https:\/\/webkul.com\/hire-woocommerce-developers\/\" target=\"_blank\" rel=\"noopener\" data-wpel-link=\"internal\"> hire WooCommerce Developers<\/a>\u00a0for your project.<\/p>\n<p>Price overriding in cart is useful feature if we want to increase or decrease product price by any static value. This can be done by creating price rules also instead of static price value. This is very useful code snippet from developer point of view.<\/p>\n<p>We&#8217;ll understand the code by taking an example with static price value. We&#8217;ll use action hook &#8216;woocommerce_before_calculate_totals&#8217; to achieve our goal.<\/p>\n<p>Let&#8217;s start with an example plugin &#8211;<\/p>\n<pre class=\"brush:php\">&lt;?php\n\n\/**\n * Plugin Name: Webkul Override Product Price on Add to Cart\n * Description: Add product to cart with override price\n * Author: Webkul\n * Author URI: https:\/\/webkul.com\n * Plugin URI: https:\/\/webkul.com\n *\/\n\nif ( ! class_exists( 'WK_Price_Override' ) ) {\n  \/**\n   *\n   *\/\n  class WK_Price_Override {\n\n    function __construct() {\n      add_action( 'woocommerce_before_calculate_totals', array( $this, 'wk_update_price' ) );\n    }\n\n    function wk_update_price( $cart_object ) {\n      $cart_items = $cart_object-&gt;cart_contents;\n\n      if ( ! empty( $cart_items ) ) {\n        $price = 100;\n\t    foreach ( $cart_items as $key =&gt; $value ) {\n          $value['data']-&gt;set_price( $price );\n        }\n      }\n    }\n  }\n\n  function wk_initialise_main_class() {\n    new WK_Price_Override();\n  }\n\n  add_action( 'plugins_loaded', 'wk_initialise_main_class' );\n\n}\n<\/pre>\n<p>In above code snippet, we have initialised main class with &#8216;plugins_loaded&#8217; action hook. As mentioned earlier, we have used hook &#8216;woocommerce_before_calculate_totals&#8217; and in callback function, we retrieved cart items from cart object argument.\u00a0 And then we iterate through cart items and set price for each item. In this way we can override product price in cart.<\/p>\n<p>Please check in below screenshots the difference between product price on product page and cart page.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-139244 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg\" alt=\"WooCommerce Set Custom Product Price When Adding To Cart\" width=\"1104\" height=\"509\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg 1104w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-250x115.jpg 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-300x138.jpg 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-768x354.jpg 768w\" sizes=\"(max-width: 1104px) 100vw, 1104px\" loading=\"lazy\" \/><\/p>\n<p>As we can see product price is 18 USD. But from code we have override same to 100 USD. Check below the cart page &#8211;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-139245 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-1.jpg\" alt=\"WooCommerce Set Custom Product Price When Adding To Cart\" width=\"1173\" height=\"423\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-1.jpg 1173w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-1-250x90.jpg 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-1-300x108.jpg 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart-1-768x277.jpg 768w\" sizes=\"(max-width: 1173px) 100vw, 1173px\" loading=\"lazy\" \/><\/p>\n<p>Reference &#8211;\u00a0<a href=\"http:\/\/hookr.io\/actions\/woocommerce_before_calculate_totals\/\">http:\/\/hookr.io\/actions\/woocommerce_before_calculate_totals\/<\/a><\/p>\n<p>That\u2019s all for custom labels for products on the shop and single page.\u00a0<\/p>\n<h3 id=\"support\" class=\"index-title copy-index\">Support<\/h3>\n\n\n<p>For any technical assistance kindly\u00a0<a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\" target=\"_blank\" rel=\"noreferrer noopener\">raise\u00a0a ticket<\/a>\u00a0or\u00a0reach\u00a0us by email at\u00a0support@webkul.com. Thanks for Your Time! Have a Good Day!<\/p>\n\n\n\n<p>Also, discover various solutions to add more features and enhance your online store by visiting the\u00a0<a href=\"https:\/\/store.webkul.com\/woocommerce-plugins.html\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce plugins<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WooCommerce Set Custom Product Price When Adding To Cart &#8211; In this post, we&#8217;ll see how we can override the price of product when adding the product into cart. If you require expert assistance or want to develop custom unique functionality, hire WooCommerce Developers\u00a0for your project. Price overriding in cart is useful feature if we <a href=\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":109,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1773,1260],"tags":[7332,4507,1258],"class_list":["post-139222","post","type-post","status-publish","format-standard","hentry","category-woocommerce","category-wordpress","tag-product-price","tag-woocommerce-cart","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WooCommerce Set Custom Product Price When Adding To Cart - Webkul Blog<\/title>\n<meta name=\"description\" content=\"WooCommerce Set Custom Product Price When Adding To Cart - How to override product price when adding the product to 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:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WooCommerce Set Custom Product Price When Adding To Cart - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"WooCommerce Set Custom Product Price When Adding To Cart - How to override product price when adding the product to cart.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\" \/>\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-08-17T14:29:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-17T12:28:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg\" \/>\n<meta name=\"author\" content=\"Varun Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/imVvashistha\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Varun Kumar\" \/>\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\/woocommerce-set-custom-product-price-when-adding-to-cart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\"},\"author\":{\"name\":\"Varun Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/5f80f80fad3753d9bdfb065a31cc537d\"},\"headline\":\"WooCommerce Set Custom Product Price When Adding To Cart\",\"datePublished\":\"2018-08-17T14:29:35+00:00\",\"dateModified\":\"2024-04-17T12:28:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\"},\"wordCount\":299,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg\",\"keywords\":[\"Product price\",\"WooCommerce Cart\",\"wordpress\"],\"articleSection\":[\"WooCommerce\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\",\"url\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\",\"name\":\"WooCommerce Set Custom Product Price When Adding To Cart - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg\",\"datePublished\":\"2018-08-17T14:29:35+00:00\",\"dateModified\":\"2024-04-17T12:28:35+00:00\",\"description\":\"WooCommerce Set Custom Product Price When Adding To Cart - How to override product price when adding the product to cart.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg\",\"width\":\"1104\",\"height\":\"509\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce Set Custom Product Price When Adding To Cart\"}]},{\"@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\/5f80f80fad3753d9bdfb065a31cc537d\",\"name\":\"Varun Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2bf364f755500f5f58d13d0fddbeb303ae75529a58e113c5638c7d20ff48b18d?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\/2bf364f755500f5f58d13d0fddbeb303ae75529a58e113c5638c7d20ff48b18d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Varun Kumar\"},\"description\":\"Inquisitive.\",\"sameAs\":[\"https:\/\/x.com\/https:\/\/twitter.com\/imVvashistha\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/varun-kumar286\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WooCommerce Set Custom Product Price When Adding To Cart - Webkul Blog","description":"WooCommerce Set Custom Product Price When Adding To Cart - How to override product price when adding the product to 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:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/","og_locale":"en_US","og_type":"article","og_title":"WooCommerce Set Custom Product Price When Adding To Cart - Webkul Blog","og_description":"WooCommerce Set Custom Product Price When Adding To Cart - How to override product price when adding the product to cart.","og_url":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-08-17T14:29:35+00:00","article_modified_time":"2024-04-17T12:28:35+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg","type":"","width":"","height":""}],"author":"Varun Kumar","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/imVvashistha","twitter_site":"@webkul","twitter_misc":{"Written by":"Varun Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/"},"author":{"name":"Varun Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/5f80f80fad3753d9bdfb065a31cc537d"},"headline":"WooCommerce Set Custom Product Price When Adding To Cart","datePublished":"2018-08-17T14:29:35+00:00","dateModified":"2024-04-17T12:28:35+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/"},"wordCount":299,"commentCount":7,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg","keywords":["Product price","WooCommerce Cart","wordpress"],"articleSection":["WooCommerce","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/","url":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/","name":"WooCommerce Set Custom Product Price When Adding To Cart - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg","datePublished":"2018-08-17T14:29:35+00:00","dateModified":"2024-04-17T12:28:35+00:00","description":"WooCommerce Set Custom Product Price When Adding To Cart - How to override product price when adding the product to cart.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/08\/wc-price-in-cart.jpg","width":"1104","height":"509"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/woocommerce-set-custom-product-price-when-adding-to-cart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WooCommerce Set Custom Product Price When Adding To Cart"}]},{"@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\/5f80f80fad3753d9bdfb065a31cc537d","name":"Varun Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2bf364f755500f5f58d13d0fddbeb303ae75529a58e113c5638c7d20ff48b18d?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\/2bf364f755500f5f58d13d0fddbeb303ae75529a58e113c5638c7d20ff48b18d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Varun Kumar"},"description":"Inquisitive.","sameAs":["https:\/\/x.com\/https:\/\/twitter.com\/imVvashistha"],"url":"https:\/\/webkul.com\/blog\/author\/varun-kumar286\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/139222","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\/109"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=139222"}],"version-history":[{"count":8,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/139222\/revisions"}],"predecessor-version":[{"id":434630,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/139222\/revisions\/434630"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=139222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=139222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=139222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}