My suggestion would be to add a new functionality for electronic commerce pages, which show the cart icon on the top bar of the page including information such as products in the cart and amount and a link to the cart page. In my case I use WooCommerce.