bacowarrior Posted January 5, 2014 Share Posted January 5, 2014 After going through some products on my site to test the various product descriptions, I had noticed a small snippet of code has appeared above the More Info tab. See the picture below: After analysing the code, this seems to be what is causing the problem: <div class="clearfix"> :before :after </div> " <<<<<<< HEAD " <form id="paypal_payment_form" action="http://fashionistayorkltd.co.uk/store/modules/paypal/express_checkout/payment.php" title="Pay with PayPal" method="post" data-ajax="false"> .... </form> My question is how do I fix this so "<<<<<<< HEAD" doesn't appear? I did recently update the PayPal module and this seemed to appear after that, although I have done some other updates prior to this so can't guarantee it was the PayPal module that generated this problem. Is it just a file edit that needs to be done or something more complicated? Thank you in advance for your help. 1 Link to comment Share on other sites More sharing options...
vekia Posted January 5, 2014 Share Posted January 5, 2014 it's a part of some module that you use. unfortunately i dont know which one, so if i were you i will check modules (one by one) used in "productFooter" hook. Try to disable modules attached to this hook - then you will see from which module this code appears. then modify .tpl files of this module, it's probably there. Link to comment Share on other sites More sharing options...
afshop Posted January 5, 2014 Share Posted January 5, 2014 (edited) After going through some products on my site to test the various product descriptions, I had noticed a small snippet of code has appeared above the More Info tab. See the picture below: After analysing the code, this seems to be what is causing the problem: <div class="clearfix"> :before :after </div> " <<<<<<< HEAD " <form id="paypal_payment_form" action="http://fashionistayorkltd.co.uk/store/modules/paypal/express_checkout/payment.php" title="Pay with PayPal" method="post" data-ajax="false"> .... </form> My question is how do I fix this so "<<<<<<< HEAD" doesn't appear? I did recently update the PayPal module and this seemed to appear after that, although I have done some other updates prior to this so can't guarantee it was the PayPal module that generated this problem. Is it just a file edit that needs to be done or something more complicated? Thank you in advance for your help. Hi, I have the same bug after the update at the last version of prestashop. 1.5.6.1 If I disable the paypal module this "snippet" disappears. How can I solve this bug? Thanks Angela Edited January 5, 2014 by afshop (see edit history) Link to comment Share on other sites More sharing options...
bacowarrior Posted January 6, 2014 Author Share Posted January 6, 2014 I am beginning to think PayPal is the cause of this and I am inspecting all the files associated with the PayPal module to see if it is there. May take some doing but I will find it 1 Link to comment Share on other sites More sharing options...
bacowarrior Posted January 6, 2014 Author Share Posted January 6, 2014 I have found it The piece of code is found in this file: /modules/paypal/views/templates/hook/express_checkout_shortcut_form.tpl The <<<<< HEAD code is right at the top of this file. Just download the attachment, unzip and upload to the modules directory and this should fix it Going to inform the creators of this module so they are aware of the problem. paypal.zip 2 Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2014 Share Posted January 6, 2014 thank you for detailed clarification whre the problem was i marked this topic as [solved] btw. i also updated this module to latest version and.... i haven't got this issue Link to comment Share on other sites More sharing options...
afshop Posted January 6, 2014 Share Posted January 6, 2014 I have found it The piece of code is found in this file: /modules/paypal/views/templates/hook/express_checkout_shortcut_form.tpl The <<<<< HEAD code is right at the top of this file. Just download the attachment, unzip and upload to the modules directory and this should fix it Going to inform the creators of this module so they are aware of the problem. Perfect!!!! Thanks Link to comment Share on other sites More sharing options...
bacowarrior Posted January 6, 2014 Author Share Posted January 6, 2014 Perfect!!!! Thanks Hope it worked out ok for you thank you for detailed clarification whre the problem was i marked this topic as [solved] btw. i also updated this module to latest version and.... i haven't got this issue Thanks Vekia I wonder what caused it to insert that code if you upgraded it without a problem. Link to comment Share on other sites More sharing options...
Recommended Posts