Sale icon Fall for Wpmet Up to 83% OFF
ENDING IN:
00 DAY
:
00 HOUR
:
00 MIN
:
00 SEC
Grab Your Deal Today Arrow Icon

How to Add a WooCommerce Mini Cart Dropdown in Your Elementor Header

How to Add WooCommerce Mini Cart Dropdown

A mini cart dropdown lets shoppers check what is in their cart from any page, without a trip to the cart page. With ElementsKit’s Woo Mini Cart widget, you can add one to your Elementor header without writing any code.

Here is the full process:
✅ Habilitar el Mini carrito Woo widget in Kit de elementos
✅ Add the widget to your header template
✅ Set the icon, text, and alignment
✅ Choose how the dropdown opens: click, hover, or off-canvas
✅ Style the cart button and the dropdown panel
✅ Test on desktop and mobile, then publish

What You Need


Helpful: how to add a WooCommerce mini cart button in Elementor

Add a WooCommerce Mini Cart Dropdown

Let’s learn the easy steps.

Step 1: Enable the Woo Mini Cart Widget

From your WordPress dashboard, go to ElementosKit > Widgets. Find Mini carrito Woo, turn it on, and click Guardar cambios.

Enable the ElementsKit Woo Mini Cart widget

Step 2: Add the Widget to Your Header

The header is where shoppers expect a cart, so add the widget there.

  • Ir a ElementsKit > Header & Footer.
  • Create a new header template, or edit your current one, and open it with Elementor.
Navigate to ElementsKit header footer, create a header and edit it with Elementor
Navigate to ElementsKit header footer, create a header and edit it with Elementor

Buscar Mini carrito Woo and drag it into the header. The top right, next to your menu, is the most common spot.

    Add a Woo mini cart to your header dropdown

    Step 3: Adjust the Content of the Mini Cart

    Open the widget’s Contenido tab and set:

    • Icono: pick one from the library or upload your own
    • Texto del carrito: add a label like “Cart” or “My Bag” next to the icon, or leave it empty
    • Alineación: left, center, or right, to fit your header layout
    • Choose How the Dropdown Opens: This is what turns the icon into a dropdown. In the Contenido pestaña, find Cart Visibility and pick one:
      • On Click: the cart opens when the shopper clicks the icon. It works the same on desktop and touch screens.
      • On Hover: the cart opens when the mouse moves over the icon. It is quick on desktop, but touch screens have no hover.
      • Off-Canvas: the cart slides in as a side panel. It suits long carts and small screens.

    If most of your shoppers use phones, start with On Click or Off-Canvas.

    Set the mini cart visibility

    Step 4: Style the Cart Button and the Dropdown

    Cambiar a la Estilo pestaña.

    For the cart button, you can change the padding, icon size, typography, colors, border radius, box shadow, background, and border.

    For the dropdown, style these parts one by one: body, header, item, subtotal, and button.

    Here is what shoppers see inside it: the item count, each product with its thumbnail, name, quantity, and price, a remove button, the subtotal, and the View cart y Verificar botones.

    A few styling tips:

    • Give the panel a light background and a soft shadow so it stands out from the page
    • Make it wide enough that product names do not wrap into three lines
    • Estilo Verificar as the main button and View cart as the quieter one
    Style the mini cart button and the dropdown

    Step 5: Test the Dropdown

    Before you publish, check it like a shopper would:

    1. Add a product to the cart from your shop page.
    2. Open the dropdown and confirm the item, quantity, and subtotal are right.
    3. Remove the item from the dropdown and watch the count update.
    4. Hacer clic Verificar and make sure it goes to the checkout page.
    5. Check tablet and mobile, using Elementor’s responsive mode and a real phone.
    6. Make sure the panel is not cut off at the edge of the screen, especially when the cart sits at the far right of the header. If it is, reduce the panel width in the Style tab, or add some right spacing to the header column.

    Step 6: Publish and Show It Sitewide

    Hacer clic Publicar o Actualizar on the header template, and make sure it is set to display on the entire site. Now the dropdown follows shoppers from the homepage to every product page.

    Add woo mini cart to your WordPress header dropdown with ElementsKit

    A Few Best Practices

    • Keep the cart icon visible. A cart that scrolls out of view is easy to forget. A sticky header keeps it within reach.
    • Keep the dropdown light. Items, subtotal, and two buttons are enough. Extra content makes it feel like a second cart page.
    • Make checkout the obvious next step. One strong button beats two competing ones.
    • Test hover on a real phone. It can look fine in the desktop preview and still behave differently on a touch screen.
    • Think about the cart and checkout pages. A dropdown cart is redundant there, so some stores use a simpler header on those pages.

    Preguntas frecuentes

    In the widget’s Content tab, use Cart Visibility and choose On Hover, On Click, or Off-Canvas.

    It is usually a cache or a setting. Turn off “Redirect to the cart page after successful addition” in WooCommerce > Settings > Products, so shoppers stay on the page. Then exclude WooCommerce cart scripts from your caching and minify settings, and test again with caching switched off.

    Yes. Touch screens have no hover, so use On Click or Off-Canvas and test on a real phone.

    This happens when the cart sits at the far right of the header and the panel is wider than the space left. Reduce the panel width in the Style tab, or add right spacing to the header column.

    The item count, each product’s thumbnail, name, quantity, and price, a remove button, the subtotal, and the View cart and Checkout buttons.

    Complemento ElementsKit Elementor

    Envolver

    A mini cart dropdown keeps shoppers moving. They can check their cart, remove an item, and head to checkout without leaving the page. With ElementsKit’s Woo Mini Cart widget, it takes a few minutes in Elementor and no code.

    Add the widget to your header, pick the open behavior that fits your shoppers, style the panel, and test it on a phone before you publish.

    For every setting, see the Woo Mini Cart documentation, or try the live demo.


    Avatar de Priyanka

    Priyanka

    WordPress Plugin Specialist, Product Documentation Expert, Gutenberg Editor Specialist

    Comentarios

    Deja una respuesta

    Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

    Tabla de contenido