Sticky Bottom Cart Bar

外掛說明

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.

螢幕擷圖

  • 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 (Mobile View)

安裝方式

  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.

常見問題集

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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Sticky Bottom Cart Bar〉的開發相關工作。

參與者

將〈Sticky Bottom Cart Bar〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.