To display a shopping cart icon (cart widget) on every page of your Webflow Ecommerce site, you must add it to a global element such as your site’s Navbar symbol or a global layout component.
1. Add Cart Element to Navbar
- Open any page in the Webflow Designer.
- Click on your Navbar or site header where you want to place the cart.
- From the Add panel (A), drag in the Cart element. It will automatically include both a cart icon and the open cart drawer.
- Customize the cart icon style, cart drawer layout, and checkout button, as needed.
2. Convert Navbar to a Symbol (If Not Already)
- If your Navbar isn’t already a Symbol, turn it into one so it's reusable across your entire site.
- Right-click the Navbar and select Create Symbol. Give it a clear name like “Navbar Global.”
- This ensures changes to the Navbar (including the cart) appear on every page where the symbol is used.
3. Place the Symbol on All Pages
- Go to every page in your project and ensure the Navbar Symbol is added at the top.
- If you're using a template, make sure the symbol is part of the main template layout applied to every page.
- Changes made to the symbol reflect globally.
4. Ensure Ecommerce Pages Are Using the Symbol
- Check Webflow’s autogenerated Ecommerce pages (e.g., Product Template, Checkout, Cart, and Order Confirmation) to make sure the Navbar Symbol is inserted.
- This is essential because Webflow doesn’t auto-inject symbols into those templates.
5. Publish and Test
- Publish your site to staging or live environment.
- Navigate between pages and confirm that the cart:
- Is visible in the Navbar.
- Accurately reflects the number of items when adding products.
- Opens correctly when clicked.
Summary
To add a shopping cart across your Webflow Ecommerce site, add the Cart element into your global Navbar Symbol, and place that symbol on every page. This ensures persistent cart access sitewide.