A trade customer still sees the retail price
Check, in this order:
- They are signed in. Trade prices go to signed-in customers only.
- They hold the role. In Users, the account must have Wholesale customer (free edition) or one of the roles in your Who buys at trade prices table (full edition).
- There is a price to give. The free edition needs Trade discount set; empty means no trade price. In the full edition, the role needs a percentage, a category rate or a typed product price.
- The product has a regular price. A percentage needs something to come off. A product with no regular price keeps its ordinary price.
- No full-page cache is serving signed-in visitors. Most cache plugins skip logged-in users by default; check yours does.
Does the trade discount stack with a sale?
No. The percentage comes off the regular price, and a trade customer pays that price even while the product is on sale — even when the public sale price is lower. See How it works for the reason and a worked example.
A customer has both Customer and Wholesale customer roles
They buy at wholesale. Every role a customer holds is read. In the full edition, a customer holding two trade roles buys under the first one in your table.
Do trade prices work in the Cart and Checkout blocks?
Yes. The price is applied through the one value WooCommerce, the blocks and the Store API all read, so the block cart, the block checkout and the order show the same number as the shop page.
Is it compatible with HPOS?
Yes. Both editions declare compatibility with High-Performance Order Storage. The plugin stores nothing on orders; the order line simply records the price that was charged.
Will a trade customer get a cached retail page?
Not from a normal setup: page caches skip signed-in visitors. Variable product price ranges are cached by WooCommerce per role, so one customer's range is never served to another.
Can I give one product a fixed trade price?
In the Full edition, yes: type it in the Wholesale customer price field under Product data → General. A typed price beats every percentage. The free edition prices everything by the one percentage.
Can I set a trade price on each variation? — Full edition
The price resolver reads a price stored on a variation first, then the parent product's. Version 1.0's product screen only shows the field on the parent product, so in practice every variation uses the parent's typed price or the percentages.
How do customers apply for a trade account? — Full edition
Put [gatemi_wholesale_form] on a page. A signed-in customer presses Apply for a trade account, you get an email, and you approve them on the Users screen with Approve trade account. Nothing changes on their account until you do.
How do I decline an application? — Full edition
Version 1.0 offers Approve trade account on a user who has no trade role, and Remove trade account on one who has. A pending applicant therefore has only the approve link; to turn them down, contact them and leave the application as it is. They keep seeing "Thank you — your application is with us".
I marked a product "Trade accounts only" and retail customers still see it in the shop
The list of trade-only products is cached for up to an hour. Saving the product in the full edition clears the cache; if the product was flagged some other way (an import, a bulk edit), the shop catches up within the hour. The product is refused at the cart either way.
A trade-only product disappeared for my trade customers
You are running the free edition. It keeps a product the full edition marked trade-only hidden from everybody, because it cannot check trade accounts the way the full edition does, and the safe direction is to hold the product back. Reactivate the full edition and trade customers see it again.
I moved from the free edition to the full edition. Is anything lost?
No. Both editions use the gmwh_settings option in the same shape. The free edition's trade discount becomes the wholesale_customer row in the full edition's table, with your display choices and badge wording unchanged. The free edition stands down by itself while the full edition is active.
And going back from the full edition to the free one?
Your full-edition settings stay in the option. The free edition uses only the wholesale_customer row's percentage, the struck-through switch and the badge; extra roles, category rates, typed product prices, minimums and tax exemption are kept but not applied, so no full-edition price is ever charged by the free edition. Trade-only products stay hidden for everybody.
What does uninstalling remove?
- Free edition:
gmwh_settings, but only if the full edition has never been activated with a licence on the site, plus its own cache of trade-only ids. - Full edition:
gmwh_settings, its licence state, the cached update payload, the trade-only cache and the licence-check cron event.
Neither edition removes the Wholesale customer role or the people in it — removing a plugin is not the same as closing your trade counter. The full edition also leaves the per-product meta (_gmwh_prices, _gmwh_only) and the users' application status (_gmwh_status) in place.
