AlexVDB Posted July 6, 2018 Share Posted July 6, 2018 Bonjour, J'ai une question probablement très stupide mais qui me prend la tête depuis des heures. Sur la page où le client doit choisir le transporteur, je voudrai supprimer l'horrible titre "CONDITIONS GENERALES". Mais impossible de trouver où est la racine de ce titre. J'ai chercher sur tt les pages "order... .tpl" voici le code que je retrouve sur la page order-carrier.tpl et qui correspond au checkbox. {if $conditions && $cms_id && (! isset($advanced_payment_api) || !$advanced_payment_api)} {if $opc} <hr style="" /> {/if} {if isset($override_tos_display) && $override_tos_display} {$override_tos_display} {else} <div class="box"> <p class="checkbox"> <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> <label for="cgv">{l s='I agree to the terms of service and will adhere to them unconditionally.'}</label> <a href="{$link_conditions|escape:'html':'UTF-8'}" class="iframe" rel="nofollow">{l s='(Read the Terms of Service)'}</a> </p> </div> {/if} {/if} Une bonne âme aurait-elle la solution pour moi? Merci d'avance! Alex Link to comment Share on other sites More sharing options...
Eolia Posted July 6, 2018 Share Posted July 6, 2018 Peut-être du côté de $override_tos_display Link to comment Share on other sites More sharing options...
AlexVDB Posted July 6, 2018 Author Share Posted July 6, 2018 oui, c'est ce que je pense aussi ... Mais où dois-je modifier ? $override_tos_display Link to comment Share on other sites More sharing options...
Eolia Posted July 6, 2018 Share Posted July 6, 2018 dans les tpls de la 1.7, il faut trouver le bon. Mais vous devez avoir ce champ dans les traductions du front office si c'est ce que vous voulez. Link to comment Share on other sites More sharing options...
AlexVDB Posted July 6, 2018 Author Share Posted July 6, 2018 je suis sur 1.6 oui en effet, il faut trouver le bon! je pense les avoir tous fait, mais rien rien non plus dans les traductions. c'est pour cela que je cherchais à supprimer complètement ce titre Link to comment Share on other sites More sharing options...
Eolia Posted July 6, 2018 Share Posted July 6, 2018 ok donc c'est une blague du thème écrit pour les 1.6 & 1.7 Alors commentez cette partie {*$override_tos_display*} Et regardez si le titre s'affiche toujours Link to comment Share on other sites More sharing options...
AlexVDB Posted July 6, 2018 Author Share Posted July 6, 2018 hu ! ca marchait tellement bien que ça masquait tout le checkbox j'ai fini par trouvé la champ dans traduction (c'est dans un hook du thème) j'ai traduit par un blanc et du coup ca fonctionne merci beaucoup pour votre aide. Alex Link to comment Share on other sites More sharing options...
Eolia Posted July 6, 2018 Share Posted July 6, 2018 oui normal car c'est le tpl utilisé qui est dans cette variable, sinon c'est le code ci-dessus. 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