
Cart Notify
v2.0.0M Hemel Hasan · 2022年12月24日 上架
Show accessible, customizable WooCommerce add-to-cart notifications for classic and block themes.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,388
- 最近更新
- 2026年5月27日
需要 WordPress 6.8+已测试到 7.0.9PHP 7.4+
贡献者
Cart Notify adds a frontend notification after successful WooCommerce add-to-cart actions.
This release focuses on compatibility, reliability, and practical store UX:
- Classic and block-theme add-to-cart support
- Success-only notification flow
- Non-AJAX fallback for single/variable/grouped add-to-cart requests
- Settings-driven design and CTA controls
- Better accessibility (keyboard close + live region updates)
- HPOS and cart/checkout blocks compatibility declarations
- Developer filters and lifecycle events
Features
- Notification rendering only after successful add-to-cart events
- Works with WooCommerce classic
added_to_cartand blockswc-blocks_added_to_cartevents - Supports non-AJAX add-to-cart fallback with one-time server notice payload
- Product title, image, quantity, variation summary, cart items count, and subtotal metadata
- Position controls and style token controls from admin settings
- Optional actions: View Cart, Checkout, Continue Shopping
- Mobile behavior toggle and reduced-motion support
Developer Hooks
Filters:
cart_notify_should_enqueue_assetscart_notify_notification_datacart_notify_messagecart_notify_positioncart_notify_template
Frontend events:
cart_notify_before_rendercart_notify_after_rendercart_notify_notification_shown