Bakur Posted April 30, 2022 Share Posted April 30, 2022 Good day friends. Ыorry for my average english. A small question. I have two websites, both based on PrestaShop. I set the html call code from the site to my mobile number. On the PrestaShop 1.7.0.5 site, this code does not work. On the PrestaShop 1.7.8.2 site, the code works. If you can friends tell me where and what to fix for Presta 1.7.0.5? I will be very grateful Call code <div class="telefoni_2"> <a class="a_tel_2" href="tel:+995598423011"> <img src="../shablon/phone2.gif" width="50" align="middle"/> </a> </div> Link to comment Share on other sites More sharing options...
Ress Posted May 1, 2022 Share Posted May 1, 2022 Can you post the link to the site where it doesn't work? 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 1, 2022 Author Share Posted May 1, 2022 Hello . yes. https://bio-farmacy.com/home/194-spirulinatablets.html Link to comment Share on other sites More sharing options...
Ress Posted May 2, 2022 Share Posted May 2, 2022 From what I saw in the html code, the "href" attribute is missing. You put it on, and when you save it, does it disappear? Or exactly what happens? 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 2, 2022 Author Share Posted May 2, 2022 thanks for the answer friend. Here is the code that I put into the site. what can be changed here? Link to comment Share on other sites More sharing options...
Ress Posted May 2, 2022 Share Posted May 2, 2022 (edited) But how exactly did you put that html? Did you add it to the product description? Through a content module? Directly in the template? Edited May 2, 2022 by Ress (see edit history) 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 2, 2022 Author Share Posted May 2, 2022 Yes, friend. here is the print screen. (thank you for helping me) Link to comment Share on other sites More sharing options...
Prestachamps Posted May 3, 2022 Share Posted May 3, 2022 Hi, Now you have tried to edit and add only the href tag or you have added all the HTML because it seems that either the product description is not updated or the href tag is cut. It happens to all products or just this? Kind regards, Leo 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 3, 2022 Author Share Posted May 3, 2022 Thank you for your reply. This only happens with the phone function. Everything else works - viber, whatsapp ... everything works. Only the phone function does not work Link to comment Share on other sites More sharing options...
Prestachamps Posted May 6, 2022 Share Posted May 6, 2022 (edited) Hi @Bakur, you need to switch off the "Allow iframes on HTML fields" option on the Shop Parameters -> General page, and then re-save the product description. This way your href won't be removed from the product description. Let me know if this solves your issue. Kind regards, Leo. Edited May 6, 2022 by Prestachamps (see edit history) 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 6, 2022 Author Share Posted May 6, 2022 Friend, thank you so much for helping me. I am very grateful to you. I did as you advised me. Unfortunately it hasn't worked yet. But, I really appreciate your willingness to help me. You're a very good person . I tested on this page. https://bio-farmacy.com/home/194-spirulinatablets.html Thank you friend ! Link to comment Share on other sites More sharing options...
JavierP Posted May 7, 2022 Share Posted May 7, 2022 En 6/5/2022 a las 6:54 PM, Bakur dijo: Friend, thank you so much for helping me. I am very grateful to you. I did as you advised me. Unfortunately it hasn't worked yet. But, I really appreciate your willingness to help me. You're a very good person . I tested on this page. https://bio-farmacy.com/home/194-spirulinatablets.html Thank you friend ! hi friend, better try disabling the "html purifier" and try entering the full html code again later. <div class="telefoni_2"><a class="a_tel_2" href="tel:+995598423011"> <img src="../shablon/phone2.gif" alt="შეგვიკვეთეთ ნომერზე" title="შეკვეთა" width="50" align="middle"><img src="../shablon/tel4.jpg" alt="საკონტაქტო" title="კონტაქტი" width="150" align="middle"></a></div> 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 8, 2022 Author Share Posted May 8, 2022 Thank you friend for trying to help me. I thank you very much for this. I tried to do as you suggested. Unfortunately it didn't work. But I decided to buy a call module for this. Hope it will work. Link to comment Share on other sites More sharing options...
JavierP Posted May 8, 2022 Share Posted May 8, 2022 (edited) hace 4 horas, Bakur dijo: Thank you friend for trying to help me. I thank you very much for this. I tried to do as you suggested. Unfortunately it didn't work. But I decided to buy a call module for this. Hope it will work. ok friend, it's very strange that it doesn't work for you... I'm afraid that you can use some kind of cache system or even a cloudflare and that's why you don't see the changes.... It is not necessary to invest in any module for this... Although if it is your best choice, you are free hahaha Edited May 8, 2022 by JavierP (see edit history) 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 8, 2022 Author Share Posted May 8, 2022 I am infinitely grateful that I have the opportunity to communicate with such a wonderful community on this site. Friends, you are wonderful people. 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