A user is attempting to customize the Shopify Buy Button cart icon integrated into their Webflow site, facing three main challenges:
Primary Issues:
Replacing the default cart icon with a custom image
Repositioning the cart toggle from its default right-side placement to the top-right corner
Making the cart icon appear globally across all pages, not just shop pages
Partial Solutions Provided:
A community member offered CSS code snippets to:
Hide the default SVG icon and add a custom background image
Reposition the cart toggle using absolute positioning
Adjust the cart number display using flexbox
However, the custom icon replacement ultimately failed because the button exists within an iFrame, making pure CSS solutions insufficient. The helper suggested hiring a developer on platforms like Fiverr (estimated <$50) for a complete solution.
Current Status:
The original poster appears to have eventually resolved the global cart display issue, as later users visiting the site noticed the cart appearing in the header across all pages. Multiple users have since requested details on how this was achieved, but no follow-up explanation has been provided. The thread remains open with unanswered questions about the final implementation method.
Summarized with AI on October 28.
AI used: claude-sonnet-4-5-20250929.
I’m working on a website on webflow and i’m using the shopify buy button for the online store. I’m happy with how the buy button looks, only the the toggle part with the cart icon, that you click on to go your cart, is still not to my liking.
First of all I would like to change the icon itself. I’ve uploaded the wanted icon on shopify but I’m not sure now were to put this link..
Secondly, I would like to change the placement of the cart icon. It is by default placed on the right side of the screen, but I want to place it somewhere else. I’ve noticed if I put: ’ “sticky”: false, ’ under toggle, the icon will move to the bottom of the body. But I want it to be in the right top corner. How can I get it there?
Thirdly, I want the cart icon to appear on all pages of my site and not only on the shop pages. Does someone have a workaround for that as well? I wanted to place the code for the buy button on all my pages, but than i couldn’t click it.
Thanks for helping Bunty! One more question, where exactly do I place there codes in my original code? I’d now placed it at the end of the code, but before
@Orangeorred you haven’t done anything wrong. It was my mistake to tell you this would work. In normal circumstances, it would, but the button is inside an iFrame, so it doesn’t.
It’s a bit more complicated and a pure CSS solution any more, so apologies it would be very time-consuming to test it and make it work for you. What you can do is to post a short job on a site like Fiver with this scope. Should cost you less than $50 to make that work.
I visited your website and noticed you got the cart to show up globally and remain in your header. I’m struggling to do the same thing and was wondering if you can share how you did it?
Hi Bunty, I’m trying to do the same thing but haven’t been successful in pasting in the code. Could you explain where to insert it with a little more detail, I am very new to this…