跳到内容

Cart Notify

v2.0.0

M 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_cart and blocks wc-blocks_added_to_cart events
  • 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_assets
  • cart_notify_notification_data
  • cart_notify_message
  • cart_notify_position
  • cart_notify_template

Frontend events:

  • cart_notify_before_render
  • cart_notify_after_render
  • cart_notify_notification_shown

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums