Jump to content

Add to cart > recherche taduction français


Recommended Posts

Bonjour,

 

En bas de page Produit, apparait le bloc >

autres produits dans la même catégorie

ce 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

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 by Moi c Seb (see edit history)
Link to comment
Share on other sites

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 by lapecheenligne (see edit history)
Link to comment
Share on other sites

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 by Moi c Seb (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...