{"id":73700,"date":"2017-02-08T05:32:11","date_gmt":"2017-02-08T05:32:11","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=73700"},"modified":"2020-05-06T17:14:18","modified_gmt":"2020-05-06T17:14:18","slug":"how-to-modify-fields-list-in-prestashop","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/","title":{"rendered":"How to modify fields list  before rendring of an Admin controller in prestashop"},"content":{"rendered":"<p>In this blog we are going to learn how to modify fields list \u00a0before rendring of an Admin controller in prestashop.<\/p>\n<p>As we all know in an admin controller to show a render list, it is must to create a fields list. We define the $fields_list variable in the admin controller. In the $fields_list variable, we define all the required things in the render list.<\/p>\n<p>All the columns defined in the $fields_list variable are shown in the render list.<\/p>\n<p>Let&#8217;s understand the entire process with the help of taking an example of \u00a0AdminAddressesController. In the below code you can see how fields list is defined in the\u00a0AdminAddressesController-<\/p>\n<pre class=\"brush:php\">$this-&gt;fields_list = array(\n    'id_address' =&gt; array(\n        'title' =&gt; $this-&gt;l('ID'),\n        'align' =&gt; 'center',\n        'class' =&gt; 'fixed-width-xs'\n        ),\n    'firstname' =&gt; array(\n        'title' =&gt; $this-&gt;l('First Name'),\n        'filter_key' =&gt; 'a!firstname'),\n    'lastname' =&gt; array(\n        'title' =&gt; $this-&gt;l('Last Name'), \n        'filter_key' =&gt; 'a!lastname'\n        ),\n    'address1' =&gt; array(\n        'title' =&gt; $this-&gt;l('Address')\n        ),\n    'postcode' =&gt; array(\n        'title' =&gt; $this-&gt;l('Zip\/Postal Code'), \n        'align' =&gt; 'right'\n        ),\n    'city' =&gt; array(\n        'title' =&gt; $this-&gt;l('City')\n        ),\n    'country' =&gt; array(\n        'title' =&gt; $this-&gt;l('Country'), \n        'type' =&gt; 'select', \n        'list' =&gt; $this-&gt;countries_array, \n        'filter_key' =&gt; 'cl!id_country'\n        ), \n    );<\/pre>\n<p class=\"brush:php\">\u00a0And renderlist made by the above fields list in AdminAddressesController looks like the below image-<\/p>\n<p class=\"brush:php\"><img decoding=\"async\" class=\"aligncenter wp-image-73704 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Addresses-Prestashop-1.png\" alt=\"AdminAddressesController render list\" width=\"1286\" height=\"663\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Addresses-Prestashop-1.png 1286w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Addresses-Prestashop-1-250x129.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Addresses-Prestashop-1-300x155.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Addresses-Prestashop-1-768x396.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Addresses-Prestashop-1-1200x619.png 1200w\" sizes=\"(max-width: 1286px) 100vw, 1286px\" loading=\"lazy\" \/><\/p>\n<p class=\"brush:php\">It is the renderlist rendered by the predefined $fields_list variable in the AdminAddressesController. Now what if you want to add some more columns in this renderlist.<\/p>\n<p class=\"brush:php\">Prestashop provides a hook in the AdminController.php class through which we can modify the coulums of the renderlist of any admin controller.<\/p>\n<pre class=\"brush:php\">\/\/Hook provided in the getList() method in AdminController.php\nHook::exec('action'.$this-&gt;controller_name.'ListingFieldsModifier', array(\n    'select' =&gt; &amp;$this-&gt;_select,\n    'join' =&gt; &amp;$this-&gt;_join,\n    'where' =&gt; &amp;$this-&gt;_where,\n    'group_by' =&gt; &amp;$this-&gt;_group,\n    'order_by' =&gt; &amp;$this-&gt;_orderBy,\n    'order_way' =&gt; &amp;$this-&gt;_orderWay,\n    'fields' =&gt; &amp;$this-&gt;fields_list,\n));<\/pre>\n<pre class=\"brush:php\"><\/pre>\n<p>Note :<strong>: In the hook $this-&gt;controller is the name of the admin controller which fields list you are going to change.<\/strong><\/p>\n<p>Using the above hook you can modify the $fields_list of the admin controller&#8217;s render list. Lets understand the process with an example-<\/p>\n<p>We are going to add a column in the AdminAddressesController&#8217;s render list\u00a0which will show the <strong>email address<\/strong> of the customer. What you have to do is in your main class of your module you have to define the above hook. Example-<\/p>\n<pre class=\"brush:php \">\/*\n* 2007-2016 PrestaShop\n*\n* NOTICE OF LICENSE\n*\n* This source file is subject to the Open Software License (OSL 3.0)\n* that is bundled with this package in the file LICENSE.txt.\n* It is also available through the world-wide-web at this URL:\n* http:\/\/opensource.org\/licenses\/osl-3.0.php\n* If you did not receive a copy of the license and are unable to\n* obtain it through the world-wide-web, please send an email\n* to license@prestashop.com so we can send you a copy immediately.\n*\n* DISCLAIMER\n*\n* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\n* versions in the future. If you wish to customize PrestaShop for your\n* needs please refer to http:\/\/www.prestashop.com for more information.\n*\n*  @author PrestaShop SA &lt;contact@prestashop.com&gt;\n*  @copyright  2007-2016 PrestaShop SA\n*  @license    http:\/\/opensource.org\/licenses\/osl-3.0.php  Open Software License (OSL 3.0)\n*  International Registered Trademark &amp; Property of PrestaShop SA\n*\/\n\npublic function hookActionAdminAddressesListingFieldsModifier($params)\n{\n    if (isset($params['select'])) {\n        $params['join'] .= ' LEFT JOIN '._DB_PREFIX_.'customer cst ON (a.id_customer = cst.id_customer)';\n        $params['select'] .= ', cst.email as customer_email';\n    }\n    $params['fields']['customer_email'] = array(\n        'title' =&gt; 'Email',\n        'align' =&gt; 'center',\n        'search' =&gt; true,\n        'havingFilter' =&gt; true,\n    );\n}<\/pre>\n<p>In the above example we have replaced <strong>$this-&gt;controller<\/strong> with the admin controller&#8217;s name which render list we are going to modify i.e. <strong>AdminAddresses .\u00a0<\/strong><\/p>\n<p>We just have to use the parameters provided in the hook wisely and we can modify the renderlist\u00a0of the backoffice\u00a0controller as per our requirements.<\/p>\n<p>In the above implementation, we have added the <strong>email<\/strong> of the customer from <strong>_DB_PREFIX_.&#8217;customer&#8217; <\/strong>table in the $fields_list of the\u00a0<strong>AdminAddresses <\/strong>controller and you can see in the below image how it is added in the renderlist of the controller-<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-73800 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/AddressesModify.png\" alt=\"AdminAddressesController modified render list\" width=\"1286\" height=\"663\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/AddressesModify.png 1286w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/AddressesModify-250x129.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/AddressesModify-300x155.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/AddressesModify-768x396.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/AddressesModify-1200x619.png 1200w\" sizes=\"(max-width: 1286px) 100vw, 1286px\" loading=\"lazy\" \/><\/p>\n<p>So this is how you can modify fields list before rendering of an Admin controller in PrestaShop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog we are going to learn how to modify fields list \u00a0before rendring of an Admin controller in prestashop. As we all know in an admin controller to show a render list, it is must to create a fields list. We define the $fields_list variable in the admin controller. In the $fields_list variable, <a href=\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":83,"featured_media":73802,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[4457,4456,4451,4450,4458,4455,4454,4452,4453],"class_list":["post-73700","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-prestashop","tag-add-columns-in-fields-list-in-prestashop","tag-add-columns-in-render-list-in-prestashop","tag-fields-lst","tag-fields-lst-in-prestashop","tag-modify-columns-in-render-list-in-prestashop","tag-modify-field-list-in-prestashop","tag-modify-render-list-in-prestashop","tag-render-list","tag-render-lst-in-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>how to modify fields list before rendring of an Admin controller in prestashop<\/title>\n<meta name=\"description\" content=\"To modify the render list of an admin controller, we can modify fields list before rendering of an Admin controller in PrestaShop using PrestaShop hook.\" \/>\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-modify-fields-list-in-prestashop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"how to modify fields list before rendring of an Admin controller in prestashop\" \/>\n<meta property=\"og:description\" content=\"To modify the render list of an admin controller, we can modify fields list before rendering of an Admin controller in PrestaShop using PrestaShop hook.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-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=\"2017-02-08T05:32:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-06T17:14:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sumit\" \/>\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=\"Sumit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 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-modify-fields-list-in-prestashop\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/\"},\"author\":{\"name\":\"Sumit\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/3e45ec35749afa62aa598a5e1766d2b9\"},\"headline\":\"How to modify fields list before rendring of an Admin controller in prestashop\",\"datePublished\":\"2017-02-08T05:32:11+00:00\",\"dateModified\":\"2020-05-06T17:14:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/\"},\"wordCount\":388,\"commentCount\":11,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png\",\"keywords\":[\"add columns in fields list in prestashop\",\"add columns in render list in prestashop\",\"fields lst\",\"fields lst in prestashop\",\"modify columns in render list in prestashop\",\"modify field list in prestashop\",\"modify render list in prestashop\",\"render list\",\"render lst in prestashop\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/\",\"name\":\"how to modify fields list before rendring of an Admin controller in prestashop\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png\",\"datePublished\":\"2017-02-08T05:32:11+00:00\",\"dateModified\":\"2020-05-06T17:14:18+00:00\",\"description\":\"To modify the render list of an admin controller, we can modify fields list before rendering of an Admin controller in PrestaShop using PrestaShop hook.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to modify fields list before rendring of an Admin controller in prestashop\"}]},{\"@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\/3e45ec35749afa62aa598a5e1766d2b9\",\"name\":\"Sumit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?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\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sumit\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/sumit201\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"how to modify fields list before rendring of an Admin controller in prestashop","description":"To modify the render list of an admin controller, we can modify fields list before rendering of an Admin controller in PrestaShop using PrestaShop hook.","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-modify-fields-list-in-prestashop\/","og_locale":"en_US","og_type":"article","og_title":"how to modify fields list before rendring of an Admin controller in prestashop","og_description":"To modify the render list of an admin controller, we can modify fields list before rendering of an Admin controller in PrestaShop using PrestaShop hook.","og_url":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-02-08T05:32:11+00:00","article_modified_time":"2020-05-06T17:14:18+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png","type":"image\/png"}],"author":"Sumit","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sumit","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/"},"author":{"name":"Sumit","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/3e45ec35749afa62aa598a5e1766d2b9"},"headline":"How to modify fields list before rendring of an Admin controller in prestashop","datePublished":"2017-02-08T05:32:11+00:00","dateModified":"2020-05-06T17:14:18+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/"},"wordCount":388,"commentCount":11,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png","keywords":["add columns in fields list in prestashop","add columns in render list in prestashop","fields lst","fields lst in prestashop","modify columns in render list in prestashop","modify field list in prestashop","modify render list in prestashop","render list","render lst in prestashop"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/","url":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/","name":"how to modify fields list before rendring of an Admin controller in prestashop","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png","datePublished":"2017-02-08T05:32:11+00:00","dateModified":"2020-05-06T17:14:18+00:00","description":"To modify the render list of an admin controller, we can modify fields list before rendering of an Admin controller in PrestaShop using PrestaShop hook.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/02\/Prestashop-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-modify-fields-list-in-prestashop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to modify fields list before rendring of an Admin controller in prestashop"}]},{"@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\/3e45ec35749afa62aa598a5e1766d2b9","name":"Sumit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?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\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sumit"},"url":"https:\/\/webkul.com\/blog\/author\/sumit201\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/73700","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\/83"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=73700"}],"version-history":[{"count":17,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/73700\/revisions"}],"predecessor-version":[{"id":272568,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/73700\/revisions\/272568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/73802"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=73700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=73700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=73700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}