WooCommerce Integration
The WooCommerce integration rewards purchasing behavior and product engagement. The manifest loads automatically when WooCommerce is active.
Actions
Section titled “Actions”| Action ID | Label | Default Points | Repeatable |
|---|---|---|---|
wc_order_completed |
Complete a purchase | 25 | Yes |
wc_first_purchase |
Complete first purchase ever | 50 | No (once only) |
wc_product_reviewed |
Leave a product review | 15 | Yes (1/product/day) |
wc_wishlist_add |
Add a product to wishlist | 5 | Yes (5min cooldown) |
wc_first_purchasefires on the same hook aswc_order_completedbut checks whether this is the customer’s first completed order. It only awards points when exactly one completed order exists for that customer.wc_product_reviewedfires oncomment_postwith a guard that checks the post type isproductand the comment is approved. This prevents double-awarding if you also have the WordPress Core comment action active.wc_wishlist_addrequires the YITH WooCommerce Wishlist plugin. It fires onyith_wcwl_added_to_wishlist.
Preventing Double Points on Reviews
Section titled “Preventing Double Points on Reviews”The WooCommerce manifest’s review action explicitly checks post_type === 'product'. The WordPress Core manifest’s comment action targets non-product post types. The two actions do not overlap.
Member Surface
Section titled “Member Surface”WB Gamification adds an Achievements item to the WooCommerce My Account menu and an endpoint at /my-account/achievements/ that renders the member’s full Hub dashboard. This gives stores running WooCommerce without BuddyPress a member-facing gamification surface. See Member Achievement Surfaces. If the endpoint 404s on an existing install, re-save Settings > Permalinks to flush rewrite rules.
Requirements
Section titled “Requirements”- WooCommerce active

