HTML Code to add on all pages, add to the footer section

<div class="floating-cart"><a aria-label="cart" data-uw-rm-empty-ctrl="" href="/shopping-cart" class="shopping-cart"><span class="bi bi-cart3"></span></a><br><a href="/shopping-cart" class="shopping-cart"><span>[<span class="header-shopping-cart-count">0</span>]</span></a></div>

CSS Code

.floating-cart {
position: fixed;
z-index: 5000;
right: 0px; or left: 0px; (if you want to use cart on the left side of the browser)
padding: 10px 10px;
color: #fff;
background-color: #000;
text-align: center;
top: 50%;
border: 1px solid #fff;
border-right: 0px;
&:hover,
&:focus {
background: #be0000; }
a {
color: #fff;
font-size: 24px;
font-family: "Open Sans";
text-decoration: none;
@include media-breakpoint-only(xs) {
font-size: 18px;
}
}
span {
width: 30px;
@include media-breakpoint-only(xs) {
width: 24px;
}
}
}

Example is on right side of this page

Building Relationships with Web Developers and Marketing Agencies that want better results

The world's fastest and most SEO friendly website code.