ibasan Posted September 13, 2015 Share Posted September 13, 2015 (edited) (Sorry for my English) Hi everyone, A friend of mine asked me if i could help him but i couldn't.. The issue is that in the page product his prestashop has a tab (conditions) that he is not able to modify, I couldn't find it neither the Backoffice nor the folder at his server. Did anyone know where it could be? Thank you in advance! Edited September 13, 2015 by ibasan (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted September 13, 2015 Share Posted September 13, 2015 That could be extra code in product.tpl or module that adds tabs. In product.tpl search for tab8 maybe. For module check in back office > modules >positions and find sections displayProductTab and displayProductTabContent. There should be some info what modules are hooked there. Link to comment Share on other sites More sharing options...
tuk66 Posted September 14, 2015 Share Posted September 14, 2015 What is the URL? Link to comment Share on other sites More sharing options...
ibasan Posted September 14, 2015 Author Share Posted September 14, 2015 Thank you razaro but I still don't know how to modify the tab, the url is http://vivharaesthetic.com/ Link to comment Share on other sites More sharing options...
razaro Posted September 14, 2015 Share Posted September 14, 2015 Well it depends if it is in product.tpl or in module, you did not said what it is. If it is a module you probably have some module configuration page or maybe new tab on back office products edit page. Link to comment Share on other sites More sharing options...
tuk66 Posted September 14, 2015 Share Posted September 14, 2015 Search for href="#tab8" or at least #tab in all *.tpl files (/themes, /modules, ...) and you will find the module (or other code). Link to comment Share on other sites More sharing options...
ibasan Posted September 14, 2015 Author Share Posted September 14, 2015 In module i got this: i did found it in product.tpl but i didnt know how to modify it Link to comment Share on other sites More sharing options...
ibasan Posted September 14, 2015 Author Share Posted September 14, 2015 This is what i got in product.tpl but if i try to modify from there i can´t change the sentences, I dont know css or javascrypt ... all i usually do is to change things with firebug <section id="tab8" class="tab-pane page-product-box"> <h3 class="page-product-heading">Condiciones</h3> <div class="rte"> <ul> <li><span style="line-height: 1.5em;">El justificante de pago, válido para 1 persona. Puedes comprar tantos cupones como quieras, hasta fin de la oferta.</span></li> <li><span style="line-height: 1.5em;">Hay que llamar para reservar una vez tengas tu justificante de pago. Cita previa al teléfono (96-672-55-73).</span></li> <li><span style="line-height: 1.5em;">Cancelaciones de la reserva con un mínimo de 24h de antelación. En caso contrario, el servicio se dará por realizado.</span></li> <li><span style="line-height: 1.5em;">Horario Salón abierto: Lunes: 12:00h a 21:00h. Martes a Viernes: 10:00h a 21:30h. Sábados: 9:00h a 15:00h.</span></li> <li><span style="line-height: 1.5em;">Oferta sujeta a disponibilidad de horario del Salón.</span></li> <li><span style="line-height: 1.5em;">Dispones de 6 meses para utilizar tu justificante de pago.</span></li> <li><span style="line-height: 1.5em;">Lleva tu justificante impreso o muéstralo en tu teléfono móvil y preséntalo en el Salón, situado en la Avenida País Valenciano, Nº 22-Bajo Guardamar del Segura (Alicante).</span></li> <li><span style="line-height: 1.5em;">Cancelaciones con antelación según condiciones.</span></li> <li><span style="line-height: 1.5em;">Recuerda que recibirás tu justificante de pago por e-mail en un plazo máximo de 24h.</span></li> <li><span style="line-height: 1.5em;">Cualquier duda escríbenos a: [email protected], en el teléfono 966 72 55 73 o mediante el chat online.</span></li> </ul> </div> </section> Link to comment Share on other sites More sharing options...
razaro Posted September 14, 2015 Share Posted September 14, 2015 (edited) You can edit that code in product.tpl directly or maybe go to Localisation > Translation in back office and choose Front office translations, default-bootstrap and English and find text text and change it. If you are asking how to edit files check http://www.inmotionhosting.com/support/website/ftp/getting-started-guide for FTP guide. So use Filezilla for example to find file product.tpl in themes/default-bootstrap folder edit that text to what you need, with some text editor. Save changes and upload. Edit: just saw your replay. Do not worry, backup file first to be safe. Then edit text between each <span style="line-height: 1.5em;">.....</span> You do not need any css or javascript for this. Edited September 14, 2015 by razaro (see edit history) Link to comment Share on other sites More sharing options...
ibasan Posted September 14, 2015 Author Share Posted September 14, 2015 I backup the file and then I edited it like this, but the tab is still the same.. i dont know why.. <section id="tab8" class="tab-pane page-product-box"> <h3 class="page-product-heading">AAA</h3> <div class="rte"> <ul> <li><span style="line-height: 1.5em;">aaaa</span></li> <li><span style="line-height: 1.5em;">aaa.</span></li> <li><span style="line-height: 1.5em;">aaa</span></li> <li><span style="line-height: 1.5em;">aaa</span></li> <li><span style="line-height: 1.5em;">aaa</span></li> <li><span style="line-height: 1.5em;">aaa</span></li> <li><span style="line-height: 1.5em;">aaa</span></li> <li><span style="line-height: 1.5em;">aaa</span></li> <li><span style="line-height: 1.5em;">aaaa</span></li> <li><span style="line-height: 1.5em;">aaaa</span></li> </ul> </div></section> Link to comment Share on other sites More sharing options...
razaro Posted September 14, 2015 Share Posted September 14, 2015 Try to clear cache in Advanced Preferences > Performance, top right corner. 1 Link to comment Share on other sites More sharing options...
ibasan Posted September 14, 2015 Author Share Posted September 14, 2015 that's it!! thank you very much razaro I owe you one 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