{"id":185885,"date":"2019-07-11T12:58:11","date_gmt":"2019-07-11T12:58:11","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=185885"},"modified":"2019-10-11T11:24:38","modified_gmt":"2019-10-11T11:24:38","slug":"adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/","title":{"rendered":"Adding a new column in PrestaShop new Symfony admin controller grid page with module"},"content":{"rendered":"\n<p>Prestashop 1.7.x.x now have a new admin controller page on Symfony architecture where now listing is displayed with PrestaShop <a href=\"https:\/\/devdocs.prestashop.com\/1.7\/development\/components\/grid\/\">grid component.<\/a><\/p>\n\n\n\n<p>So if we need to add any new column in the list using the module we need to follow not new hooks provided, there are two hooks mainly,<\/p>\n\n\n\n<p><strong>&#8216;actionCustomerGridDefinitionModifier&#8217; <\/strong>to add a new column<\/p>\n\n\n\n<p><strong>&#8216;actionCustomerGridQueryBuilderModifier&#8217; <\/strong>to provide data to the column<\/p>\n\n\n\n<p>In my example, I am adding a normal text type display column on the customer controller,<\/p>\n\n\n\n<p>For this, we need to use these namespaces<\/p>\n\n\n\n<p>use PrestaShop\\PrestaShop\\Core\\Grid\\Column\\Type\\DataColumn;<br>use PrestaShop\\PrestaShop\\Core\\Grid\\Filter\\Filter;<br>use Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType;<\/p>\n\n\n\n<p>And in the hook function, this is the example code,<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function hookActionCustomerGridDefinitionModifier(array $params)\n{\n    \/** @var GridDefinitionInterface $definition *\/\n    $definition = $params[&#039;definition&#039;];\n\n    $definition\n        -&gt;getColumns()\n        -&gt;addAfter(\n            &#039;optin&#039;,\n            (new DataColumn(&#039;mobile&#039;))\n                -&gt;setName($this-&gt;l(&#039;Mobile number&#039;))\n                -&gt;setOptions([\n                    &#039;field&#039; =&gt; &#039;mobile&#039;,\n                ])\n        )\n    ;\n\n    \/\/ For search filter\n    $definition-&gt;getFilters()-&gt;add(\n        (new Filter(&#039;mobile&#039;, TextType::class))\n        -&gt;setAssociatedColumn(&#039;mobile&#039;)\n    );\n}<\/pre>\n\n\n\n<p>the above code looks simple and understandable \ud83d\ude42<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/**\n     * Hook allows to modify Customers query builder and add custom sql statements.\n     *\n     * @param array $params\n     *\/\n    public function hookActionCustomerGridQueryBuilderModifier(array $params)\n    {\n        \/** @var QueryBuilder $searchQueryBuilder *\/\n        $searchQueryBuilder = $params[&#039;search_query_builder&#039;];\n\n        \/** @var CustomerFilters $searchCriteria *\/\n        $searchCriteria = $params[&#039;search_criteria&#039;];\n\n        $searchQueryBuilder-&gt;addSelect(\n            &#039;IF(wcm.`mobile` IS NULL,0,wcm.`mobile`) AS `mobile`&#039;\n        );\n\n        $searchQueryBuilder-&gt;leftJoin(\n            &#039;c&#039;,\n            &#039;`&#039; . pSQL(_DB_PREFIX_) . &#039;wk_customer_mobile`&#039;,\n            &#039;wcm&#039;,\n            &#039;wcm.`id_customer` = c.`id_customer`&#039;\n        );\n\n        if (&#039;mobile&#039; === $searchCriteria-&gt;getOrderBy()) {\n            $searchQueryBuilder-&gt;orderBy(&#039;wcm.`mobile`&#039;, $searchCriteria-&gt;getOrderWay());\n        }\n\n        foreach ($searchCriteria-&gt;getFilters() as $filterName =&gt; $filterValue) {\n            if (&#039;mobile&#039; === $filterName) {\n                $searchQueryBuilder-&gt;andWhere(&#039;wcm.`mobile` = :mobile&#039;);\n                $searchQueryBuilder-&gt;setParameter(&#039;mobile&#039;, $filterValue);\n\n                if (!$filterValue) {\n                    $searchQueryBuilder-&gt;orWhere(&#039;wcm.`mobile` IS NULL&#039;);\n                }\n            }\n        }\n    }<\/pre>\n\n\n\n<p>This code is providing the <strong>actionCustomerGridDefinitionModifier<\/strong> hook a custom data of customer entity.<\/p>\n\n\n\n<p>Now you can see your column here like this,<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1282\" height=\"616\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png\" alt=\"download-1\" class=\"wp-image-185903\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png 1282w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png 1200w\" sizes=\"(max-width: 1282px) 100vw, 1282px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>PrestaShop also provided multiple column types, you can refer to <a rel=\"noreferrer noopener\" aria-label=\"this (opens in a new tab)\" href=\"https:\/\/github.com\/PrestaShop\/PrestaShop\/tree\/1.7.6.0\/src\/Core\/Grid\/Column\/Type\/Common\" target=\"_blank\">this<\/a> and use accordingly.<\/p>\n\n\n\n<p>See this <a href=\"https:\/\/webkul.com\/blog\/adding-a-custom-grid-column-type-in-prestashop-admin-symfony-controller-with-module\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"blog (opens in a new tab)\">blog<\/a> if you want to create your custom column type.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prestashop 1.7.x.x now have a new admin controller page on Symfony architecture where now listing is displayed with PrestaShop grid component. So if we need to add any new column in the list using the module we need to follow not new hooks provided, there are two hooks mainly, &#8216;actionCustomerGridDefinitionModifier&#8217; to add a new column <a href=\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9192,9193,9191],"class_list":["post-185885","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-new-column","tag-prestashop-new-controller","tag-symfony-grid-compoment"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PrestaShop Grid Symfony Controller | Add new Column<\/title>\n<meta name=\"description\" content=\"Adding a new column in PrestaShop new Symfony admin controller grid page using our module.\" \/>\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\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PrestaShop Grid Symfony Controller | Add new Column\" \/>\n<meta property=\"og:description\" content=\"Adding a new column in PrestaShop new Symfony admin controller grid page using our module.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\" \/>\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=\"2019-07-11T12:58:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-10-11T11:24:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/07\/download-1-1200x577.png\" \/>\n<meta name=\"author\" content=\"Dheeraj Sharma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/dks295\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dheeraj Sharma\" \/>\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\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\"},\"author\":{\"name\":\"Dheeraj Sharma\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/a5f3da471d7cb80626232ba698343f6a\"},\"headline\":\"Adding a new column in PrestaShop new Symfony admin controller grid page with module\",\"datePublished\":\"2019-07-11T12:58:11+00:00\",\"dateModified\":\"2019-10-11T11:24:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\"},\"wordCount\":189,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/07\/download-1-1200x577.png\",\"keywords\":[\"new column\",\"prestashop new controller\",\"symfony grid compoment\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\",\"url\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\",\"name\":\"PrestaShop Grid Symfony Controller | Add new Column\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/07\/download-1-1200x577.png\",\"datePublished\":\"2019-07-11T12:58:11+00:00\",\"dateModified\":\"2019-10-11T11:24:38+00:00\",\"description\":\"Adding a new column in PrestaShop new Symfony admin controller grid page using our module.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png\",\"width\":1282,\"height\":616,\"caption\":\"download-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding a new column in PrestaShop new Symfony admin controller grid page with module\"}]},{\"@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\/a5f3da471d7cb80626232ba698343f6a\",\"name\":\"Dheeraj Sharma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?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\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Dheeraj Sharma\"},\"sameAs\":[\"http:\/\/webkul.com\",\"https:\/\/x.com\/https:\/\/twitter.com\/dks295\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/dheeraj\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PrestaShop Grid Symfony Controller | Add new Column","description":"Adding a new column in PrestaShop new Symfony admin controller grid page using our module.","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\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/","og_locale":"en_US","og_type":"article","og_title":"PrestaShop Grid Symfony Controller | Add new Column","og_description":"Adding a new column in PrestaShop new Symfony admin controller grid page using our module.","og_url":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-07-11T12:58:11+00:00","article_modified_time":"2019-10-11T11:24:38+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/07\/download-1-1200x577.png","type":"","width":"","height":""}],"author":"Dheeraj Sharma","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/dks295","twitter_site":"@webkul","twitter_misc":{"Written by":"Dheeraj Sharma","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/"},"author":{"name":"Dheeraj Sharma","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/a5f3da471d7cb80626232ba698343f6a"},"headline":"Adding a new column in PrestaShop new Symfony admin controller grid page with module","datePublished":"2019-07-11T12:58:11+00:00","dateModified":"2019-10-11T11:24:38+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/"},"wordCount":189,"commentCount":6,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/07\/download-1-1200x577.png","keywords":["new column","prestashop new controller","symfony grid compoment"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/","url":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/","name":"PrestaShop Grid Symfony Controller | Add new Column","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/07\/download-1-1200x577.png","datePublished":"2019-07-11T12:58:11+00:00","dateModified":"2019-10-11T11:24:38+00:00","description":"Adding a new column in PrestaShop new Symfony admin controller grid page using our module.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/11124207\/download-1.png","width":1282,"height":616,"caption":"download-1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/adding-a-new-column-in-prestashop-new-symfony-admin-controller-grid-page-with-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Adding a new column in PrestaShop new Symfony admin controller grid page with module"}]},{"@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\/a5f3da471d7cb80626232ba698343f6a","name":"Dheeraj Sharma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?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\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Dheeraj Sharma"},"sameAs":["http:\/\/webkul.com","https:\/\/x.com\/https:\/\/twitter.com\/dks295"],"url":"https:\/\/webkul.com\/blog\/author\/dheeraj\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/185885","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\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=185885"}],"version-history":[{"count":6,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/185885\/revisions"}],"predecessor-version":[{"id":202553,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/185885\/revisions\/202553"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=185885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=185885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=185885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}