{"id":24907,"date":"2019-03-04T05:31:59","date_gmt":"2019-03-04T05:31:59","guid":{"rendered":"https:\/\/www.knowband.com\/blog\/?p=24848\/"},"modified":"2019-03-04T16:01:59","modified_gmt":"2019-03-04T05:31:59","slug":"afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x","status":"publish","type":"post","link":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/","title":{"rendered":"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x)"},"content":{"rendered":"<h2><strong>Objectifs du blog<\/strong><\/h2>\n<p>Apr\u00e8s avoir lu ce blog, vous pourrez afficher tous les produits lorsque la recherche est vide.<\/p>\n<h3><strong>\u00c9nonc\u00e9 du probl\u00e8me<\/strong><\/h3>\n<p>Actuellement, dans Opencart, lorsqu&#39;un utilisateur recherche une cha\u00eene \u00e0 l&#39;aide de la fonctionnalit\u00e9 de recherche, aucun produit n&#39;est renvoy\u00e9 si aucun produit de recherche n&#39;a \u00e9t\u00e9 trouv\u00e9 dans la base de donn\u00e9es. Nous voulons que tous les produits soient renvoy\u00e9s lorsque la recherche est vide.<\/p>\n<h3><strong>Impl\u00e9mentation du code <\/strong><\/h3>\n<p>Pour ce faire, nous devrons apporter quelques modifications \u00e0 la fonction de mod\u00e8le que nous utilisons pour extraire des produits de la base de donn\u00e9es \u00e0 l&#39;aide du mot cl\u00e9 de recherche saisi. Ici, nous apportons des changements dans <strong>getProducts ()<\/strong> ?function of model <strong>catalogue \/ mod\u00e8le \/ catalogue \/ produit.php<\/strong> car nous utilisons cette fonction pour afficher les r\u00e9sultats sur la base du mot cl\u00e9 de recherche.<\/p>\n<p><strong>Remarque:<\/strong> vous pouvez apporter les m\u00eames modifications \u00e0 la fonction de mod\u00e8le que vous utilisez pour r\u00e9cup\u00e9rer des produits. Voici le code que nous avons ajout\u00e9 dans le mod\u00e8le:<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">\/ * V\u00e9rifi\u00e9 si le r\u00e9sultat est vide (lignes affect\u00e9es 0) de la requ\u00eate en cours d&#39;ex\u00e9cution pour extraire des donn\u00e9es sur la base du mot cl\u00e9 de recherche. * Si oui, nouvelle requ\u00eate pour extraire les nouveaux produits ajout\u00e9s et ex\u00e9cution identique. * En faisant cela, nous afficherons nos nouveaux produits sur la page de recherche au lieu d&#39;afficher une page vierge. * \/ if ($ query-&gt; num_rows == 0) {$ sql = &quot;SELECT DISTINCT p.product_id FROM&quot;. DB_PREFIX. &quot;produit p LEFT JOIN&quot;. DB_PREFIX. &quot;description_produit pd ON (p.product_id = pd.product_id) LEFT JOIN&quot;. DB_PREFIX. &quot;product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = &#39;1&#39; ET p.date_available &lt;= NOW () AND p2s.store_id = &#39;&quot;. (int) $ this-&gt; config-&gt; get (&#39;config_store_id&#39;). &quot;&#39;GROUP BY p.product_id ORDER BY p.product_id DESC LIMIT 20&quot;; $ query = $ this-&gt; db-&gt; query ($ sql); }<\/pre>\n<p>Ajoutez ce code juste apr\u00e8s l&#39;ex\u00e9cution de la requ\u00eate principale ou juste apr\u00e8s la ligne<strong> ($ query = $ this-&gt; db-&gt; query ($ sql))<\/strong>. Dans ce code, nous avons d\u2019abord v\u00e9rifi\u00e9 le nombre de lignes affect\u00e9es par la requ\u00eate principale (utilis\u00e9 pour extraire des donn\u00e9es sur la base du mot cl\u00e9 de recherche). Si la ligne affect\u00e9e est 0 <strong>($ query-&gt; num_rows == 0)<\/strong> puis ajout\u00e9 notre requ\u00eate pour r\u00e9cup\u00e9rer de nouveaux produits ajout\u00e9s. En faisant cela, nous afficherons nos nouveaux produits sur la page de recherche au lieu d&#39;afficher une page vierge.<\/p>\n<p><strong>Remarque:<\/strong> Ici, nous avons \u00e9crit une requ\u00eate pour extraire de la base de donn\u00e9es les nouveaux produits ajout\u00e9s si la recherche est vide. Vous pouvez \u00e9galement ajouter une requ\u00eate pour aller chercher des produits sp\u00e9ciaux ou les meilleurs vendeurs en fonction de vos besoins.<\/p>\n<h3><strong>R\u00e9sum\u00e9<\/strong><\/h3>\n<p>Apr\u00e8s avoir apport\u00e9 les modifications suivantes au fichier de mod\u00e8le, les nouveaux produits ajout\u00e9s seront affich\u00e9s lorsque la recherche sera vide.<script data-cfasync=\"false\" src=\"https:\/\/tdns2.gtranslate.net\/tdn-bin\/queue.js\"><\/script><!-- Yandex.Metrika counter for GTranslate --><script data-cfasync=\"false\">(function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter36618640 = new Ya.Metrika({ id:36618640, clickmap:true, trackLinks:true, accurateTrackBounce:true, ut:\"noindex\" }); } catch(e) { } }); var n = d.getElementsByTagName(\"script\")[0], s = d.createElement(\"script\"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = \"text\/javascript\"; s.async = true; s.src = \"https:\/\/mc.yandex.ru\/metrika\/watch.js\"; if (w.opera == \"[object Opera]\") { d.addEventListener(\"DOMContentLoaded\", f, false); } else { f(); } })(document, window, \"yandex_metrika_callbacks\"); <\/script> <noscript><\/p>\n<div><img decoding=\"async\" src=\"https:\/\/mc.yandex.ru\/watch\/36618640?ut=noindex\" style=\"position:absolute; left:-9999px;\" alt=\"\" \/><\/div>\n<p><\/noscript><br \/>\n<!-- delivered by GTranslate v4.8.7 in 19ms visit https:\/\/gtranslate.io --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Objectifs du blog Apr\u00e8s avoir lu ce blog, vous pourrez afficher tous les produits lorsque la recherche est vide. \u00c9nonc\u00e9 du probl\u00e8me Actuellement, dans Opencart, lorsqu&#39;un utilisateur recherche une cha\u00eene \u00e0 l&#39;aide de la fonctionnalit\u00e9 de recherche, aucun produit n&#39;est renvoy\u00e9 si aucun produit de recherche n&#39;a \u00e9t\u00e9 trouv\u00e9 dans la base de donn\u00e9es. Nous [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kbui_enabled":"","footnotes":""},"categories":[],"tags":[9005,9006,9004],"class_list":["post-24907","post","type-post","status-publish","format-standard","hentry","tag-affichage-du-produit","tag-recherche-vide","tag-tutoriel-ouvert"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x) - Knowband Blog | Ecommerce Modules<\/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:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x) - Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"og:description\" content=\"Objectifs du blog Apr\u00e8s avoir lu ce blog, vous pourrez afficher tous les produits lorsque la recherche est vide. \u00c9nonc\u00e9 du probl\u00e8me Actuellement, dans Opencart, lorsqu&#039;un utilisateur recherche une cha\u00eene \u00e0 l&#039;aide de la fonctionnalit\u00e9 de recherche, aucun produit n&#039;est renvoy\u00e9 si aucun produit de recherche n&#039;a \u00e9t\u00e9 trouv\u00e9 dans la base de donn\u00e9es. Nous [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Knowband\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-04T05:31:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mc.yandex.ru\/watch\/36618640?ut=noindex\" \/>\n<meta name=\"author\" content=\"Shivika Tomar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:site\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shivika Tomar\" \/>\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:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/\"},\"author\":{\"name\":\"Shivika Tomar\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/cc28589f6431305d8aa3fbb75ce97415\"},\"headline\":\"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x)\",\"datePublished\":\"2019-03-04T05:31:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/\"},\"wordCount\":372,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mc.yandex.ru\\\/watch\\\/36618640?ut=noindex\",\"keywords\":[\"affichage du produit\",\"recherche vide\",\"tutoriel ouvert\"],\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/\",\"name\":\"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x) - Knowband Blog | Ecommerce Modules\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mc.yandex.ru\\\/watch\\\/36618640?ut=noindex\",\"datePublished\":\"2019-03-04T05:31:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mc.yandex.ru\\\/watch\\\/36618640?ut=noindex\",\"contentUrl\":\"https:\\\/\\\/mc.yandex.ru\\\/watch\\\/36618640?ut=noindex\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/non-classifiee\\\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"description\":\"Magento, Prestashop, Opencart, Shopify\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"width\":153,\"height\":61,\"caption\":\"Knowband Blog | Ecommerce Modules\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Knowband\",\"https:\\\/\\\/x.com\\\/KnowbandPlugin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/cc28589f6431305d8aa3fbb75ce97415\",\"name\":\"Shivika Tomar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/bio_pic-150x150.jpg\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/bio_pic-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/bio_pic-150x150.jpg\",\"caption\":\"Shivika Tomar\"},\"description\":\"Shivika Tomar is a passionate PHP developer. Her area of interest is website development. She loves to bring healing to stressful and sad peoples.\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/author\\\/stomar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x) - Knowband Blog | Ecommerce Modules","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:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/","og_locale":"fr_FR","og_type":"article","og_title":"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x) - Knowband Blog | Ecommerce Modules","og_description":"Objectifs du blog Apr\u00e8s avoir lu ce blog, vous pourrez afficher tous les produits lorsque la recherche est vide. \u00c9nonc\u00e9 du probl\u00e8me Actuellement, dans Opencart, lorsqu&#39;un utilisateur recherche une cha\u00eene \u00e0 l&#39;aide de la fonctionnalit\u00e9 de recherche, aucun produit n&#39;est renvoy\u00e9 si aucun produit de recherche n&#39;a \u00e9t\u00e9 trouv\u00e9 dans la base de donn\u00e9es. Nous [&hellip;]","og_url":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/","og_site_name":"Knowband Blog | Ecommerce Modules","article_publisher":"https:\/\/www.facebook.com\/Knowband","article_published_time":"2019-03-04T05:31:59+00:00","og_image":[{"url":"https:\/\/mc.yandex.ru\/watch\/36618640?ut=noindex","type":"","width":"","height":""}],"author":"Shivika Tomar","twitter_card":"summary_large_image","twitter_creator":"@KnowbandPlugin","twitter_site":"@KnowbandPlugin","twitter_misc":{"Written by":"Shivika Tomar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/#article","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/"},"author":{"name":"Shivika Tomar","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/cc28589f6431305d8aa3fbb75ce97415"},"headline":"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x)","datePublished":"2019-03-04T05:31:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/"},"wordCount":372,"commentCount":0,"publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/#primaryimage"},"thumbnailUrl":"https:\/\/mc.yandex.ru\/watch\/36618640?ut=noindex","keywords":["affichage du produit","recherche vide","tutoriel ouvert"],"inLanguage":"fr-FR"},{"@type":"WebPage","@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/","url":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/","name":"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x) - Knowband Blog | Ecommerce Modules","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/#primaryimage"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/#primaryimage"},"thumbnailUrl":"https:\/\/mc.yandex.ru\/watch\/36618640?ut=noindex","datePublished":"2019-03-04T05:31:59+00:00","breadcrumb":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/#primaryimage","url":"https:\/\/mc.yandex.ru\/watch\/36618640?ut=noindex","contentUrl":"https:\/\/mc.yandex.ru\/watch\/36618640?ut=noindex"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knowband.com\/blog\/fr\/non-classifiee\/afficher-tous-les-produits-lorsque-la-recherche-est-vide-opencart-2-3-x\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knowband.com\/blog\/fr\/"},{"@type":"ListItem","position":2,"name":"Afficher tous les produits lorsque la recherche est vide (Opencart 2.3.x)"}]},{"@type":"WebSite","@id":"https:\/\/www.knowband.com\/blog\/fr\/#website","url":"https:\/\/www.knowband.com\/blog\/fr\/","name":"Knowband Blog | Ecommerce Modules","description":"Magento, Prestashop, Opencart, Shopify","publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knowband.com\/blog\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization","name":"Knowband Blog | Ecommerce Modules","url":"https:\/\/www.knowband.com\/blog\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","width":153,"height":61,"caption":"Knowband Blog | Ecommerce Modules"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Knowband","https:\/\/x.com\/KnowbandPlugin"]},{"@type":"Person","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/cc28589f6431305d8aa3fbb75ce97415","name":"Shivika Tomar","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/02\/bio_pic-150x150.jpg","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/02\/bio_pic-150x150.jpg","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/02\/bio_pic-150x150.jpg","caption":"Shivika Tomar"},"description":"Shivika Tomar is a passionate PHP developer. Her area of interest is website development. She loves to bring healing to stressful and sad peoples.","url":"https:\/\/www.knowband.com\/blog\/fr\/author\/stomar\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/posts\/24907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/comments?post=24907"}],"version-history":[{"count":0,"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/posts\/24907\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/media?parent=24907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/categories?post=24907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/fr\/wp-json\/wp\/v2\/tags?post=24907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}