♥JcMagpie Posted July 25, 2018 Posted July 25, 2018 Google Custom Search addon CE A simple header that installs the Google Custom Search box to your site header. This will give you a nice Modal search pop up window. You will need to have a google account to get the custom search code. The code can be made to limit search to within your site only. You can get your code from here https://cse.google.co.uk/cse/ Once you have your code simply edit “tpl_cm_jcm_google_search.php” and add you code as marked. <!------------------add your Google Script below this line------------------> <script> (function() { var cx = '007037419634106605348:gua56w345ta'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <gcse:search></gcse:search> <!------------------add your Google Script above this line------------------> The code supplied is for the test site https://justfastfood.com/ You can see the addon working on the site. Search output is on pop up Modal window.
valquiria23 Posted July 25, 2018 Posted July 25, 2018 Another excellent addon @JcMagpie. Thank you very much Zahid for your constant contributions to the community! Best regards Valqui Community Oscommerce fan You'll find the latest osC community version here.
Dj-Viper Posted December 15, 2018 Posted December 15, 2018 Hello, Updated version is available. Added the Dutch and German Language files. Greetings, Dj-Viper
Recommended Posts
Archived
This topic is now archived and is closed to further replies.