lapecheenligne Posted May 30, 2015 Share Posted May 30, 2015 Bonjour, En bas de page Produit, apparait le bloc > autres produits dans la même catégoriece bloc fait apparaitre un bouton " Add to cart" > comment changer ce texte en français.? Je cherche dans les traductions mais je ne trouve pas ce bouton.? Pourriez-vous me guider.? Merci Bruno Link to comment Share on other sites More sharing options...
Moi c Seb Posted May 30, 2015 Share Posted May 30, 2015 (edited) Bonjour, Allez dans LOCALISATION >> TRADUCTIONS Type de traduction : Traductions des modules installés Sélectionnez votre thème : default-bootstrap Choisissez votre langue : Français (French) Puis Modifier Cherchez Module productscategory DEFAULT-BOOTSTRAP - PRODUCTSCATEGORY 14 EXPRESSIONS Modifier la traduction Add to cart. ____________________________________________________________________________________________ Si la traduction est correct, via ftp dans \themes\default-bootstrap\modules\productscategory\productscategory.tpl Si il n'y est pas, ajouter mod='productscategory' vers la ligne 58 comme ceci : <span>{l s='Add to cart' mod='productscategory'}</span> Enregistrer le fichier Videz le cache de prestashop Dans le back office PARAMÈTRES AVANCÉS >> PERFORMANCES En haut à droite Vider le cache Ou Via ftp, supprimer tous les fichiers et dossiers sauf le index.php s'il y est Dans /cache/smarty/cache Et dans /cache/smarty/compile Edited May 31, 2015 by Moi c Seb (see edit history) Link to comment Share on other sites More sharing options...
lapecheenligne Posted May 30, 2015 Author Share Posted May 30, 2015 (edited) Bonjour Moi C Seb, Ici c'est Bruno... Voici ce que j'ai dans mon Ftp > vers la ligne 58... <a class="exclusive button ajax_add_to_cart_button" href="{$link->getPageLink('cart', true, NULL, "qty=1&id_product={$categoryProduct.id_product|intval}&token={$static_token}&add")|escape:'html':'UTF-8'}" data-id-product="{$categoryProduct.id_product|intval}" title="{l s='Add to cart' mod='productscategory'}"> <span>{l s='Add to cart'}</span> </a> ça semble être bon.? et pourtant j'ai toujours la version anglaise " Add to cart" à l'écran.? Edited May 30, 2015 by lapecheenligne (see edit history) Link to comment Share on other sites More sharing options...
Moi c Seb Posted May 30, 2015 Share Posted May 30, 2015 (edited) Il manque mod='productscategory' !!! <a class="exclusive button ajax_add_to_cart_button" href="{$link->getPageLink('cart', true, NULL, "qty=1&id_product={$categoryProduct.id_product|intval}&token={$static_token}&add")|escape:'html':'UTF-8'}" data-id-product="{$categoryProduct.id_product|intval}" title="{l s='Add to cart' mod='productscategory'}"> <span>{l s='Add to cart' mod='productscategory'}</span> <---<----<--- ici </a> Edited May 31, 2015 by Moi c Seb (see edit history) Link to comment Share on other sites More sharing options...
lapecheenligne Posted May 30, 2015 Author Share Posted May 30, 2015 Désolé mais cela ne fonctionne pas... Si j'ajoute ce code... j'obtiens une page blanche.!!! J'ai vider le cache PRESTA, le cache navigateur... Je continue de chercher... Merci quand même pour l'aide. Link to comment Share on other sites More sharing options...
lapecheenligne Posted May 30, 2015 Author Share Posted May 30, 2015 A moi C Seb, <span>{l s='Add to cart' mod='productscategory}</span> <---<----<--- ici en fait j'ai juste écrit... <span>{l s='Ajouter au panier '}</span> <---<----<--- ici et cela fonctionne.!!! Résolu.! Merci pour ton aide 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