♥JcMagpie Posted November 30, 2018 Share Posted November 30, 2018 JcM Sticky Buy Button V1.0 BS4/3 A simple add-on to let you replace the stock Product Information Buy Button with a sticky buy button that will not disappear from view as customer scrolls the info page. Can be configured in admin. Again totally standalone with no core code change. Simply copy all files of the into relevant sections and go to admin modules /content and install. Has been tested on CE BS4 and CE BS3 Can be seen on test site https://chilleddisplays.co.uk/product_info.php/products_id/33 Enjoy. Normal View Scroll Down View, scroll button size and margins can be set. Link to comment Share on other sites More sharing options...
valquiria23 Posted November 30, 2018 Share Posted November 30, 2018 How cool! Thank you very much Zahid for another excellent addon. Congratulations!! Valqui Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
valquiria23 Posted December 3, 2018 Share Posted December 3, 2018 Hola Zahid, @JcMagpie One question, can you make a Sticky Button the WhatsApp Button? Kiss Valqui Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted December 3, 2018 Author Share Posted December 3, 2018 Yes should be simple just copy the relavent code from sticky to whatsapp all you are doing ia applying it to a diferent button. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted December 4, 2018 Author Share Posted December 4, 2018 Here is the sticky WhatsApp, just be sure to place it so its not under the buy button. You can see it in operation on the test site www.justfastfood.com JcM Product info Sticky WhatsApp Button V1.0.zip Link to comment Share on other sites More sharing options...
Dj-Viper Posted December 15, 2018 Share Posted December 15, 2018 Hello, Updated version is available. Added the Dutch and German Language files. Greetings, Dj-Viper Link to comment Share on other sites More sharing options...
LeeFoster Posted February 26, 2019 Share Posted February 26, 2019 Not sure if I'm missing something but it doesn't stick. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 26, 2019 Author Share Posted February 26, 2019 A little more info would help! also link to site. You can see it working fine in CE BS4 on the test site. https://chilleddisplays.co.uk/product_info.php/products_id/49 Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 26, 2019 Author Share Posted February 26, 2019 Nothing clever or magic about this you can make any item do this by simply adding .sticky-top to the class. <nav class="navbar navbar-expand-sm bg-dark navbar-dark sticky-top"> You can do it t the current buy button if your happy editing the code. The add-on just lets you turn off one button and use another so no editing is required. It's not for everyone as Note: sticky-top does not work in IE11 and earlier. Also can cause issues with other items such as images if they use Z-index Link to comment Share on other sites More sharing options...
LeeFoster Posted February 26, 2019 Share Posted February 26, 2019 47 minutes ago, JcMagpie said: A little more info would help! also link to site. You can see it working fine in CE BS4 on the test site. https://chilleddisplays.co.uk/product_info.php/products_id/49 It's a local install using xampp, php is 7.2, web browser is chrome version 72. When I went to your test site before posting it was the same issue there but when I go now it's working. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 26, 2019 Author Share Posted February 26, 2019 1 hour ago, LeeFoster said: When I went to your test site before posting it was the same issue there but when I go now it's working. It's working now for a short time as I turned it on to show you. Not all add-on's are left running on the test website as it would become silly with every single one turned on. 😊 Just check that you have it turned on and are not looking at the default buy button, has several people do that before now. Still stuck pm me your html output for the page its not working on. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.