{"id":416552,"date":"2024-01-04T07:40:29","date_gmt":"2024-01-04T07:40:29","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=416552"},"modified":"2024-01-04T07:40:37","modified_gmt":"2024-01-04T07:40:37","slug":"how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/","title":{"rendered":"Add a custom column to show aggregate function value in render list using PrestaShop 8.0"},"content":{"rendered":"\n<p>In this blog, we are going to learn how we can show aggregate function value in the render list on the Prestashop Admin modern controller based on Symfony.<\/p>\n\n\n\n<p>First of all, we need to understand the aggregate function:<\/p>\n\n\n\n<p><strong>An aggregate function in SQL performs a calculation on multiple values and returns a single value. SQL provides many aggregate functions that include avg, count, sum, min, max, etc.<\/strong><\/p>\n\n\n\n<p>In this blog, We are taking an example of the count aggregate function.<\/p>\n\n\n\n<p>With the new PrestaShop, things are handled differently &amp; we going to explain this in detail &amp; we are going to explain an integration process with the help of a live example of &#8220;adminProductController&#8221;.<\/p>\n\n\n\n<p>In this example, We are going to show the product image count in the listing by adding a new column. <strong>Let&#8217;s Start.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1:-<\/h3>\n\n\n\n<p>Register the actionAdminProductsListingFieldsModifier hook in your module.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$this-&gt;registerHook(&#039;actionAdminProductsListingFieldsModifier&#039;);<\/pre>\n\n\n\n<p>Now we need to create a related function as per PrestaShop flow to act.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function hookActionAdminProductsListingFieldsModifier($list)\n{\n\n    if (isset($list&#091;&#039;sql_select&#039;])) {\n        $list&#091;&#039;sql_select&#039;]&#091;&#039;id_image&#039;] = array(\n            &quot;table&quot; =&gt; &quot;pi&quot;,\n            &quot;field&quot; =&gt; &quot;id_image&quot;,\n            &quot;filtering&quot; =&gt; &quot;  %s &quot;\n        );\n        $list&#091;&#039;sql_select&#039;]&#091;&#039;image_count&#039;] = array(\n            &#039;select&#039; =&gt; &#039;COUNT(pi.id_image)&#039;,\n            &#039;filtering&#039; =&gt; &quot; %s &quot;\n        );\n    }\n    if (isset($list&#091;&#039;sql_table&#039;])) {\n        $list&#091;&#039;sql_table&#039;]&#091;&#039;pi&#039;] = array(\n            &quot;table&quot; =&gt; &quot;image&quot;,\n            &quot;join&quot; =&gt; &quot;LEFT JOIN&quot;,\n            &quot;on&quot; =&gt; &quot;pi.`id_product` = p.`id_product`&quot;\n        );\n\n        $list&#091;&#039;sql_group_by&#039;]&#091;] = &#039;p.id_product&#039;;\n    }\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2:-<\/h3>\n\n\n\n<p>We need to override these below listed two files below in the custom module. Here is the file path.<\/p>\n\n\n\n<p>In the below file, we have added a header column named &#8220;Image count&#8221;.<\/p>\n\n\n\n<p><strong>Path: <\/strong>ROOT_DIR\/modules\/YOUR_MODULE_NAME\/views\/PrestaShop\/Admin\/Product\/CatalogPage\/Lists\/products_table.html.twig<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;th scope=&quot;col&quot; class=&quot;text-center&quot; style=&quot;width: 9%&quot;&gt;  \n    {{ &quot;Image count&quot;|trans({}, &#039;Admin.Global&#039;) }}\n&lt;\/th&gt;<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"874\" height=\"451\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png\" alt=\"Header_Column\" class=\"wp-image-416554\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png 874w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column-300x155.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column-250x129.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column-768x396.png 768w\" sizes=\"(max-width: 874px) 100vw, 874px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In the below file, we have added a value of column.<\/p>\n\n\n\n<p><strong>Path: <\/strong>ROOT_DIR\/modules\/YOUR_MODULE_NAME\/views\/PrestaShop\/Admin\/Product\/CatalogPage\/Lists\/list.html.twig<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;td class=&quot;text-center&quot;&gt;\n    {% if product.id_image is defined %}\n        {% if product.id_image != &#039;&#039; %}\n                &lt;span class=&quot;&quot;&gt;{{ product.image_count }}&lt;\/span&gt;\n        {% else %}\n        -\n        {%endif%}\n    {% else %}\n    -\n    {%endif%}\n&lt;\/td&gt;<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"929\" height=\"559\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing_Value.png\" alt=\"Listing_Value\" class=\"wp-image-416555\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing_Value.png 929w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing_Value-300x181.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing_Value-250x150.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing_Value-768x462.png 768w\" sizes=\"(max-width: 929px) 100vw, 929px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>After adding the code you will get the result on the admin product listing and you can see the image count in the column.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"509\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing-1200x509.png\" alt=\"Listing\" class=\"wp-image-416556\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing-1200x509.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing-300x127.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing-250x106.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing-768x326.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Listing.png 1365w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>You can see the product contains the same number of images when checking inside the product.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"508\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Image_count-1200x508.png\" alt=\"Image_count\" class=\"wp-image-416557\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Image_count-1200x508.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Image_count-300x127.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Image_count-250x106.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Image_count-768x325.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Image_count.png 1365w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>That\u2019s all about this blog.<\/p>\n\n\n\n<p>If you are facing any issues or doubts in the above process, please feel free to contact us through 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 <a href=\"https:\/\/webkul.com\/prestashop-development\/\">PrestaShop Development Services<\/a> and a large range of quality <a href=\"https:\/\/store.webkul.com\/PrestaShop-Extensions.html\">PrestaShop Modules<\/a>.<\/p>\n\n\n\n<p>For any doubt contact us at support@webkul.com <\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to learn how we can show aggregate function value in the render list on the Prestashop Admin modern controller based on Symfony. First of all, we need to understand the aggregate function: An aggregate function in SQL performs a calculation on multiple values and returns a single value. SQL <a href=\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":387,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1300,41,209,1795,2707,2708],"tags":[12927,15226,2065,9183,15225,15224],"class_list":["post-416552","post","type-post","status-publish","format-standard","hentry","category-custom-option","category-module","category-prestashop","category-product-catalog","category-symfony","category-symfony2","tag-custom-development","tag-customize-your-requirement","tag-prestashop","tag-prestashop-addon","tag-prestashop-customizations","tag-prestashop-services"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add a custom column to show aggregate function value in render list using PrestaShop 8.0 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"In this blog, we are going to learn how we can show aggregate function value in the render list on the PrestaShop product controller (Prestashop Admin modern controller) based on Symfony.\" \/>\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-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add a custom column to show aggregate function value in render list using PrestaShop 8.0 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we are going to learn how we can show aggregate function value in the render list on the PrestaShop product controller (Prestashop Admin modern controller) based on Symfony.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\" \/>\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=\"2024-01-04T07:40:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-04T07:40:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png\" \/>\n<meta name=\"author\" content=\"Sunny Kumar\" \/>\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=\"Sunny Kumar\" \/>\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-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\"},\"author\":{\"name\":\"Sunny Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/82afaa5265683f080b52d639e7cdaf67\"},\"headline\":\"Add a custom column to show aggregate function value in render list using PrestaShop 8.0\",\"datePublished\":\"2024-01-04T07:40:29+00:00\",\"dateModified\":\"2024-01-04T07:40:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\"},\"wordCount\":350,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png\",\"keywords\":[\"custom development\",\"customize your requirement\",\"prestashop\",\"prestashop addon\",\"prestashop customizations\",\"prestashop services\"],\"articleSection\":[\"Custom option\",\"module\",\"prestashop\",\"Product Catalog\",\"Symfony\",\"Symfony2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\",\"name\":\"Add a custom column to show aggregate function value in render list using PrestaShop 8.0 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png\",\"datePublished\":\"2024-01-04T07:40:29+00:00\",\"dateModified\":\"2024-01-04T07:40:37+00:00\",\"description\":\"In this blog, we are going to learn how we can show aggregate function value in the render list on the PrestaShop product controller (Prestashop Admin modern controller) based on Symfony.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png\",\"width\":874,\"height\":451,\"caption\":\"Header_Column\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add a custom column to show aggregate function value in render list using PrestaShop 8.0\"}]},{\"@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\/82afaa5265683f080b52d639e7cdaf67\",\"name\":\"Sunny Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?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\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sunny Kumar\"},\"description\":\"Sunny, a Prestashop virtuoso, crafts innovative eCommerce solutions. His expertise in marketplace development is unparalleled, seamlessly integrating modules. With precision coding, Sunny creates robust online stores, ensuring a seamless user experience. His engineering prowess enhances digital retail, leaving a lasting impact on the Prestashop community.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/sunny-kumar912\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add a custom column to show aggregate function value in render list using PrestaShop 8.0 - Webkul Blog","description":"In this blog, we are going to learn how we can show aggregate function value in the render list on the PrestaShop product controller (Prestashop Admin modern controller) based on Symfony.","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-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/","og_locale":"en_US","og_type":"article","og_title":"Add a custom column to show aggregate function value in render list using PrestaShop 8.0 - Webkul Blog","og_description":"In this blog, we are going to learn how we can show aggregate function value in the render list on the PrestaShop product controller (Prestashop Admin modern controller) based on Symfony.","og_url":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2024-01-04T07:40:29+00:00","article_modified_time":"2024-01-04T07:40:37+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png","type":"","width":"","height":""}],"author":"Sunny Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sunny Kumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/"},"author":{"name":"Sunny Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/82afaa5265683f080b52d639e7cdaf67"},"headline":"Add a custom column to show aggregate function value in render list using PrestaShop 8.0","datePublished":"2024-01-04T07:40:29+00:00","dateModified":"2024-01-04T07:40:37+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/"},"wordCount":350,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png","keywords":["custom development","customize your requirement","prestashop","prestashop addon","prestashop customizations","prestashop services"],"articleSection":["Custom option","module","prestashop","Product Catalog","Symfony","Symfony2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/","url":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/","name":"Add a custom column to show aggregate function value in render list using PrestaShop 8.0 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png","datePublished":"2024-01-04T07:40:29+00:00","dateModified":"2024-01-04T07:40:37+00:00","description":"In this blog, we are going to learn how we can show aggregate function value in the render list on the PrestaShop product controller (Prestashop Admin modern controller) based on Symfony.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/Header_Column.png","width":874,"height":451,"caption":"Header_Column"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-we-can-show-aggregate-functions-value-in-renderlist-on-prestashop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Add a custom column to show aggregate function value in render list using PrestaShop 8.0"}]},{"@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\/82afaa5265683f080b52d639e7cdaf67","name":"Sunny Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?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\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sunny Kumar"},"description":"Sunny, a Prestashop virtuoso, crafts innovative eCommerce solutions. His expertise in marketplace development is unparalleled, seamlessly integrating modules. With precision coding, Sunny creates robust online stores, ensuring a seamless user experience. His engineering prowess enhances digital retail, leaving a lasting impact on the Prestashop community.","url":"https:\/\/webkul.com\/blog\/author\/sunny-kumar912\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/416552","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\/387"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=416552"}],"version-history":[{"count":2,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/416552\/revisions"}],"predecessor-version":[{"id":416562,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/416552\/revisions\/416562"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=416552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=416552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=416552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}