{"id":374627,"date":"2023-03-30T12:12:12","date_gmt":"2023-03-30T12:12:12","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=374627"},"modified":"2023-03-30T12:12:19","modified_gmt":"2023-03-30T12:12:19","slug":"how-to-render-date-range-calendar-in-prestashop","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/","title":{"rendered":"How to render date range calendar in PrestaShop"},"content":{"rendered":"\n<p>In this blog, we are going learn how to render a date range calendar in PrestaShop using <code>HelperCalendar<\/code> helper class. This helper class allows us to generate a date range calendar. A date range calendar is helpful in filtering and comparing data between a specific period of time.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1066\" height=\"396\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png\" alt=\"image-211\" class=\"wp-image-374831\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png 1066w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211-300x111.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211-250x93.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211-768x285.png 768w\" sizes=\"(max-width: 1066px) 100vw, 1066px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Date range calendar<\/figcaption><\/figure>\n\n\n\n<p>To render the date range calendar, we will create an instance of <code>HelperCalendar<\/code> class and assign some default values to this class properties like start and end date range.<\/p>\n\n\n\n<p><strong>Important methods of <code>HelperCalendar<\/code> class<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Method<\/td><td>Description<\/td><\/tr><tr><td>setDateFrom()<\/td><td>Set the start date <\/td><\/tr><tr><td>setDateTo()<\/td><td>Set the end date <\/td><\/tr><tr><td>setActions()<\/td><td>Add custom actions <\/td><\/tr><tr><td>setCompareDateFrom()<\/td><td>Set compare start date<\/td><\/tr><tr><td>setCompareDateTo()<\/td><td>Set compare end date <\/td><\/tr><tr><td>generate()<\/td><td>Generate the date range calendar based on provided parameters<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><code>HelperCalendar<\/code> class important methods<\/figcaption><\/figure>\n\n\n\n<p>ie: Here is an example of how we can create  <code>HelperCalendar<\/code> class instance and assign default values:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/\/ Default values\n$dateTo = date(&#039;Y-m-d&#039;);\n$dateFrom = date(&#039;Y-m-d&#039;, strtotime(&quot;-1 months&quot;));\n\n\/\/ Create class instance\n$objCalendarHelper = new HelperCalendar();\n\n\/\/ Set default values for date range\n$objCalendarHelper-&gt;setDateFrom($dateFrom);\n$objCalendarHelper-&gt;setDateTo($dateTo);\n\n\/\/ Generate calendar and assign for smarty template\n$this-&gt;context-&gt;smarty-&gt;assign(&#091;\n    &#039;calendar&#039; =&gt; $objCalendarHelper-&gt;generate(),\n    &#039;date_from&#039; =&gt; $dateTo,\n    &#039;date_to&#039; =&gt; $dateFrom,\n    &#039;action&#039; =&gt; $this-&gt;context-&gt;link-&gt;getAdminLink(&#039;AdminModules&#039;, true)\n    . &#039;&amp;configure=&#039; . $this-&gt;name . &#039;&amp;tab_module=&#039; . $this-&gt;tab . &#039;&amp;module_name=&#039; . $this-&gt;name\n]);<\/pre>\n\n\n\n<p>Smarty template code:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;div class=&quot;panel&quot;&gt;\n    &lt;h3&gt;{l s=&#039;Date range calendar&#039; mod=&#039;wksmartyfunction&#039;}&lt;\/h3&gt;\n    &lt;form method=&quot;post&quot; action=&quot;{$action}&quot;&gt;\n        &lt;div class=&quot;form-group pull-right&quot;&gt;\n            &lt;button id=&quot;datepickerExpand&quot; class=&quot;btn btn-default&quot; type=&quot;button&quot;&gt;\n                &lt;i class=&quot;icon-calendar-empty&quot;&gt;&lt;\/i&gt;\n                &lt;span class=&quot;hidden-xs&quot;&gt;\n                    {l s=&#039;From&#039; d=&#039;Admin.Global&#039;}\n                    &lt;strong class=&quot;text-info&quot; id=&quot;datepicker-from-info&quot;&gt;{$date_from|escape}&lt;\/strong&gt;\n                    {l s=&#039;To&#039; d=&#039;Admin.Global&#039;}\n                    &lt;strong class=&quot;text-info&quot; id=&quot;datepicker-to-info&quot;&gt;{$date_to|escape}&lt;\/strong&gt;\n                    &lt;strong class=&quot;text-info&quot; id=&quot;datepicker-diff-info&quot;&gt;&lt;\/strong&gt;\n                &lt;\/span&gt;\n                &lt;i class=&quot;icon-caret-down&quot;&gt;&lt;\/i&gt;\n            &lt;\/button&gt;\n        &lt;\/div&gt;\n        {$calendar}\n    &lt;\/form&gt;\n    &lt;div class=&quot;clearfix&quot;&gt;&lt;\/div&gt;\n&lt;\/div&gt;<\/pre>\n\n\n\n<p>We can also add our custom actions to this calendar. To add custom actions, we will pass the action array list to the <code>setActions()<\/code> method:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$objCalendarHelper-&gt;setActions(&#091;\n    &#091;\n        &#039;label&#039; =&gt; &#039;Day&#039;,\n        &#039;href&#039; =&gt; &#039;javascript:void(0);&#039;,\n        &#039;class&#039; =&gt; &#039;actionSetDayDate&#039;,\n        &#039;icon&#039; =&gt; &#039;icon-home&#039;\n    ],\n    &#091;\n        &#039;label&#039; =&gt; &#039;Month&#039;,\n        &#039;href&#039; =&gt; &#039;javascript:void(0);&#039;,\n        &#039;class&#039; =&gt; &#039;actionSetMonthDate&#039;,\n        &#039;icon&#039; =&gt; &#039;icon-calendar&#039;\n    ],\n    &#091;\n        &#039;label&#039; =&gt; &#039;Year&#039;,\n        &#039;href&#039; =&gt; &#039;javascript:void(0);&#039;,\n        &#039;class&#039; =&gt; &#039;actionSetYearDate&#039;,\n        &#039;icon&#039; =&gt; &#039;icon-refresh&#039;\n    ]\n]);<\/pre>\n\n\n\n<p>Now, the custom action button will be shown in the date range calendar:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1070\" height=\"398\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-212.png\" alt=\"image-212\" class=\"wp-image-374836\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-212.png 1070w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-212-300x112.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-212-250x93.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-212-768x286.png 768w\" sizes=\"(max-width: 1070px) 100vw, 1070px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Custom actions in date range calendar<\/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\/\" target=\"_blank\" rel=\"noreferrer noopener\">PrestaShop Development Services<\/a>&nbsp;&amp; a large range of quality&nbsp;<a href=\"https:\/\/store.webkul.com\/PrestaShop-Extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">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 are going learn how to render a date range calendar in PrestaShop using HelperCalendar helper class. This helper class allows us to generate a date range calendar. A date range calendar is helpful in filtering and comparing data between a specific period of time. To render the date range calendar, we <a href=\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":384,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[2065],"class_list":["post-374627","post","type-post","status-publish","format-standard","hentry","category-prestashop","tag-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to render date range calendar in PrestaShop - Webkul Blog<\/title>\n<meta name=\"description\" content=\"In this blog, we will learn how to display a date range calendar in the PrestaShop back office. To do this, we will use HelperCalendar class\" \/>\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-render-date-range-calendar-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 render date range calendar in PrestaShop - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we will learn how to display a date range calendar in the PrestaShop back office. To do this, we will use HelperCalendar class\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-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=\"2023-03-30T12:12:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-30T12:12:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png\" \/>\n<meta name=\"author\" content=\"Ajeet Chauhan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ajeet Chauhan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/\"},\"author\":{\"name\":\"Ajeet Chauhan\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/7eee8f48857441660231d6a643103357\"},\"headline\":\"How to render date range calendar in PrestaShop\",\"datePublished\":\"2023-03-30T12:12:12+00:00\",\"dateModified\":\"2023-03-30T12:12:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/\"},\"wordCount\":247,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png\",\"keywords\":[\"prestashop\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/\",\"name\":\"How to render date range calendar in PrestaShop - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png\",\"datePublished\":\"2023-03-30T12:12:12+00:00\",\"dateModified\":\"2023-03-30T12:12:19+00:00\",\"description\":\"In this blog, we will learn how to display a date range calendar in the PrestaShop back office. To do this, we will use HelperCalendar class\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png\",\"width\":1066,\"height\":396,\"caption\":\"image-211\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to render date range calendar 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\/7eee8f48857441660231d6a643103357\",\"name\":\"Ajeet Chauhan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e97b5fe8122a2283f5fe35ae6fca4725ac46026413ce7959b575f842f6bd6c92?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e97b5fe8122a2283f5fe35ae6fca4725ac46026413ce7959b575f842f6bd6c92?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ajeet Chauhan\"},\"description\":\"Ajeet is a talented Software Engineer specializing in the PrestaShop platform. With expertise in PrestaShop Shipping &amp; Payments Integration, Marketplace Development, and Headless services, he delivers innovative solutions that enhance eCommerce functionality, driving seamless operations for businesses and their customers.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/ajeetchauhan-symfony143\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to render date range calendar in PrestaShop - Webkul Blog","description":"In this blog, we will learn how to display a date range calendar in the PrestaShop back office. To do this, we will use HelperCalendar class","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-render-date-range-calendar-in-prestashop\/","og_locale":"en_US","og_type":"article","og_title":"How to render date range calendar in PrestaShop - Webkul Blog","og_description":"In this blog, we will learn how to display a date range calendar in the PrestaShop back office. To do this, we will use HelperCalendar class","og_url":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-03-30T12:12:12+00:00","article_modified_time":"2023-03-30T12:12:19+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png","type":"","width":"","height":""}],"author":"Ajeet Chauhan","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ajeet Chauhan","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/"},"author":{"name":"Ajeet Chauhan","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/7eee8f48857441660231d6a643103357"},"headline":"How to render date range calendar in PrestaShop","datePublished":"2023-03-30T12:12:12+00:00","dateModified":"2023-03-30T12:12:19+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/"},"wordCount":247,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png","keywords":["prestashop"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/","url":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/","name":"How to render date range calendar in PrestaShop - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png","datePublished":"2023-03-30T12:12:12+00:00","dateModified":"2023-03-30T12:12:19+00:00","description":"In this blog, we will learn how to display a date range calendar in the PrestaShop back office. To do this, we will use HelperCalendar class","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/image-211.png","width":1066,"height":396,"caption":"image-211"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-render-date-range-calendar-in-prestashop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to render date range calendar 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\/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\/374627","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=374627"}],"version-history":[{"count":4,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/374627\/revisions"}],"predecessor-version":[{"id":374840,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/374627\/revisions\/374840"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=374627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=374627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=374627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}