Jump to content

[Résolu] Modifier bouton panier bloc homefeatured


Recommended Posts

Bonjour,

 

Je souhaiterai apporter une modification au bouton "ajouter au panier" sur le module homefeatured afin que celui-ci affiche un texte différent si le produit n'est plus en stock.

 

Actuellement quand un produit n'est plus en stock, le bouton se contente de n'être plus cliquable.

 

Pouvez-vous m'aider à réaliser cette modification?

 

Je suis sous presta 1.4.9

 

Merci

 

Gaëtan

Edited by ookilai (see edit history)
Link to comment
Share on other sites

J'ai trouvé :

 

Dans le fichier homefeatured.tpl, j'ai remplacé :

 

 

{else}

<span class="exclusive">{l s='Add to cart' mod='homefeatured'}</span>

 

 

par

 

 

 

{else}

<span class="exclusive">{l s='Terminé' mod='homefeatured'}</span>

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...