WCPOS StoreApps Smart Coupons WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
StoreApps Smart Coupons compatibility for WCPOS
★ 0stars
45release downloads
≈10active sites
v0.2.3latest · 1mo ago
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wcpos/wcpos-storeapps-smart-coupons/releases/download/v0.2.3/wcpos-storeapps-smart-coupons.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
StoreApps Smart Coupons compatibility extension for WCPOS.
Scope
This extension targets Smart Coupons for WooCommerce by StoreApps / WooCommerce.com only. It intentionally uses the wcpos-storeapps-smart-coupons slug because other plugins also use “Smart Coupons” naming.
Current compatibility layer:
- applies store-credit (gift card) coupons to order totals at the WCPOS checkout by reporting a REST context while an unpaid POS order with a
smart_couponrecalculates totals, so StoreApps' own order-discount logic runs (its gates otherwise only open for admin order edits, REST requests, andstore-apiorders); - prunes stale
smart_coupons_contributionentries when a store-credit coupon is removed at the POS checkout, so removed gift cards are not deducted on payment; - captures
smart_coupons_contributionorder meta for POS REST orders so StoreApps can deduct the correct partial store-credit amount from gift-card balances; - adds a private order note after StoreApps processes the POS store-credit redemption so staff have an audit trail of the coupon code, amount used, and current balance;
- appends the remaining store-credit balance to the existing coupon description/discount label while WCPOS receipts are rendered, so current receipt templates show it in the discount row without custom receipt data;
- on WCPOS 1.10.8 and later, marks store-credit rows in the receipt data through the
woocommerce_pos_receipt_datafilter (gift_card: trueplus the balance on the row label), so a template can print "Gift Card" instead of "Discount" with{{#gift_card}}Gift Card{{/gift_card}}{{^gift_card}}{{i18n.discount}}{{/gift_card}}; - preserves normal WooCommerce coupon REST responses and relies on StoreApps/WooCommerce coupon metadata instead of adding WCPOS-specific coupon fields.
Development
composer install
pnpm install
pnpm exec wp-env start
pnpm test
PHP/WordPress tests should run through Docker/wp-env.
Releases
6 releases. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.