آیکن Better Usability for WooCommerce
افزونه رایگان نسخه 1.0.63

Better Usability for WooCommerce

توسعه‌دهنده: moiseh

توضیحات

Improve WooCommerce UX with AJAX cart updates, quantity buttons, streamlined checkout, and more — for a faster, smoother buying experience.

تغییرات این نسخه

1.0.63

Added an optional low-stock urgency badge (“Only {stock} left in stock!”) near the Add to Cart button on both the single product page (woocommerce_single_product_summary) and the shop/archive loop (woocommerce_after_shop_loop_item). It renders only for stock-managed products whose remaining quantity is at or below the threshold — the configured value when set, otherwise WooCommerce’s own woocommerce_notify_low_stock_amount (overridable via the wbu_low_stock_threshold filter) — swaps {stock} for the remaining quantity, and is output as a role="status" region so screen readers announce it. Enable it and customise the text/threshold under the Product tab

Added a free-shipping progress bar to the classic Cart and the Mini-Cart — a live “Add $X more to get FREE shipping!” message with a progress bar that reads your store’s own free-shipping threshold (the min_amount of the Free shipping method on the matching shipping zone, coupon-only rules excluded, overridable via the wbu_free_shipping_threshold filter), swaps {remaining} for the amount still needed, and shows an “unlocked” message at 100%; it refreshes automatically as quantities change on the cart and rides WooCommerce’s fragment refresh in the Mini-Cart. Enable it and customise both messages under the Cart tab

The −/+ quantity buttons are now accessible everywhere they appear (shop, product, cart, checkout, mini-cart and the PRO Quick View modal): each button exposes a real “Decrease quantity” / “Increase quantity”