SugarDaisy Posted April 27, 2021 Share Posted April 27, 2021 Site URL: https://www.sugardaisyboutique.com/ Hi there, can someone help me with adding a custom code to my site-wide header? I have a shopping cart from a separate eCom provider (my POS system) that I want to integrate into the site. The code is: <div class='ec-cart-widget'></div> I'd like it to ideally be up where the button, or social icons are... But I'm unsure how to get it there. I have attached a screenshot of the directions I've been given from my POS, as well as a screenshot of where I'd like it to appear. Can someone help me? Thank you! Link to comment
tuanphan Posted April 28, 2021 Share Posted April 28, 2021 Hi. What is password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
SugarDaisy Posted April 28, 2021 Author Share Posted April 28, 2021 Password to view site is ready2go Link to comment
tuanphan Posted April 29, 2021 Share Posted April 29, 2021 On 4/28/2021 at 6:43 PM, SugarDaisy said: Password to view site is ready2go Add to Settings > Advanced > Code injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('<div class="ec-cart-widget"></div>').insertBefore('.header-display-desktop .header-actions-action'); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment