didiflo Posted March 14, 2013 Share Posted March 14, 2013 (edited) bonjour a tous et a toutes voila je recherche a changer le texte du bouton ajouter au panier par inscrivez-vous seulement pour les invités et visiteurs un fois qu'il sont enregistrer le bouton reviens a la normal avec ajouter au panier merci de votre aide a tous Edited March 19, 2013 by didiflo (see edit history) Link to comment Share on other sites More sharing options...
didiflo Posted March 15, 2013 Author Share Posted March 15, 2013 bonjour personne pour m'aider Link to comment Share on other sites More sharing options...
Bondaty and Co Posted March 16, 2013 Share Posted March 16, 2013 (edited) Voici l'exemple pour le productlist, il vous servira de base pour le homefeatured et la page produit {if $logged} {if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE} {if ($product.allow_oosp || $product.quantity > 0)} {if isset($static_token)} <a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add&id_product={$product.id_product|intval}&token={$static_token}", false)}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a> {else} <a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add&id_product={$product.id_product|intval}", false)} title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a> {/if} {else} <span class="exclusive"><span></span>{l s='Add to cart'}</span><br /> {/if} {/if} {else} <a class="exclusive" href="{$link->getPageLink('my-account', true)}"} title="{l s='Login'}"><span></span>{l s='Login'}</a> {/if} ajout de {if $logged} en début de code et de la condition et bouton en fin de code {else} <a class="exclusive" href="{$link->getPageLink('my-account', true)}"} title="{l s='Login'}"><span></span>{l s='Login'}</a> {/if} Edited March 16, 2013 by Muche (see edit history) Link to comment Share on other sites More sharing options...
didiflo Posted March 17, 2013 Author Share Posted March 17, 2013 (edited) bonjour je met le code ou? merci je vais essayer Edited March 17, 2013 by didiflo (see edit history) Link to comment Share on other sites More sharing options...
didiflo Posted March 17, 2013 Author Share Posted March 17, 2013 (edited) bonjour voila pour ceux que sa interesse j'ai trouver rajouter dans le fichiers théme/product.tpl a la ligne 437 {if $logged} {else} <a class="exclusive" href="{$link->getPageLink('my-account', true)}"} title="{l s='Login'}"><span></span>{l s='Login'}</a> {/if} ou bien ceci {if $logged} {else} <a class="exclusive" href="{$link->getPageLink('my-account', true)}"} title="{l s='Login'}"><span></span>Se connecter</a> {/if} ce qui vous donnera cela voir image capture Edited March 17, 2013 by didiflo (see edit history) Link to comment Share on other sites More sharing options...
Bondaty and Co Posted March 18, 2013 Share Posted March 18, 2013 Merci de mettre le post en RESOLU Link to comment Share on other sites More sharing options...
didiflo Posted March 18, 2013 Author Share Posted March 18, 2013 Merci de mettre le post en RESOLU bonsoir désoler comment fait on? merci Link to comment Share on other sites More sharing options...
Bondaty and Co Posted March 19, 2013 Share Posted March 19, 2013 Link to comment Share on other sites More sharing options...
didiflo Posted March 19, 2013 Author Share Posted March 19, 2013 ok merci je fais de suite 1 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