{"id":309015,"date":"2021-10-14T09:18:27","date_gmt":"2021-10-14T09:18:27","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=309015"},"modified":"2021-10-14T09:18:30","modified_gmt":"2021-10-14T09:18:30","slug":"adding-new-configuration-fields-in-prestashop-1-7-modern-pages","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/","title":{"rendered":"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages"},"content":{"rendered":"\n<p>In this blog, we are going to learn how to add new configuration fields in existing Symfony controller forms in PrestaShop 1.7. This concept will be helpful if we want to add new fields in native PrestaShop configuration pages.<\/p>\n\n\n\n<p>So let\u2019s understand how to add new fields. For this purpose we\u2019ll use the <strong>action&lt;layoutTitle&gt;PageForm <\/strong>and&nbsp; <strong>action&lt;layoutTitle&gt;PageSave <\/strong>hooks. Hence, the layoutTitle is the display name of the page, It can be seen from the header of the page.<\/p>\n\n\n\n<p>Suppose, if we want to add the new configuration field in the Performance page then we have to use the <strong>actionPerformancePageForm <\/strong>and <strong>actionPerformancePageSave <\/strong>hooks.<\/p>\n\n\n\n<p>Let\u2019s understand it with an example\u2026<\/p>\n\n\n\n<p><strong>i) Create a module and register the hooks<\/strong><\/p>\n\n\n\n<p>Hence we have created a demo module and registered the mentioned hook, like below code-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function hookActionPerformancePageForm(&amp;$params)\n{\n    # \/modules\/mymodule\/mymodule.php\n    $formBuilder = $params&#091;&#039;form_builder&#039;];\n    \/** @var $formBuilder \\Symfony\\Component\\Form *\/\n    $cacheLifeTime = $formBuilder-&gt;get(&#039;smarty&#039;);\n    \/** @var TextType::class \\Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType *\/\n    $cacheLifeTime-&gt;add(\n        &#039;cache_life_time&#039;,\n        TextType::class,\n        &#091;\n            &#039;help&#039; =&gt; $this-&gt;l(&#039;Add cache lifetime in hrs&#039;),\n            &#039;label&#039; =&gt; $this-&gt;l(&#039;Cache lifetime&#039;)\n        ]\n    );\n}<\/pre>\n\n\n\n<p>In the above code, we get the smarty section of the Performance page using the get method and add a new text type field <strong>\u201cCache lifetime\u201d<\/strong><\/p>\n\n\n\n<p>Hence, the text type field is created so we need to use the namespace <strong>Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType<em>;<\/em><\/strong>&nbsp; in the module.<\/p>\n\n\n\n<p>Now, the view of the form is like this :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"658\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png\" alt=\"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages Image 1\" class=\"wp-image-309016\" title=\"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages Image 1\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-300x164.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-250x137.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-768x421.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1536x842.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1.png 1642w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>ii) Validating\/Saving forms data<\/strong><br>For validation and Saving the form data, we will use hook <strong>actionPerformancePageSave <\/strong>as mentioned below-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function hookActionPerformancePageSave(&amp;$params)\n{\n    # \/modules\/mymodule\/mymodule.php\n    \/\/ retrieve and validate the data\n    $cacheLifeTime = $params&#091;&#039;form_data&#039;]&#091;&#039;smarty&#039;]&#091;&#039;cache_life_time&#039;];\n    if (!Validate::isFloat($cacheLifeTime)) {\n        $params&#091;&#039;errors&#039;] = &#091;$this-&gt;l(&#039;Cache Lifetime is not valid&#039;)];\n    }\n    if (empty($params&#091;&#039;errors&#039;])) {\n        Configuration::updateValue(&#039;PS_CACHE_LIFE_TIME&#039;, $cacheLifeTime);\n    }\n }<\/pre>\n\n\n\n<p>We can add errors in $params[&#8216;errors&#8217;] in the form of an array and PrestaShop will display these errors automatically. If data is valid then save this data in the configuration table, hence we have saved it in the <strong>PS_CACHE_LIFE_TIME <\/strong>configuration key.<\/p>\n\n\n\n<p>Errors will be shown like given screenshot-<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"561\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-3-1200x561.png\" alt=\"adding-new-configuration-fields-in-prestashop-1-7-modern-pages-image-3\" class=\"wp-image-309318\" title=\"adding-new-configuration-fields-in-prestashop-1-7-modern-pages-image-3\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-3-1200x561.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-3-300x140.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-3-250x117.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-3-768x359.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-3-1536x718.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-3.png 1645w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>iii) Display updated data in fields<\/strong><\/p>\n\n\n\n<p>Add the<strong> &#8216;data&#8217; <\/strong>parameter just like the below code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function hookActionPerformancePageForm(&amp;$params)\n{\n    # \/modules\/mymodule\/mymodule.php\n    $formBuilder = $params&#091;&#039;form_builder&#039;];\n    \/** @var $formBuilder \\Symfony\\Component\\Form *\/\n    $cacheLifeTime = $formBuilder-&gt;get(&#039;smarty&#039;);\n    \/** @var TextType::class \\Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType *\/\n    $cacheLifeTime-&gt;add(\n        &#039;cache_life_time&#039;,\n        TextType::class,\n        &#091;\n           &#039;help&#039; =&gt; $this-&gt;l(&#039;Add cache lifetime in hrs&#039;),\n           &#039;label&#039; =&gt; $this-&gt;l(&#039;Cache lifetime&#039;),\n           &#039;data&#039; =&gt; Configuration::get(&#039;PS_CACHE_LIFE_TIME&#039;)\n        ]\n    );\n }<\/pre>\n\n\n\n<p>Now updated value will be shown like this:-<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"602\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-2-1200x602.png\" alt=\"adding-new-configuration-fields-in-prestashop-1-7-modern-pages-image-4\" class=\"wp-image-309320\" title=\"adding-new-configuration-fields-in-prestashop-1-7-modern-pages-image-4\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-2-1200x602.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-2-300x151.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-2-250x125.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-2-768x385.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-2-1536x771.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-2.png 1624w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Note:<\/strong> This concept only works with pages from the \u201cConfigure\u201d section of your back office.<\/p>\n\n\n\n<p>That\u2019s all about this blog.<\/p>\n\n\n\n<p>If any issue or doubt please feel free to mention it in the comment section.<\/p>\n\n\n\n<p>We 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> &amp; 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 <a href=\"mailto:support@webkul.com\">support@webkul.com<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to learn how to add new configuration fields in existing Symfony controller forms in PrestaShop 1.7. This concept will be helpful if we want to add new fields in native PrestaShop configuration pages. So let\u2019s understand how to add new fields. For this purpose we\u2019ll use the action&lt;layoutTitle&gt;PageForm and&nbsp; <a href=\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":388,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209,1],"tags":[12156,12155,12154,12157,12011],"class_list":["post-309015","post","type-post","status-publish","format-standard","hentry","category-prestashop","category-uncategorized","tag-add-new-configuration-fields-in-modern-page","tag-add-new-fields-in-prestashop-configuration","tag-extends-prestashop-configuration","tag-modify-configurations","tag-modify-symfony-forms"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Adding New Configuration Fields In PrestaShop 1.7 Modern Pages - Webkul Blog<\/title>\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-new-configuration-fields-in-prestashop-1-7-modern-pages\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we are going to learn how to add new configuration fields in existing Symfony controller forms in PrestaShop 1.7. This concept will be helpful if we want to add new fields in native PrestaShop configuration pages. So let\u2019s understand how to add new fields. For this purpose we\u2019ll use the action&lt;layoutTitle&gt;PageForm and&nbsp; [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/\" \/>\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=\"2021-10-14T09:18:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-14T09:18:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png\" \/>\n<meta name=\"author\" content=\"Amit Kumar Tiwari\" \/>\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=\"Amit Kumar Tiwari\" \/>\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\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/\"},\"author\":{\"name\":\"Amit Kumar Tiwari\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d9ce9e306c32df23a286ed9b5eb81257\"},\"headline\":\"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages\",\"datePublished\":\"2021-10-14T09:18:27+00:00\",\"dateModified\":\"2021-10-14T09:18:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/\"},\"wordCount\":372,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png\",\"keywords\":[\"Add New Configuration Fields In Modern page\",\"Add New Fields In PrestaShop Configuration\",\"Extends Prestashop Configuration\",\"Modify Configurations\",\"Modify Symfony Forms\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/\",\"url\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/\",\"name\":\"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png\",\"datePublished\":\"2021-10-14T09:18:27+00:00\",\"dateModified\":\"2021-10-14T09:18:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1.png\",\"width\":1642,\"height\":900,\"caption\":\"Blog2image-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages\"}]},{\"@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\/d9ce9e306c32df23a286ed9b5eb81257\",\"name\":\"Amit Kumar Tiwari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?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\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Amit Kumar Tiwari\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/amitkr-tiwari139\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages - Webkul Blog","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-new-configuration-fields-in-prestashop-1-7-modern-pages\/","og_locale":"en_US","og_type":"article","og_title":"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages - Webkul Blog","og_description":"In this blog, we are going to learn how to add new configuration fields in existing Symfony controller forms in PrestaShop 1.7. This concept will be helpful if we want to add new fields in native PrestaShop configuration pages. So let\u2019s understand how to add new fields. For this purpose we\u2019ll use the action&lt;layoutTitle&gt;PageForm and&nbsp; [...]","og_url":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2021-10-14T09:18:27+00:00","article_modified_time":"2021-10-14T09:18:30+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png","type":"","width":"","height":""}],"author":"Amit Kumar Tiwari","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Amit Kumar Tiwari","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/"},"author":{"name":"Amit Kumar Tiwari","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d9ce9e306c32df23a286ed9b5eb81257"},"headline":"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages","datePublished":"2021-10-14T09:18:27+00:00","dateModified":"2021-10-14T09:18:30+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/"},"wordCount":372,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png","keywords":["Add New Configuration Fields In Modern page","Add New Fields In PrestaShop Configuration","Extends Prestashop Configuration","Modify Configurations","Modify Symfony Forms"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/","url":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/","name":"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1-1200x658.png","datePublished":"2021-10-14T09:18:27+00:00","dateModified":"2021-10-14T09:18:30+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/Blog2image-1.png","width":1642,"height":900,"caption":"Blog2image-1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/adding-new-configuration-fields-in-prestashop-1-7-modern-pages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Adding New Configuration Fields In PrestaShop 1.7 Modern Pages"}]},{"@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\/d9ce9e306c32df23a286ed9b5eb81257","name":"Amit Kumar Tiwari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?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\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Amit Kumar Tiwari"},"url":"https:\/\/webkul.com\/blog\/author\/amitkr-tiwari139\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/309015","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\/388"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=309015"}],"version-history":[{"count":10,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/309015\/revisions"}],"predecessor-version":[{"id":309386,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/309015\/revisions\/309386"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=309015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=309015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=309015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}