{"id":338181,"date":"2022-06-03T14:21:03","date_gmt":"2022-06-03T14:21:03","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=338181"},"modified":"2022-06-08T12:04:15","modified_gmt":"2022-06-08T12:04:15","slug":"how-to-add-kpi-block-in-the-prestashop-module","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/","title":{"rendered":"How to add KPI block in the PrestaShop module"},"content":{"rendered":"\n<p>In this blog, we will learn how to add KPI (Key performance indicators) block in our PrestaShop module. Key performance indicators&nbsp;are a set of data that reflect the performance of an organization\/company against a targeted goal. These indicators help you in taking the necessary steps to&nbsp;improve the performance&nbsp;of the e-commerce business. <\/p>\n\n\n\n<p>KPIs are already available on many pages in the PrestaShop back office like customers, orders, customer service, etc.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1058\" height=\"114\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png\" alt=\"image-8\" class=\"wp-image-338187\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png 1058w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8-300x32.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8-250x27.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8-768x83.png 768w\" sizes=\"(max-width: 1058px) 100vw, 1058px\" loading=\"lazy\" \/><figcaption>KPI row<\/figcaption><\/figure>\n\n\n\n<p>To create the KPI block, we need to add the <code>renderKpis()<\/code> method in our module admin controller:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function renderKpis()\n{\n}<\/pre>\n\n\n\n<p>Now, we will create an object of <code>HelperKpi<\/code> class and assign its property:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Property<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>id<\/td><td>The ID of the KPI block<\/td><\/tr><tr><td>icon<\/td><td>An icon that you want to display for the KPI (ie: icon-users)<\/td><\/tr><tr><td>chart<\/td><td>It accepts a boolean value. Make true if you want to display a chart for the KPI<\/td><\/tr><tr><td>color<\/td><td>Color class for the KPI (available classes: color1, color2, color3, and color4)<\/td><\/tr><tr><td>title<\/td><td>Title of the KPI<\/td><\/tr><tr><td>subtitle<\/td><td>The subtitle of the KPI<\/td><\/tr><tr><td>value<\/td><td>Initial value of the KPI<\/td><\/tr><tr><td>data<\/td><td>Required to display the chart, chart data will be in JSON format<\/td><\/tr><tr><td>source<\/td><td>Source URL from where KPI value is fetched through AJAX<\/td><\/tr><tr><td>refresh<\/td><td>It accepts a boolean value. If true, it refreshes the KPI value initially <\/td><\/tr><tr><td>href<\/td><td>Link if you want to redirect the user by clicking on KPI<\/td><\/tr><tr><td>tooltip<\/td><td>Tooltip for the KPI<\/td><\/tr><\/tbody><\/table><figcaption>HelperKpi class properties<\/figcaption><\/figure>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function renderKpis()\n{\n    $kpis = array();\n    $helper = new HelperKpi();\n    $helper-&gt;id = &#039;box-total-user&#039;;\n    $helper-&gt;icon = &#039;icon-users&#039;;\n    $helper-&gt;color = &#039;color1&#039;;\n    $helper-&gt;title = $this-&gt;l(&#039;Total users&#039;);\n    $helper-&gt;subtitle = $this-&gt;l(&#039;30 days&#039;);\n    $helper-&gt;source = $this-&gt;context-&gt;link-&gt;getAdminLink(&#039;AdminWkUserList&#039;).&#039;&amp;ajax=1&amp;action=getKpi&amp;kpi=total_users&#039;;\n    $helper-&gt;refresh = true;\n    $kpis&#091;] = $helper-&gt;generate();\n}<\/pre>\n\n\n\n<p>We have generated a single KPI and assigned it in a <code>$kpis<\/code> array. Now, we need to render it in our admin controller. To render this, we have to create another object of the class <code>HelperKpiRow<\/code> and assign its properties:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Property<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>kpis<\/td><td>An array of KPIs that you have generated through  <code>HelperKpi<\/code> class<\/td><\/tr><tr><td>refresh<\/td><td>It accepts a boolean value. If true, a refresh button will appear on the KPI block<\/td><\/tr><\/tbody><\/table><figcaption>HelperKpiRow class property<\/figcaption><\/figure>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function renderKpis()\n{\n    $kpis = array();\n    $helper = new HelperKpi();\n    $helper-&gt;id = &#039;box-total-user&#039;;\n    $helper-&gt;icon = &#039;icon-users&#039;;\n    $helper-&gt;color = &#039;color1&#039;;\n    $helper-&gt;title = $this-&gt;l(&#039;Total users&#039;, null, null, false);\n    $helper-&gt;subtitle = $this-&gt;l(&#039;30 days&#039;, null, null, false);\n    $helper-&gt;source = $this-&gt;context-&gt;link-&gt;getAdminLink(&#039;AdminWkUserList&#039;).&#039;&amp;ajax=1&amp;action=getKpi&amp;kpi=total_users&#039;;\n    $helper-&gt;refresh = true;\n    $kpis&#091;] = $helper-&gt;generate();\n\n    &lt;strong&gt;$helper = new HelperKpiRow();\n    $helper-&gt;kpis = $kpis;\n    $helper-&gt;refresh = true;\n    return $helper-&gt;generate();&lt;\/strong&gt;\n}<\/pre>\n\n\n\n<p>In the final step, we will write the AJAX code to return the KPI data. AJAX response must be in the below JSON format:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">{\n    &quot;value&quot;: &quot;KPI_VALUE&quot;\n    &quot;tooltip&quot;: &quot;TOOLTIP_TITLE_IF_ANY&quot;\n}<\/pre>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function ajaxProcessGetKpi()\n{\n    if (Tools::getValue(&#039;kpi&#039;) == &#039;total_users&#039;) {\n        die(Tools::jsonEncode(array(\n            &#039;value&#039; =&gt; 20   \/\/ Fetch user count from the database\n        )));\n    }\n}<\/pre>\n\n\n\n<p>Now, the KPI block will appear on the admin controller:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1066\" height=\"332\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-10.png\" alt=\"image-10\" class=\"wp-image-338236\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-10.png 1066w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-10-300x93.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-10-250x78.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-10-768x239.png 768w\" sizes=\"(max-width: 1066px) 100vw, 1066px\" loading=\"lazy\" \/><figcaption>KPI block<\/figcaption><\/figure>\n\n\n\n<p>That\u2019s all.<\/p>\n\n\n\n<p>If any issue or doubt in the above process, please feel free to let us know in the comment section.<\/p>\n\n\n\n<p>I would be happy to help.<\/p>\n\n\n\n<p>Also, you can explore our&nbsp;<a href=\"https:\/\/webkul.com\/prestashop-development\/\">PrestaShop Development Services<\/a>&nbsp;and a large range of quality&nbsp;<a href=\"https:\/\/store.webkul.com\/PrestaShop-Extensions.html\">PrestaShop Modules<\/a>.<\/p>\n\n\n\n<p>For any doubt contact us at&nbsp;<a href=\"mailto:support@webkul.com\">support@webkul.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we will learn how to add KPI (Key performance indicators) block in our PrestaShop module. Key performance indicators&nbsp;are a set of data that reflect the performance of an organization\/company against a targeted goal. These indicators help you in taking the necessary steps to&nbsp;improve the performance&nbsp;of the e-commerce business. KPIs are already available <a href=\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":384,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[2065],"class_list":["post-338181","post","type-post","status-publish","format-standard","hentry","category-prestashop","tag-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to add KPI block in the PrestaShop module - Webkul Blog<\/title>\n<meta name=\"description\" content=\"In this blog, we will learn how to add a KPI block in our PrestaShop module. KPI is a set of data that reflect performance of a company goal.\" \/>\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\/how-to-add-kpi-block-in-the-prestashop-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add KPI block in the PrestaShop module - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we will learn how to add a KPI block in our PrestaShop module. KPI is a set of data that reflect performance of a company goal.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-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=\"2022-06-03T14:21:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-08T12:04:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png\" \/>\n<meta name=\"author\" content=\"Ajeet Chauhan\" \/>\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=\"Ajeet Chauhan\" \/>\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:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/\"},\"author\":{\"name\":\"Ajeet Chauhan\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/7eee8f48857441660231d6a643103357\"},\"headline\":\"How to add KPI block in the PrestaShop module\",\"datePublished\":\"2022-06-03T14:21:03+00:00\",\"dateModified\":\"2022-06-08T12:04:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/\"},\"wordCount\":415,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png\",\"keywords\":[\"prestashop\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/\",\"name\":\"How to add KPI block in the PrestaShop module - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png\",\"datePublished\":\"2022-06-03T14:21:03+00:00\",\"dateModified\":\"2022-06-08T12:04:15+00:00\",\"description\":\"In this blog, we will learn how to add a KPI block in our PrestaShop module. KPI is a set of data that reflect performance of a company goal.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png\",\"width\":1058,\"height\":114,\"caption\":\"image-8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add KPI block in the PrestaShop 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\/7eee8f48857441660231d6a643103357\",\"name\":\"Ajeet Chauhan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e97b5fe8122a2283f5fe35ae6fca4725ac46026413ce7959b575f842f6bd6c92?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\/e97b5fe8122a2283f5fe35ae6fca4725ac46026413ce7959b575f842f6bd6c92?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ajeet Chauhan\"},\"description\":\"Ajeet is a talented Software Engineer specializing in the PrestaShop platform. With expertise in PrestaShop Shipping &amp; Payments Integration, Marketplace Development, and Headless services, he delivers innovative solutions that enhance eCommerce functionality, driving seamless operations for businesses and their customers.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/ajeetchauhan-symfony143\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add KPI block in the PrestaShop module - Webkul Blog","description":"In this blog, we will learn how to add a KPI block in our PrestaShop module. KPI is a set of data that reflect performance of a company goal.","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\/how-to-add-kpi-block-in-the-prestashop-module\/","og_locale":"en_US","og_type":"article","og_title":"How to add KPI block in the PrestaShop module - Webkul Blog","og_description":"In this blog, we will learn how to add a KPI block in our PrestaShop module. KPI is a set of data that reflect performance of a company goal.","og_url":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-06-03T14:21:03+00:00","article_modified_time":"2022-06-08T12:04:15+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png","type":"","width":"","height":""}],"author":"Ajeet Chauhan","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ajeet Chauhan","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/"},"author":{"name":"Ajeet Chauhan","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/7eee8f48857441660231d6a643103357"},"headline":"How to add KPI block in the PrestaShop module","datePublished":"2022-06-03T14:21:03+00:00","dateModified":"2022-06-08T12:04:15+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/"},"wordCount":415,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png","keywords":["prestashop"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/","url":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/","name":"How to add KPI block in the PrestaShop module - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png","datePublished":"2022-06-03T14:21:03+00:00","dateModified":"2022-06-08T12:04:15+00:00","description":"In this blog, we will learn how to add a KPI block in our PrestaShop module. KPI is a set of data that reflect performance of a company goal.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/image-8.png","width":1058,"height":114,"caption":"image-8"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-add-kpi-block-in-the-prestashop-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to add KPI block in the PrestaShop 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\/7eee8f48857441660231d6a643103357","name":"Ajeet Chauhan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e97b5fe8122a2283f5fe35ae6fca4725ac46026413ce7959b575f842f6bd6c92?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\/e97b5fe8122a2283f5fe35ae6fca4725ac46026413ce7959b575f842f6bd6c92?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Ajeet Chauhan"},"description":"Ajeet is a talented Software Engineer specializing in the PrestaShop platform. With expertise in PrestaShop Shipping &amp; Payments Integration, Marketplace Development, and Headless services, he delivers innovative solutions that enhance eCommerce functionality, driving seamless operations for businesses and their customers.","url":"https:\/\/webkul.com\/blog\/author\/ajeetchauhan-symfony143\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/338181","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\/384"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=338181"}],"version-history":[{"count":22,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/338181\/revisions"}],"predecessor-version":[{"id":338876,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/338181\/revisions\/338876"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=338181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=338181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=338181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}