Sticky Bottom Cart Bar

Plugin Banner

Sticky Bottom Cart Bar

by Md. Al-Amin

Download
Description

Sticky Bottom Cart Bar is a lightweight plugin that enhances your WooCommerce product pages by showing a sticky bar at the bottom. It allows users to quickly add products to their cart or buy immediately with a stylish and responsive button interface.

Features

  • Adds a sticky Add to Cart and Buy Now bar fixed to the bottom of WooCommerce single product pages.
  • Displays product price dynamically, including updates when product variations are selected.
  • Compatible with both simple and variable WooCommerce products.
  • Uses native WooCommerce add-to-cart form to ensure full compatibility.
  • Sticky bar visibility toggles based on scroll direction: hides when scrolled to the bottom, fades in when scrolling up.
  • Clean, minimal, and responsive design optimized for both mobile and desktop.
  • Lightweight and easy to customize via CSS.
  • Translation Ready: All plugin strings can be translated into other languages.
  1. Upload the plugin folder to the /wp-content/plugins/ directory or install it via the WordPress plugin installer.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  1. Sticky Add to Cart and Buy Now bar displayed on a single product page (Desktop View)

    Sticky Add to Cart and Buy Now bar displayed on a single product page (Desktop View)

  2. Sticky Add to Cart and Buy Now bar displayed on a single product page (Mobile View)

    Sticky Add to Cart and Buy Now bar displayed on a single product page (Mobile View)

Will this work with any theme?

Yes, it works with most WooCommerce-compatible themes.

Does this support variable products?

Yes, it automatically detects selected variations before adding to cart.

1.2.0 – 2025-05-21

  • Added: Nonce security for AJAX add-to-cart and buy-now operations.
  • Added: Error handling and user feedback for AJAX failures.
  • Added: Full internationalization support (translation readiness for all user-facing strings).
  • Added: Plugin prepared for .pot file generation for easier translation.
  • Improved: CSS styling by removing all !important declarations for better theme compatibility.
  • Improved: JavaScript robustness and maintainability.
  • Improved: Accuracy of README.md and readme.txt documentation.
  • Fixed: Removed misleading references to a non-existent settings page in documentation.

1.1.1 – 2025-05-17

  • Fixed: Escaped product price output using WordPress-compliant functions to enhance security.
  • Fixed: Addressed WordPress plugin review feedback by improving output handling to align with best practices.

1.0.0

  • Initial release: Sticky Add to Cart + Buy Now button.
Back to top