Ratatosk Posted January 11, 2009 Share Posted January 11, 2009 Hello,Comment peut-on virer l'espace "Dernier produit ajouté" dans l'affichage détaillé du Panier SVP ?Personnellement, je me demande bien quelle est l'utilité de ce genre d'info...MerciR. Link to comment Share on other sites More sharing options...
jolvil Posted January 11, 2009 Share Posted January 11, 2009 Oui je suis d'accord, je l'ai viréje suis en V1.1danstheme/montheme/shopping-cart.tplpour ne pas avoir le dernier produit ajouté, il faut enlever: >{if isset($lastProductAdded) AND $lastProductAdded} {foreach from=$products item=product} {if $product.id_product == $lastProductAdded} </pre> <table style="margin:5px 0px 10px 130px;">getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}"> getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'} {if $product.attributes}getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'}{/if} </table> <br> {/if}<br> {/foreach}<br 1 Link to comment Share on other sites More sharing options...
Anartisanart Posted October 9, 2010 Share Posted October 9, 2010 merci,ce bloc encombrait encore plus le panier. Peut être que ce serait bien de mettre résolu dans le titre pour éviter d'aller sur d'autres sujets qui finalement renvoient à celui-ci. Link to comment Share on other sites More sharing options...
jluc76 Posted March 18, 2011 Share Posted March 18, 2011 Bonjour,en version 1.4, commentez la ligne 284 (le return $result) de la Class Cart. (function getLastProduct())... sauf si cette fonction est utile ailleurs ... Link to comment Share on other sites More sharing options...
cyntoch Posted May 6, 2013 Share Posted May 6, 2013 Bonjour, J'aimerais retirer aussi cette option. Je suis en version 1.5.4.0 et je ne trouve pas ce passage dans mon fichier. J'ai juste cette ligne: {if isset($lastProductAdded) AND $lastProductAdded} Mais pas le reste... Je n'ai pas envie de faire de bêtise donc je préfère demander Merci. Link to comment Share on other sites More sharing options...
daniel64 Posted August 20, 2013 Share Posted August 20, 2013 Bonjour, J'aimerais retirer aussi cette option. Je suis en version 1.5.4.0 et je ne trouve pas ce passage dans mon fichier. J'ai juste cette ligne: {if isset($lastProductAdded) AND $lastProductAdded} Mais pas le reste... Je n'ai pas envie de faire de bêtise donc je préfère demander Merci. Petit up car il n'y a pas la réponse à la question ci-dessus... Link to comment Share on other sites More sharing options...
SPKF Posted January 16, 2014 Share Posted January 16, 2014 dans shopping-cart.tpl De cette ligne (ligne à supprimer également) : {if isset($lastProductAdded) AND $lastProductAdded} ... Tout ce qu'il y a entre ... Jusqu'a {/if} (le supprimer aussi) Chez moi c'est de la ligne 57 à 69, mais je n'ai pas le thème par default. Cordialement, Link to comment Share on other sites More sharing options...
Cyrius91 Posted November 20, 2014 Share Posted November 20, 2014 (edited) Oui je suis d'accord, je l'ai viré je suis en V1.1 dans theme/montheme/shopping-cart.tpl pour ne pas avoir le dernier produit ajouté, il faut enlever: {if isset($lastProductAdded) AND $lastProductAdded} {foreach from=$products item=product} {if $product.id_product == $lastProductAdded} <table id="cart_summary" class="std" style="width:300px; margin-left:130px;"> <thead> <tr> <th class="cart_product first_item"> </th> <th class="cart_description item">{l s='Last added product'}</th> <th class="cart_total last_item"> </th> </tr> </thead> </table> <table style="margin:5px 0px 10px 130px;"> <tr> <td class="cart_product"><a >getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}"><img src="{$img_prod_dir}{$product.id_image}-small.jpg" alt="{$product.name|escape:'htmlall':'UTF-8'}"></a></td> <td class="cart_description"> <h5><a >getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'}</a></h5> {if $product.attributes}<a >getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'}</a>{/if} </td> </tr> </table> {/if} {/foreach}{/if} Ca marche impeccable, Merci Edited November 20, 2014 by Cyrius91 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now