dross Posted August 22, 2023 Share Posted August 22, 2023 Hello, The website I will be launching is for a mental health foundation. It would be off-putting to have a shopping cart icon in the header. However, there is a shop on my site to purchase shirts to support the foundation. If you disable the shopping cart in the header, and someone adds something to their cart, the cart shows up in the bottom right corner. This is great. I'm happy with that functionality. However, if someone goes to take a look in their cart and decides to go back into the site for any reason, the cart icon disappears from the bottom right corner. This effectively means that unless they add another item to their cart, that icon never comes back and there is no way for them to get back to the cart to finish their purchase. I'm looking for some code to force that cart icon to stay in place as long as something is in the cart. Any help is greatly appreciated. https://beige-lobster-adm6.squarespace.com/ Password: square207 Link to comment
DPruitt Posted August 22, 2023 Share Posted August 22, 2023 (edited) I think the quickest fix on this will be to display the cart on the shop page and product pages at all times... Try inserting this into the Shop Page Header Code Injection: <style> .floating-cart {display:flex !important;} </style> Edited August 22, 2023 by DPruitt tuanphan and StoriesAroundTheSun 2 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