{"id":155803,"date":"2019-06-28T09:33:35","date_gmt":"2019-06-28T09:33:35","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=155803"},"modified":"2019-06-28T10:04:23","modified_gmt":"2019-06-28T10:04:23","slug":"how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/","title":{"rendered":"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module"},"content":{"rendered":"\n<p>Lets first understand the problem, if you want a grid view of products on your Prestashop controller in a module like this in the screen shot<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1200\" height=\"622\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png\" alt=\"Screenshot-3\" class=\"wp-image-182560\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-768x398.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3.png 1418w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>how to get this view in Prestashop, will you start this by writing a template and css for the same, I don&#8217;t think will be a good idea.<\/p>\n\n\n\n<p>I am telling you a nice and simple way to get this view,<\/p>\n\n\n\n<p>and the amazing fact is that what if there are a new theme installed in the prestashop, yes the solution will be compatible to any theme. see this in <a href=\"https:\/\/store.webkul.com\/Prestashop-Responsive-Inventive-Theme.html\">Prestashop Responsive Inventive Theme <\/a> <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1200\" height=\"560\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot1-3-1200x560.png\" alt=\"Screenshot1-3\" class=\"wp-image-182576\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot1-3-1200x560.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot1-3-250x117.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot1-3-300x140.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot1-3-768x358.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot1-3.png 1323w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>so lets straight come to the coding part, here the first step is to use some needed packages at the top of your module class, <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">use PrestaShop\\PrestaShop\\Adapter\\Image\\ImageRetriever;\nuse PrestaShop\\PrestaShop\\Adapter\\Product\\PriceFormatter;\nuse PrestaShop\\PrestaShop\\Core\\Product\\ProductListingPresenter;\nuse PrestaShop\\PrestaShop\\Adapter\\Product\\ProductColorsRetriever;<\/pre>\n\n\n\n<p>now create a front controller or hook and return a smarty file from this.<\/p>\n\n\n\n<p>and write the following code on this smarty template file,<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">{foreach from=$disountProducts item=&quot;product&quot;}\n   &lt;li class=&quot;wk_product_list col-md-3 col-sm-4 col-xs-12&quot;&gt;\n     {include file=&quot;catalog\/_partials\/miniatures\/product.tpl&quot; product=$product}\n   &lt;\/li&gt;\n{\/foreach}<\/pre>\n\n\n\n<p>as you can see this here I have directly include a smarty template file which is including from theme.<\/p>\n\n\n\n<p>so obviously will be compatible with the current theme \ud83d\ude42<\/p>\n\n\n\n<p>I include the templete file in a foreach loop of products ($disountProducts)<\/p>\n\n\n\n<p>now the question is what is in this variable $disountProducts.<\/p>\n\n\n\n<p>of course the product details, but what is the format and how to create this. <\/p>\n\n\n\n<p>so lets create this array.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/*products to show in grid*\/\n$discountedProducts = Product::getPricesDrop((int)$this-&gt;context-&gt;language-&gt;id);<\/pre>\n\n\n\n<p>here in $discountedProducts key id_products is required, other needed data will be assemble later.<\/p>\n\n\n\n<p>so now the next step is to create the needed class objects, <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$assembler = new ProductAssembler($this-&gt;context);\n$presenterFactory = new ProductPresenterFactory($this-&gt;context);\n\n$presentationSettings = $presenterFactory-&gt;getPresentationSettings();\n\n$presenter = new ProductListingPresenter(\n    new ImageRetriever(\n        $this-&gt;context-&gt;link\n    ),\n    $this-&gt;context-&gt;link,\n    new PriceFormatter(),\n    new ProductColorsRetriever(),\n    $this-&gt;context-&gt;getTranslator()\n);<\/pre>\n\n\n\n<p>now come to the last step to get the required array.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$products_for_template = [];\nforeach ($discountedProducts as $productDetail) {\n    $products_for_template[] = $presenter-&gt;present(\n        $presentationSettings,\n        $assembler-&gt;assembleProduct($productDetail),\n        $this-&gt;context-&gt;language\n    );\n}<\/pre>\n\n\n\n<p>here I use $assembler-&gt;assembleProduct($productDetail) to assemble the needed product details.<\/p>\n\n\n\n<p>thats it.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$this-&gt;context-&gt;smarty-&gt;assign(\n    &#039;disountProducts&#039;,\n    $products_for_template\n);<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Lets first understand the problem, if you want a grid view of products on your Prestashop controller in a module like this in the screen shot how to get this view in Prestashop, will you start this by writing a template and css for the same, I don&#8217;t think will be a good idea. I <a href=\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":234,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209,1],"tags":[2065,4126,8992],"class_list":["post-155803","post","type-post","status-publish","format-standard","hentry","category-prestashop","category-uncategorized","tag-prestashop","tag-prestashop-1-7","tag-product-grid-listing-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 create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module - 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\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Lets first understand the problem, if you want a grid view of products on your Prestashop controller in a module like this in the screen shot how to get this view in Prestashop, will you start this by writing a template and css for the same, I don&#8217;t think will be a good idea. I [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\" \/>\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=\"2019-06-28T09:33:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-28T10:04:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png\" \/>\n<meta name=\"author\" content=\"Umang Rastogi\" \/>\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=\"Umang Rastogi\" \/>\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\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\"},\"author\":{\"name\":\"Umang Rastogi\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/5a95b0113c27a8b7d35ce794ba34eb8e\"},\"headline\":\"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module\",\"datePublished\":\"2019-06-28T09:33:35+00:00\",\"dateModified\":\"2019-06-28T10:04:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\"},\"wordCount\":287,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png\",\"keywords\":[\"prestashop\",\"Prestashop 1.7\",\"Product Grid listing in Prestashop\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\",\"name\":\"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png\",\"datePublished\":\"2019-06-28T09:33:35+00:00\",\"dateModified\":\"2019-06-28T10:04:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3.png\",\"width\":1418,\"height\":735,\"caption\":\"Screenshot-3\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module\"}]},{\"@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\/5a95b0113c27a8b7d35ce794ba34eb8e\",\"name\":\"Umang Rastogi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/741e0b3251aaa063eb6a01e069543282cdef965968e85d971ca24f02701aa0c7?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\/741e0b3251aaa063eb6a01e069543282cdef965968e85d971ca24f02701aa0c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Umang Rastogi\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/umang-rastogi054\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module - 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\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/","og_locale":"en_US","og_type":"article","og_title":"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module - Webkul Blog","og_description":"Lets first understand the problem, if you want a grid view of products on your Prestashop controller in a module like this in the screen shot how to get this view in Prestashop, will you start this by writing a template and css for the same, I don&#8217;t think will be a good idea. I [...]","og_url":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-06-28T09:33:35+00:00","article_modified_time":"2019-06-28T10:04:23+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png","type":"","width":"","height":""}],"author":"Umang Rastogi","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Umang Rastogi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/"},"author":{"name":"Umang Rastogi","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/5a95b0113c27a8b7d35ce794ba34eb8e"},"headline":"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module","datePublished":"2019-06-28T09:33:35+00:00","dateModified":"2019-06-28T10:04:23+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/"},"wordCount":287,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png","keywords":["prestashop","Prestashop 1.7","Product Grid listing in Prestashop"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/","url":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/","name":"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3-1200x622.png","datePublished":"2019-06-28T09:33:35+00:00","dateModified":"2019-06-28T10:04:23+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/06\/Screenshot-3.png","width":1418,"height":735,"caption":"Screenshot-3"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-create-a-product-grid-listing-same-as-prestashop-theme-in-prestashop-v-1-7-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to create a Product Grid listing same as Prestashop Theme | in Prestashop V-1.7 Module"}]},{"@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\/5a95b0113c27a8b7d35ce794ba34eb8e","name":"Umang Rastogi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/741e0b3251aaa063eb6a01e069543282cdef965968e85d971ca24f02701aa0c7?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\/741e0b3251aaa063eb6a01e069543282cdef965968e85d971ca24f02701aa0c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Umang Rastogi"},"url":"https:\/\/webkul.com\/blog\/author\/umang-rastogi054\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/155803","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\/234"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=155803"}],"version-history":[{"count":10,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/155803\/revisions"}],"predecessor-version":[{"id":183138,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/155803\/revisions\/183138"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=155803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=155803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=155803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}