Per-Product Wallet Settings
WalletPro lets you disable wallet payment or cashback earning on a product-by-product basis. This overrides the store-wide gateway and cashback settings for the specific product, without affecting any other products. Useful for low-margin items, digital goods, gift cards, or any product you want to exclude from wallet incentives.
Where to find the settings
Open any product in WooCommerce > Products > [product] > Edit. A WalletPro panel appears in the product side-column (below Publish, Product image, etc.). The panel contains two checkboxes.
Disable wallet payment for this product
When this checkbox is ticked, customers cannot use their wallet balance to pay for orders that contain this product. The WalletPro payment gateway becomes unavailable on the checkout page whenever this product is in the cart, regardless of the store-wide gateway enable/disable setting.
The restriction applies at the gateway-availability level. If a customer already has wallet-payment pre-selected (e.g. from a previous cart session) and then adds this product, the gateway will be deselected and the customer will need to choose another payment method.
Disable cashback earning for this product
When this checkbox is ticked, purchasing this product does not generate a cashback reward for the customer. The cashback calculation checks this setting before applying any percentage, so setting it on a product prevents cashback even if the customer's role or the global settings would otherwise qualify them.
This works alongside any existing category-level or order-level cashback exclusions. A product is excluded if any exclusion rule matches: this flag is one such rule.
Disabling cashback on a product does not affect spending wallet credit on that product. Customers can still use their existing balance to pay (unless the payment disable flag is also set).
Per-product cashback rate override
In addition to the disable flag, each product can have its own cashback percentage set via the WooCommerce Product Options tab (Product data > WalletPro tab). This is a separate, older feature. The per-product disable flag (this page) takes precedence: if disable is checked, no cashback is earned even if a custom rate is set.
Storage
The two flags are stored as post meta on the product:
| Meta key | Value when enabled |
|---|---|
_walletpro_disable_wallet | "yes" |
_walletpro_disable_cashback | "yes" |
Both meta keys are absent (not stored) when the checkbox is unchecked. You can read or set these from code or WP-CLI with standard post meta functions.
Hook reference
| Hook | Type | Purpose |
|---|---|---|
| walletpro_product_disable_wallet | Filter | Override the disable-wallet flag at runtime. Receives (bool $disabled, int $product_id). |
| walletpro_product_disable_cashback | Filter | Override the disable-cashback flag at runtime. Receives (bool $disabled, int $product_id). |