Sticky User Menu for WooCommerce

By Mashiur Rahman

0+ active installationsVersion 1.0.1

Add a WooCommerce sticky menu for mobile and desktop with live product search, mini-cart controls, and recently viewed products.

Description

Sticky User Menu for WooCommerce adds a mobile bottom navigation bar and a floating desktop menu to your store. Shoppers can search products, update their cart, open their account, and revisit recently viewed products while browsing.

Choose up to five menu items under WooCommerce > Sticky Menu. Arrange the blocks, customize their labels and icons, and preview your storefront before saving.

Choose the shopping actions in your sticky menu

  • Shop opens your WooCommerce product catalog.
  • Search shows live product results with images and prices.
  • Cart opens a mini-cart with quantity controls, removal links, totals, and a checkout button.
  • Account opens the WooCommerce account page, where customers can sign in and manage their account.
  • Recently viewed brings back the last five eligible products visited in the shopper’s browser, newest first. Show between 1 and 5 products with current prices and a Clear history button.
  • Link adds a custom link to a page on your site, such as delivery information, an offer, or a product collection.

Each shopping block can appear once. Custom links can be repeated within the five-item limit. Set each item’s label, choose a bundled SVG icon, and show or hide individual items.

Live product search and mini-cart controls

Live product search uses AJAX to show matching products while shoppers type. Choose between 1 and 10 results and exclude selected product categories, including their child categories. Results respect searchable product visibility, password protection, and your store’s stock-visibility setting.

Shoppers can increase or decrease eligible cart quantities, remove items, and open checkout from the mini-cart. Quantity updates follow WooCommerce’s stock and purchase rules. You can hide the item-count badge.

Mobile bottom navigation and a floating desktop menu

Use a sticky bottom bar on mobile, a desktop toolbar, or both. Mobile Cart and Search panels fill the available height above the bar. The search field stays at the bottom while results scroll above it.

Place the desktop menu at the bottom left or bottom right. Shopping panels open above the toolbar, and labels can appear on hover or keyboard focus. Optional desktop minimizing collapses the toolbar into a restore button. The mobile bar stays expanded.

Mobile only is the default. The layout switches to desktop at 600px when enabled. The menu is hidden on Cart, Checkout, and order-confirmation pages.

Customize the menu with a live storefront preview

Adjust background, text, and accent colors to match your store. Set the mobile bar height, icon and label sizes, rounded corners, and shadow.

Preview your Home or Shop page in Mobile and Desktop views as you edit. Select Save changes to apply the configuration. The editor warns before you leave with unsaved changes. Keyboard controls, Escape to close panels, safe-area spacing, and reduced-motion preferences are supported.

Set up your menu items and devices

The optional setup wizard lets you select blocks, device visibility, and desktop position. Reopen it with Setup beside Save changes.

Installation

  1. Install and activate WooCommerce.
  2. Install the plugin ZIP through Plugins > Add New > Upload Plugin, or copy its directory to wp-content/plugins/sticky-user-menu-for-woocommerce.
  3. Activate Sticky User Menu for WooCommerce.
  4. On a fresh activation, select Set up your sticky menu from the notice on the Plugins screen. You can also open WooCommerce > Sticky Menu and select Setup. Your account must have permission to manage WooCommerce.
  5. Choose menu items and devices, then select Save and continue. The final step offers optional email signup. Select Open menu builder to finish without subscribing, or skip setup to configure the menu directly.
  6. Adjust Menu items and Appearance as needed, then select Save changes.
  7. Open a public store page at the selected device size. Clear any page/CDN caches after changing the configuration or updating the plugin.

FAQ

How do I save my menu settings?

Select Save changes after editing Menu items or Appearance. Your storefront uses the saved configuration. The live preview shows edits before you save them.

Can I disable the menu?

Yes. Turn off Show sticky menu in Appearance and save. Removing or hiding every item also removes the public menu. The authorized admin preview can still show changes while the saved menu is disabled.

Will this work with my theme?

The menu uses its own wrapper and WooCommerce product and account data. Your theme’s navigation stays in place. Theme styles and product extensions can affect the result, so preview your store in Mobile and Desktop views before saving.

Does it replace my theme’s mini-cart?

Your theme’s mini-cart stays in place. The sticky menu renders another instance using WooCommerce templates, with quantity controls added inside its own cart panel. Theme template customizations and product extensions can affect the panel’s markup and quantity rules.

Does product search require a nonce?

The public read-only lookup uses the saved Search configuration and does not require a session nonce, so it remains usable on cached pages. Unsaved search-filter previews require an authorized merchant’s preview nonce. Cart quantity writes use a separate session-bound nonce. Saving settings requires authenticated REST access and the manage_woocommerce capability.

Does the preview change my cart?

The iframe loads your real storefront and uses your current shopping session. Adding, removing, or changing quantities inside it changes that session’s cart. Previewing menu settings does not save the configuration until you select Save changes.

Where are recently viewed products stored?

The block stores up to five unique product IDs in the shopper’s browser, separately for each site. Opening or refreshing the panel sends those IDs to your store to fetch current product details. History stays in that browser, independently of customer accounts.

Hidden, password-protected, unpublished, out-of-stock, and unpurchasable products are omitted. Clear history removes the saved IDs. Browsers that block storage retain history only on the current page. The admin preview shares the same browser history. When JavaScript is disabled, the item opens the Shop page.

What happens when I deactivate or uninstall?

Deactivation preserves settings. Deleting the plugin through WordPress removes its saved menu, installation timestamp, and version options, including those on multisite sites. Products, orders, customers, and WooCommerce settings are not deleted.

Browser history is stored on shoppers’ devices and cannot be deleted by server-side uninstall. Shoppers can remove it with Clear history before uninstall or by clearing the site’s browser data.

Is translation supported?

Interface strings use the sticky-user-menu-for-woocommerce text domain and WordPress translation functions. Default menu labels follow the site language; custom labels are the store owner’s text. The translation template is included at languages/sticky-user-menu-for-woocommerce.pot.

Does it collect personal information ?

The setup wizard offers an optional newsletter for new features, helpful tips, special offers, and support updates. With your consent, subscribing shares only your email address and website URL as contact details with Brevo, our email provider. You can skip signup or unsubscribe at any time. See our privacy policy and Brevo’s privacy policy.

Screenshots

Changelog

1.0.1

  • Minor improvements.

1.0.0

  • Initial release.