{"id":897,"date":"2015-05-25T21:21:46","date_gmt":"2015-05-25T21:21:46","guid":{"rendered":"http:\/\/www.majory-cubizolles.fr\/blog\/?p=897"},"modified":"2017-12-07T16:22:32","modified_gmt":"2017-12-07T16:22:32","slug":"rollover-deuxieme-image-prestashop","status":"publish","type":"post","link":"https:\/\/www.majory-cubizolles.fr\/blog\/rollover-deuxieme-image-prestashop\/","title":{"rendered":"Comment faire apparaitre une deuxi\u00e8me photo de vos produits au survol des images"},"content":{"rendered":"<p>Voici un petit tutoriel qui va vous permettre de faire apparaitre la deuxi\u00e8me image de votre produit au passage de la souris.<\/p>\n<p><strong><span style=\"color: #993300;\">UPDATE : j&rsquo;ai trouv\u00e9 ce module qui est gratuit : <\/span><a href=\"http:\/\/prestashopaddon.com\/download\/prestashop-modules\/free-product-image-rollover-module-for-prestashop\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #993300;\">cliquez-ci\u00a0<\/span><\/a><\/strong><\/p>\n<p><strong><strong>Cette astuce Prestashop est valable pour la version 1.6<\/strong><\/strong><\/p>\n<p>1) Cr\u00e9ez un fichier nomm\u00e9 \u00ab Category.php\u00a0\u00bb dans le dossier \u00ab\u00a0override\/classes\u00a0\u00bb et ajoutez-le code suivant:<\/p>\n<p><!--more--><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\/**\r\n*\r\n*add function for image2 for for class product.php\r\n*\r\n**\/\r\nclass Category extends CategoryCore\r\n{\r\n\tpublic static function getProductsImgSupp($product_id)\r\n\t{\r\n\t\t\t$sql = '\r\n\t\t\tSELECT id_image, id_product from `'._DB_PREFIX_.'image`\r\n\t\t\tWHERE id_product=\"'.$product_id.'\"\r\n\t\t\tORDER BY `position` ASC\r\n\t\t\tLIMIT 1,1\r\n\t\t\t';\r\n\t\t\t$result = Db::getInstance()-&gt;ExecuteS($sql);\r\n\t\t\treturn $result[0]['id_product'].'-'.$result[0]['id_image'];\r\n\t}\r\n}<\/pre>\n<p>1) Cr\u00e9ez un fichier nomm\u00e9 \u00ab Product.php\u00a0\u00bb dans le dossier \u00ab\u00a0override\/classes\u00a0\u00bb et ajoutez-le code suivant:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\r\n\/**\r\n*\r\n*add var image2 for roll over on line 131\r\n*\r\n**\/\r\nclass Product extends ProductCore\r\n{\r\n\r\n\tpublic static function getProductProperties($id_lang, $row, Context $context = null)\r\n\t{\r\n\t\tif (!$row['id_product'])\r\n\t\t\treturn false;\r\n\r\n\t\tif ($context == null)\r\n\t\t\t$context = Context::getContext();\r\n\r\n\t\t\/\/ Product::getDefaultAttribute is only called if id_product_attribute is missing from the SQL query at the origin of it:\r\n\t\t\/\/ consider adding it in order to avoid unnecessary queries\r\n\t\t$row['allow_oosp'] = Product::isAvailableWhenOutOfStock($row['out_of_stock']);\r\n\t\tif (Combination::isFeatureActive() &amp;&amp; (!isset($row['id_product_attribute']) || !$row['id_product_attribute'])\r\n\t\t\t&amp;&amp; ((isset($row['cache_default_attribute']) &amp;&amp; ($ipa_default = $row['cache_default_attribute']) !== null)\r\n\t\t\t\t|| ($ipa_default = Product::getDefaultAttribute($row['id_product'], !$row['allow_oosp']))))\r\n\t\t\t$row['id_product_attribute'] = $ipa_default;\r\n\t\tif (!Combination::isFeatureActive() || !isset($row['id_product_attribute']))\r\n\t\t\t$row['id_product_attribute'] = 0;\r\n\r\n\t\t\/\/ Tax\r\n\t\t$usetax = Tax::excludeTaxeOption();\r\n\r\n\t\t$cache_key = $row['id_product'].'-'.$row['id_product_attribute'].'-'.$id_lang.'-'.(int)$usetax;\r\n\t\tif (isset($row['id_product_pack']))\r\n\t\t\t$cache_key .= '-pack'.$row['id_product_pack'];\r\n\r\n\t\tif (isset(self::$producPropertiesCache[$cache_key]))\r\n\t\t\treturn array_merge($row, self::$producPropertiesCache[$cache_key]);\r\n\r\n\t\t\/\/ Datas\r\n\t\t$row['category'] = Category::getLinkRewrite((int)$row['id_category_default'], (int)$id_lang);\r\n\t\t$row['link'] = $context-&gt;link-&gt;getProductLink((int)$row['id_product'], $row['link_rewrite'], $row['category'], $row['ean13']);\r\n\r\n\t\t$row['attribute_price'] = 0;\r\n\t\tif (isset($row['id_product_attribute']) &amp;&amp; $row['id_product_attribute'])\r\n\t\t\t$row['attribute_price'] = (float)Product::getProductAttributePrice($row['id_product_attribute']);\r\n\r\n\t\t$row['price_tax_exc'] = Product::getPriceStatic(\r\n\t\t\t(int)$row['id_product'],\r\n\t\t\tfalse,\r\n\t\t\t((isset($row['id_product_attribute']) &amp;&amp; !empty($row['id_product_attribute'])) ? (int)$row['id_product_attribute'] : null),\r\n\t\t\t(self::$_taxCalculationMethod == PS_TAX_EXC ? 2 : 6)\r\n\t\t);\r\n\r\n\t\tif (self::$_taxCalculationMethod == PS_TAX_EXC)\r\n\t\t{\r\n\t\t\t$row['price_tax_exc'] = Tools::ps_round($row['price_tax_exc'], 2);\r\n\t\t\t$row['price'] = Product::getPriceStatic(\r\n\t\t\t\t(int)$row['id_product'],\r\n\t\t\t\ttrue,\r\n\t\t\t\t((isset($row['id_product_attribute']) &amp;&amp; !empty($row['id_product_attribute'])) ? (int)$row['id_product_attribute'] : null),\r\n\t\t\t\t6\r\n\t\t\t);\r\n\t\t\t$row['price_without_reduction'] = Product::getPriceStatic(\r\n\t\t\t\t(int)$row['id_product'],\r\n\t\t\t\tfalse,\r\n\t\t\t\t((isset($row['id_product_attribute']) &amp;&amp; !empty($row['id_product_attribute'])) ? (int)$row['id_product_attribute'] : null),\r\n\t\t\t\t2,\r\n\t\t\t\tnull,\r\n\t\t\t\tfalse,\r\n\t\t\t\tfalse\r\n\t\t\t);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t$row['price'] = Tools::ps_round(\r\n\t\t\t\tProduct::getPriceStatic(\r\n\t\t\t\t\t(int)$row['id_product'],\r\n\t\t\t\t\ttrue,\r\n\t\t\t\t\t((isset($row['id_product_attribute']) &amp;&amp; !empty($row['id_product_attribute'])) ? (int)$row['id_product_attribute'] : null),\r\n\t\t\t\t\t2\r\n\t\t\t\t),\r\n\t\t\t\t2\r\n\t\t\t);\r\n\r\n\t\t\t$row['price_without_reduction'] = Product::getPriceStatic(\r\n\t\t\t\t(int)$row['id_product'],\r\n\t\t\t\ttrue,\r\n\t\t\t\t((isset($row['id_product_attribute']) &amp;&amp; !empty($row['id_product_attribute'])) ? (int)$row['id_product_attribute'] : null),\r\n\t\t\t\t6,\r\n\t\t\t\tnull,\r\n\t\t\t\tfalse,\r\n\t\t\t\tfalse\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\t$row['reduction'] = Product::getPriceStatic(\r\n\t\t\t(int)$row['id_product'],\r\n\t\t\t(bool)$usetax,\r\n\t\t\t(int)$row['id_product_attribute'],\r\n\t\t\t6,\r\n\t\t\tnull,\r\n\t\t\ttrue,\r\n\t\t\ttrue,\r\n\t\t\t1,\r\n\t\t\ttrue,\r\n\t\t\tnull,\r\n\t\t\tnull,\r\n\t\t\tnull,\r\n\t\t\t$specific_prices\r\n\t\t);\r\n\r\n\t\t$row['specific_prices'] = $specific_prices;\r\n\r\n\t\t$row['quantity'] = Product::getQuantity(\r\n\t\t\t(int)$row['id_product'],\r\n\t\t\t0,\r\n\t\t\tisset($row['cache_is_pack']) ? $row['cache_is_pack'] : null\r\n\t\t);\r\n\r\n\t\tif ($row['id_product_attribute'])\r\n\t\t{\r\n\t\t\t$row['quantity_all_versions'] = $row['quantity'];\r\n\t\t\t$row['quantity'] = Product::getQuantity(\r\n\t\t\t\t(int)$row['id_product'],\r\n    \t\t\t$row['id_product_attribute'],\r\n\t\t\t   isset($row['cache_is_pack']) ? $row['cache_is_pack'] : null\r\n\t\t\t);\r\n\t\t}\t\r\n\r\n\t\t$row['id_image'] = Product::defineProductImage($row, $id_lang);\r\n\t\t$row['id_image2'] = Category::getProductsImgSupp((int)$row['id_product']);\r\n\t\t$row['features'] = Product::getFrontFeaturesStatic((int)$id_lang, $row['id_product']);\r\n\r\n\t\t$row['attachments'] = array();\r\n\t\tif (!isset($row['cache_has_attachments']) || $row['cache_has_attachments'])\r\n\t\t\t$row['attachments'] = Product::getAttachmentsStatic((int)$id_lang, $row['id_product']);\r\n\r\n\t\t$row['virtual'] = ((!isset($row['is_virtual']) || $row['is_virtual']) ? 1 : 0);\r\n\r\n\t\t\/\/ Pack management\r\n\t\t$row['pack'] = (!isset($row['cache_is_pack']) ? Pack::isPack($row['id_product']) : (int)$row['cache_is_pack']);\r\n\t\t$row['packItems'] = $row['pack'] ? Pack::getItemTable($row['id_product'], $id_lang) : array();\r\n\t\t$row['nopackprice'] = $row['pack'] ? Pack::noPackPrice($row['id_product']) : 0;\r\n\t\tif ($row['pack'] &amp;&amp; !Pack::isInStock($row['id_product']))\r\n\t\t\t$row['quantity'] = 0;\r\n\r\n\t\t$row = Product::getTaxesInformations($row, $context);\r\n\r\n\t\tself::$producPropertiesCache[$cache_key] = $row;\r\n\t\treturn self::$producPropertiesCache[$cache_key];\r\n\t}\r\n\r\n}<\/pre>\n<p>3) Ouvrez le fichier product-list.tpl qui se situe dans votre th\u00e8me<\/p>\n<p>Remplacez le code suivant \u00a0qui se situe au d\u00e9but<\/p>\n<pre class=\"lang:default decode:true\">&lt;a class=\"product_img_link\"\thref=\"{$product.link|escape:'html':'UTF-8'}\" title=\"{$product.name|escape:'html':'UTF-8'}\" itemprop=\"url\"&gt;\r\n\t\t\t\t\t\t\t&lt;img class=\"replace-2x img-responsive\" src=\"{$link-&gt;getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html':'UTF-8'}\" alt=\"{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{\/if}\" title=\"{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{\/if}\" {if isset($homeSize)} width=\"{$homeSize.width}\" height=\"{$homeSize.height}\"{\/if} itemprop=\"image\" \/&gt;                          \r\n\t\t\t\t\t\t&lt;\/a&gt;<\/pre>\n<p>Par<\/p>\n<pre class=\"lang:default decode:true\">&lt;a href=\"{$product.link|escape:'htmlall':'UTF-8'}\" class=\"product_img_link\" title=\"{$product.name|escape:'htmlall':'UTF-8'}\"&gt;\r\n\t\t\t\t\t&lt;!--1st image add class and style for roll over--&gt;\r\n\t\t\t\t\t&lt;img  class=\"img_first\" style=\"display:\" src=\"{$link-&gt;getImageLink($product.link_rewrite, $product.id_image, 'home_default')}\" alt=\"{$product.legend|escape:'htmlall':'UTF-8'}\" {if isset($homeSize)} width=\"{$homeSize.width}\" height=\"{$homeSize.height}\"{\/if} \/&gt;\r\n\t\t\t\t\t&lt;!--2nd image for roll over--&gt;\r\n\t\t\t&lt;img class=\"img_second\" style=\"display:none\" src=\"{$link-&gt;getImageLink($product.link_rewrite, $product.id_image2, 'home_default')}\" alt=\"{$product.legend|escape:'htmlall':'UTF-8'}\" {if isset($homeSize)} width=\"{$homeSize.width}\" height=\"{$homeSize.height}\"{\/if} \/&gt;\r\n\t\t\t\t&lt;\/a&gt;<\/pre>\n<p>3) Ouvrez le fichier footer.tpl\u00a0qui se situe dans votre th\u00e8me<\/p>\n<p>Juste avant la balise &lt;\/body&gt;, ins\u00e9rez<\/p>\n<pre class=\"lang:default decode:true \">&lt;script type=\"text\/javascript\"&gt;\r\n\t$(\".product_img_link\").hover(\r\n\tfunction () {\r\n\t\t$(this).find('.img_second').toggle();\r\n\t\t$(this).find('.img_first').toggle();\r\n\t\t},\r\n\tfunction () {\r\n\t\t$(this).find('.img_second').toggle();\r\n\t\t$(this).find('.img_first').toggle();\r\n\t\t}\r\n\t);\r\n&lt;\/script&gt;<\/pre>\n<p>4) N&rsquo;oubliez pas il sera peut-\u00eatre n\u00e9cessaire de vider le cache de Prestashop (Param\u00e8tres avanc\u00e9s &gt; Performances)<\/p>\n<p><strong>Voici le r\u00e9sultat :\u00a0<\/strong><\/p>\n<p><a href=\"http:\/\/www.majory-cubizolles.fr\/blog\/wp-content\/uploads\/2015\/05\/secon-image-hover.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-899\" src=\"http:\/\/www.majory-cubizolles.fr\/blog\/wp-content\/uploads\/2015\/05\/secon-image-hover.png\" alt=\"secon-image-hover\" width=\"550\" height=\"404\" \/><\/a><\/p>\n<p><span style=\"color: #993300;\"><strong>MODULES PAYANTS :\u00a0<\/strong><\/span><\/p>\n<p>Si vous n&rsquo;avez pas envie de vous emb\u00eater, l&rsquo;agence Kiwik a cr\u00e9e un module pour traiter ce type demande avec un prix tout \u00e0 fait correct (<span id=\"our_price_display\">35,99 \u20ac<\/span> TTC).\u00a0Je n&rsquo;ai pas test\u00e9 le module mais \u00e0 ce jour sur 10 avis il a 5 \u00e9toiles donc je suppose qu&rsquo;il fonctionne tr\u00e8s bien.<\/p>\n<p>Voir le module :\u00a0<a href=\"http:\/\/addons.prestashop.com\/fr\/20254-images-au-survol-hover.html\" target=\"_blank\" rel=\"noopener\">http:\/\/addons.prestashop.com\/fr\/20254-images-au-survol-hover.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<!-- Begin Yuzo --><div class='yuzo_related_post style-2'  data-version='5.12.88'><!-- without result --><div class='yuzo_clearfixed yuzo__title yuzo__title'><h2>Articles similaires<\/h2><\/div>\n\t\t\t\t\t\t<div class=\"relatedthumb yuzo-list  \" style=\"\"  >  \n\t\t\t\t\t\t  <a  href=\"https:\/\/www.majory-cubizolles.fr\/blog\/les-francais-le-e-commerce-et-les-tablettes\/\" class=\"image-list\" target='_blank' >\n\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 185px;height:150px;\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t <div class=\"yuzo-img\" style=\"background:url('https:\/\/www.majory-cubizolles.fr\/blog\/wp-content\/uploads\/2015\/01\/ecommerce-sur-tablette-300x187.jpg') 50% 50% no-repeat;width: 190px;height:150px;margin-bottom: 5px;background-size:  cover;  \"><\/div>\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <\/a>\n\t\t\t\t\t\t  <a  class=\"link-list yuzo__text--title\" href=\"https:\/\/www.majory-cubizolles.fr\/blog\/les-francais-le-e-commerce-et-les-tablettes\/\" style=\"font-size:15px;font-weight:bold;;line-height:23px;\"> Les Fran\u00e7ais, le e-commerce et les tablettes  <div class='yuzo_views_post yuzo_icon_views yuzo_icon_views__bottom' style='font-size:13px;'>views 110<\/div><\/a>\n\t\t\t\t\t\t\t\t<span class=\"yuzo_text\" style=\"font-size:11px;\" >Cette infographie, r\u00e9alis\u00e9e par Content Square, met en avant les comportements de navigation et d\u2019achats des fran\u00e7ais sur tablette, en France.\r\n\r\nLes chiffres viennent d'une \u00e9tude r\u00e9alis\u00e9e d\u2019ao\u00fbt 2013 \u00e0 septembre 2014, sur 50 millions de visites sur tablette et plus de 100 sites e-commerce leaders fran\u00e7ais, multisectoriels.\r\n\r\nA noter : 5% du chiffre d'affaires du e-commerce Fran\u00e7ais se font sur s...<\/span>\n\t\t\t\t\t\t   \n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"relatedthumb yuzo-list  \" style=\"\"  >  \n\t\t\t\t\t\t  <a  href=\"https:\/\/www.majory-cubizolles.fr\/blog\/greffer-le-menu-haut-horizontal-dans-displaynav\/\" class=\"image-list\" target='_blank' >\n\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 185px;height:150px;\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t <div class=\"yuzo-img\" style=\"background:url('https:\/\/www.majory-cubizolles.fr\/blog\/wp-content\/uploads\/2016\/07\/wsi-imageoptim-displaNav-prestashop-400x249.png') 50% 50% no-repeat;width: 190px;height:150px;margin-bottom: 5px;background-size:  cover;  \"><\/div>\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <\/a>\n\t\t\t\t\t\t  <a  class=\"link-list yuzo__text--title\" href=\"https:\/\/www.majory-cubizolles.fr\/blog\/greffer-le-menu-haut-horizontal-dans-displaynav\/\" style=\"font-size:15px;font-weight:bold;;line-height:23px;\"> Greffer le menu haut horizontal dans displayNav |  Astuce Prestashop 1.6  <div class='yuzo_views_post yuzo_icon_views yuzo_icon_views__bottom' style='font-size:13px;'>views 4556<\/div><\/a>\n\t\t\t\t\t\t\t\t<span class=\"yuzo_text\" style=\"font-size:11px;\" >Ce tutoriel va vous permettre de greffer le module \"menu haut horizontal\" dans displayNav\r\n\r\nCette astuce Prestashop est valable pour la version 1.6\r\n\r\n--------------------------\r\n\r\nOn va dans un premier temps greffer le module au hook displayNav :\r\n\r\n1) Modules > Position > Greffer un module (en haut \u00e0 droite). Greffer le module \"Menu Haut Horizontal sur displayNav.\r\n\r\n\r\n\r\n\r\n\r\n2) Cliquez su...<\/span>\n\t\t\t\t\t\t   \n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"relatedthumb yuzo-list  \" style=\"\"  >  \n\t\t\t\t\t\t  <a  href=\"https:\/\/www.majory-cubizolles.fr\/blog\/supprimer-redirection-home-bloc-newsletter\/\" class=\"image-list\" target='_blank' >\n\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 185px;height:150px;\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t <div class=\"yuzo-img\" style=\"background:url('https:\/\/www.majory-cubizolles.fr\/blog\/wp-content\/uploads\/2016\/07\/wsi-imageoptim-ecommerce2-400x249.jpg') 50% 50% no-repeat;width: 190px;height:150px;margin-bottom: 5px;background-size:  cover;  \"><\/div>\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <\/a>\n\t\t\t\t\t\t  <a  class=\"link-list yuzo__text--title\" href=\"https:\/\/www.majory-cubizolles.fr\/blog\/supprimer-redirection-home-bloc-newsletter\/\" style=\"font-size:15px;font-weight:bold;;line-height:23px;\"> Supprimer la redirection Home du bloc Newsletter |  Astuce Prestashop 1.6  <div class='yuzo_views_post yuzo_icon_views yuzo_icon_views__bottom' style='font-size:13px;'>views 570<\/div><\/a>\n\t\t\t\t\t\t\t\t<span class=\"yuzo_text\" style=\"font-size:11px;\" >Vous l'avez peut-\u00eatre remarqu\u00e9 mais si le client s'inscrit \u00a0\u00e0 la newsletter, il est obligatoirement renvoy\u00e9 \u00e0 la page d'accueil de votre site.\r\n\r\nSi vous d\u00e9sirez que le client reste sur la m\u00eame, suivez\u00a0ce petit tuto :\r\n\r\n\r\nComment puis-je supprimer cette redirection dans Prestashop ?\u00a0\r\n\r\n \tOuvrez le fichier th\u00e8mes\/lenomduvotretheme\/modules\/blocknewsletter\/blocknewsletter.tpl\r\n\r\nRemplacer le code s...<\/span>\n\t\t\t\t\t\t   \n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"relatedthumb yuzo-list  \" style=\"\"  >  \n\t\t\t\t\t\t  <a  href=\"https:\/\/www.majory-cubizolles.fr\/blog\/optimisez-le-sitemap-de-votre-boutique-astuce-prestashop\/\" class=\"image-list\" target='_blank' >\n\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 185px;height:150px;\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t <div class=\"yuzo-img\" style=\"background:url('https:\/\/www.majory-cubizolles.fr\/blog\/wp-content\/uploads\/2016\/07\/wsi-imageoptim-site-map-boutique-400x249.png') 50% 50% no-repeat;width: 190px;height:150px;margin-bottom: 5px;background-size:  cover;  \"><\/div>\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <\/a>\n\t\t\t\t\t\t  <a  class=\"link-list yuzo__text--title\" href=\"https:\/\/www.majory-cubizolles.fr\/blog\/optimisez-le-sitemap-de-votre-boutique-astuce-prestashop\/\" style=\"font-size:15px;font-weight:bold;;line-height:23px;\"> Optimisez le sitemap de votre boutique |  Astuce Prestashop 1.6  <div class='yuzo_views_post yuzo_icon_views yuzo_icon_views__bottom' style='font-size:13px;'>views 3022<\/div><\/a>\n\t\t\t\t\t\t\t\t<span class=\"yuzo_text\" style=\"font-size:11px;\" >Qu'est ce qu'un sitemap ?\u00a0\r\nUn sitemap est un fichier qui contient une liste enrichie d'URLs internes \u00e0 un site web. Ce fichier est au format XML. Il permet de fournir aux principaux moteurs de recherche des informations sur les URLs d'un site web qu'ils ne pourraient pas d\u00e9couvrir par eux-m\u00eames\r\nComment cr\u00e9er un sitemap depuis le back-office de Prestashop\u00a0\r\nIl faut aller dans Modules et Services ...<\/span>\n\t\t\t\t\t\t   \n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"relatedthumb yuzo-list  \" style=\"\"  >  \n\t\t\t\t\t\t  <a  href=\"https:\/\/www.majory-cubizolles.fr\/blog\/afficher-le-champ-adresse-sur-plusieurs-lignes-bloc-contact-infos\/\" class=\"image-list\" target='_blank' >\n\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 185px;height:150px;\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t <div class=\"yuzo-img\" style=\"background:url('https:\/\/www.majory-cubizolles.fr\/blog\/wp-content\/uploads\/2016\/07\/wsi-imageoptim-1-400x249.jpg') 50% 50% no-repeat;width: 190px;height:150px;margin-bottom: 5px;background-size:  cover;  \"><\/div>\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <\/a>\n\t\t\t\t\t\t  <a  class=\"link-list yuzo__text--title\" href=\"https:\/\/www.majory-cubizolles.fr\/blog\/afficher-le-champ-adresse-sur-plusieurs-lignes-bloc-contact-infos\/\" style=\"font-size:15px;font-weight:bold;;line-height:23px;\"> Afficher le champ adresse sur plusieurs lignes | Bloc contact infos \u2013  Astuce Presta...  <div class='yuzo_views_post yuzo_icon_views yuzo_icon_views__bottom' style='font-size:13px;'>views 1129<\/div><\/a>\n\t\t\t\t\t\t\t\t<span class=\"yuzo_text\" style=\"font-size:11px;\" >Cette astuce Prestashop est valable pour la version 1.6\r\n\r\nVous l'avez s\u00fbrement remarqu\u00e9, en bas de page, l'adresse de votre magasin est sur une seule ligne.\r\n\r\n\r\n\r\nCe rapide tutoriel va vous permettre d'afficher le champ adresse sur plusieurs lignes\r\n\r\n\r\n\r\nValable pour Prestashop 1.6 et 1.5\r\n\r\n-----------------------------------\r\n\r\n1) Pour ins\u00e9rer les informations de votre boutique, il faut aller...<\/span>\n\t\t\t\t\t\t   \n\t\t\t\t\t\t<\/div>\n<\/div>  <!-- End Yuzo :) -->","protected":false},"excerpt":{"rendered":"<p>Voici un petit tutoriel qui va vous permettre de faire apparaitre la deuxi\u00e8me image de votre produit au passage de la souris. UPDATE : j&rsquo;ai trouv\u00e9 ce module qui est gratuit : cliquez-ci\u00a0 Cette astuce Prestashop est valable pour la version 1.6 1) Cr\u00e9ez un fichier nomm\u00e9 \u00ab Category.php\u00a0\u00bb dans [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":899,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,11],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/posts\/897"}],"collection":[{"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/comments?post=897"}],"version-history":[{"count":0,"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/posts\/897\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/media\/899"}],"wp:attachment":[{"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/media?parent=897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/categories?post=897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.majory-cubizolles.fr\/blog\/wp-json\/wp\/v2\/tags?post=897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}