Image: home
Image: device-layout-laptop

Web Development

Custom Mini Cart and Free Shipping Bar

Image: custom-mini-cart-and-free-shipping-bar
This project involved an integration for an online shop, where I developed two custom shortcodes: one that renders a free shipping bar showing how much is left to reach the free shipping threshold, and another that displays a custom mini cart allowing users to increase or decrease the quantity of specific products. The live updating of product quantities and the free shipping bar was handled using JavaScript and a custom API that retrieves the total cart amount along with the currency.