{"id":345784,"date":"2022-07-27T13:54:56","date_gmt":"2022-07-27T13:54:56","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=345784"},"modified":"2023-07-12T07:53:02","modified_gmt":"2023-07-12T07:53:02","slug":"render-prestashop-category-tree-in-the-custom-form","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/","title":{"rendered":"Render PrestaShop category tree in the custom form"},"content":{"rendered":"\n<p>In this blog, we will learn how to render the native PrestaShop category tree in our custom form. As we know that &#8220;<code>HelperForm<\/code>&#8221; class provides an input type &#8220;<code>categories<\/code>&#8221; by using this we can render the category tree.<\/p>\n\n\n\n<p>ie:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">array(\n    &#039;form&#039; =&gt; array(\n        &#039;input&#039; =&gt; array(\n            array(\n                &#039;type&#039; =&gt; &#039;categories&#039;,\n                &#039;label&#039; =&gt; $this-&gt;l(&#039;Select categories&#039;),\n                &#039;name&#039; =&gt; &#039;categories&#039;,\n                &#039;required&#039; =&gt; true,\n                &#039;tree&#039; =&gt; array(\n                    &#039;root_category&#039; =&gt; (int)Category::getRootCategory()-&gt;id,\n                    &#039;id&#039; =&gt; &#039;id_category&#039;,\n                    &#039;name&#039; =&gt; &#039;name_category&#039;,\n                    &#039;use_checkbox&#039; =&gt; true,\n                    &#039;selected_categories&#039; =&gt; array(3,4,5),\n                    &#039;disabled_categories&#039; =&gt; array(6),\n                    &#039;use_search&#039; =&gt; true,\n                ),\n                &#039;desc&#039; =&gt; $this-&gt;l(&#039;You can select one or more categories.&#039;)\n            ),\n        ),\n    )\n);<\/pre>\n\n\n\n<p>But how we can render this category tree when we are using a custom form? To do this, we will use the &#8220;<code>HelperTreeCategories<\/code>&#8221; class.<\/p>\n\n\n\n<p>Here is the list of important methods of the &#8220;<code>HelperTreeCategories<\/code>&#8221; class:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>Method<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>setTitle()<\/td><td>Title of the category tree<\/td><\/tr><tr><td>setRootCategory()<\/td><td>Root category for the category tree<\/td><\/tr><tr><td>setInputName()<\/td><td>Name of the category tree<\/td><\/tr><tr><td>setSelectedCategories()<\/td><td>An array of the category IDs to display as selected<\/td><\/tr><tr><td>setUseCheckBox()<\/td><td>Set to &#8220;true&#8221; if you want to multiple categories selection<\/td><\/tr><tr><td>setUseSearch()<\/td><td>Set to &#8220;true&#8221; if you want to display the search box in the category tree<\/td><\/tr><tr><td>setDisabledCategories()<\/td><td>An array of the category IDs that are to be disabled<\/td><\/tr><tr><td>render()<\/td><td>The output of the category tree in the HTML format<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Important HelperTreeCategories methods<\/figcaption><\/figure>\n\n\n\n<p>Add the below code to your module controller\/main file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/\/ Create class instance\n$categoryTree = new HelperTreeCategories(&#039;custom-categories-tree&#039;);\n\n\/\/ Set params\n$categoryTree-&gt;setInputName(&#039;wk_custom_categories&#039;)\n    -&gt;setTitle($this-&gt;l(&#039;Custom category tree&#039;))\n    -&gt;setRootCategory((int)Category::getRootCategory()-&gt;id)\n    -&gt;setUseCheckBox(true)\n    -&gt;setUseSearch(true)\n    -&gt;setSelectedCategories(array(3, 4, 5))\n    -&gt;setDisabledCategories(array(6));\n\n\/\/ Assign category tree\n$this-&gt;context-&gt;smarty-&gt;assign(array(\n    &#039;categoryTree&#039; =&gt; $categoryTree-&gt;render()\n));<\/pre>\n\n\n\n<p><strong>Note: <\/strong>You must have to pass the ID of the category tree as the first constructor parameter when creating the &#8220;<code>HelperTreeCategories<\/code>&#8221; class instance. ID parameter is mandatory. You can also pass some other optional parameters like the title of the category tree, the ID of the root category, language ID, and shop restriction.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$categoryTree = new HelperTreeCategories(&#039;&lt;id&gt;&#039;, &#039;&lt;title&gt;&#039;, &#039;&lt;langID&gt;&#039;, &#039;&lt;useShopRestriction&gt;&#039;);<\/pre>\n\n\n\n<p>Add the below code in your custom form template file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;div class=&quot;panel&quot;&gt;\n\t&lt;h3&gt;&lt;i class=&quot;icon icon-credit-card&quot;&gt;&lt;\/i&gt; {l s=&#039;Custom category tree&#039; mod=&#039;customcategorytree&#039;}&lt;\/h3&gt;\n\t&lt;form id=&quot;custom-category-tree-form&quot; class=&quot;form-horizontal&quot; action=&quot;&quot; method=&quot;post&quot;&gt;\n        &lt;div class=&quot;form-wrapper&quot;&gt;\n            &lt;div class=&quot;form-group&quot;&gt;\n                &lt;label class=&quot;control-label col-lg-3 required&quot;&gt;{l s=&#039;Custom category tree&#039; mod=&#039;customcategorytree&#039;}&lt;\/label&gt;\n                &lt;div class=&quot;col-lg-9&quot;&gt;\n                    {$categoryTree}\n                &lt;\/div&gt;\n            &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;panel-footer&quot;&gt;\n            &lt;button type=&quot;submit&quot; value=&quot;1&quot; id=&quot;module_form_submit_btn&quot; name=&quot;submitCustomcategorytreeModule&quot; class=&quot;btn btn-default pull-right&quot;&gt;\n                &lt;i class=&quot;process-icon-save&quot;&gt;&lt;\/i&gt; {l s=&#039;Save&#039; mod=&#039;customcategorytree&#039;}\n            &lt;\/button&gt;\n        &lt;\/div&gt;\n    &lt;\/form&gt;\n&lt;\/div&gt;<\/pre>\n\n\n\n<p>The category tree will look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1071\" height=\"445\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png\" alt=\"prestashop category tree\" class=\"wp-image-345892\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png 1071w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260-300x125.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260-250x104.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260-768x319.png 768w\" sizes=\"(max-width: 1071px) 100vw, 1071px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">PrestaShop category tree<\/figcaption><\/figure>\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>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;&amp; 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 render the native PrestaShop category tree in our custom form. As we know that &#8220;HelperForm&#8221; class provides an input type &#8220;categories&#8221; by using this we can render the category tree. ie: But how we can render this category tree when we are using a custom form? To <a href=\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/\">[&#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,289],"class_list":["post-345784","post","type-post","status-publish","format-standard","hentry","category-prestashop","tag-prestashop","tag-prestashop-module"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Render PrestaShop category tree in the custom form - Webkul Blog<\/title>\n<meta name=\"description\" content=\"In this blog we have explained how to render category tree in custom form. In PrestaShop, HelperTreeCategories class is used for this.\" \/>\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\/render-prestashop-category-tree-in-the-custom-form\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Render PrestaShop category tree in the custom form - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog we have explained how to render category tree in custom form. In PrestaShop, HelperTreeCategories class is used for this.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/\" \/>\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-07-27T13:54:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-12T07:53:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/\"},\"author\":{\"name\":\"Ajeet Chauhan\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/7eee8f48857441660231d6a643103357\"},\"headline\":\"Render PrestaShop category tree in the custom form\",\"datePublished\":\"2022-07-27T13:54:56+00:00\",\"dateModified\":\"2023-07-12T07:53:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/\"},\"wordCount\":301,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png\",\"keywords\":[\"prestashop\",\"prestashop module\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/\",\"url\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/\",\"name\":\"Render PrestaShop category tree in the custom form - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png\",\"datePublished\":\"2022-07-27T13:54:56+00:00\",\"dateModified\":\"2023-07-12T07:53:02+00:00\",\"description\":\"In this blog we have explained how to render category tree in custom form. In PrestaShop, HelperTreeCategories class is used for this.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png\",\"width\":1071,\"height\":445,\"caption\":\"image-260\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Render PrestaShop category tree in the custom form\"}]},{\"@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":"Render PrestaShop category tree in the custom form - Webkul Blog","description":"In this blog we have explained how to render category tree in custom form. In PrestaShop, HelperTreeCategories class is used for this.","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\/render-prestashop-category-tree-in-the-custom-form\/","og_locale":"en_US","og_type":"article","og_title":"Render PrestaShop category tree in the custom form - Webkul Blog","og_description":"In this blog we have explained how to render category tree in custom form. In PrestaShop, HelperTreeCategories class is used for this.","og_url":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-07-27T13:54:56+00:00","article_modified_time":"2023-07-12T07:53:02+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/"},"author":{"name":"Ajeet Chauhan","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/7eee8f48857441660231d6a643103357"},"headline":"Render PrestaShop category tree in the custom form","datePublished":"2022-07-27T13:54:56+00:00","dateModified":"2023-07-12T07:53:02+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/"},"wordCount":301,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png","keywords":["prestashop","prestashop module"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/","url":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/","name":"Render PrestaShop category tree in the custom form - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png","datePublished":"2022-07-27T13:54:56+00:00","dateModified":"2023-07-12T07:53:02+00:00","description":"In this blog we have explained how to render category tree in custom form. In PrestaShop, HelperTreeCategories class is used for this.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/07\/image-260.png","width":1071,"height":445,"caption":"image-260"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/render-prestashop-category-tree-in-the-custom-form\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Render PrestaShop category tree in the custom form"}]},{"@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\/345784","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=345784"}],"version-history":[{"count":27,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/345784\/revisions"}],"predecessor-version":[{"id":390715,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/345784\/revisions\/390715"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=345784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=345784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=345784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}