Posted on Leave a comment

How credits work

Every AI request spends credits:

  • text generation costs the Text request cost (default 1).
  • An image enhancement costs the Image request cost (default 5).

Each vendor has a monthly allowance (set per group — see #1.4). The allowance resets on the 1st of each month. Usage is tracked automatically and shown to the vendor in their dashboard widget and AI Usage report.

ℹ️ A vendor whose allowance is set to empty or 0 is treated as Unlimited. Set an explicit number to cap the monthly free credits, or -1 for no free credits — the vendor then starts at zero and must buy a credit pack to use AI. -1 does not block the tool; to disable AI entirely switch Enable Assistant off (see #1.4).

Let vendors buy more credits (optional). In Settings > AI Assistant > AI Credits — Purchase, turn on Enable credit purchasing and set a pack price and credits per pack. The plugin creates a hidden, catalog-excluded WooCommerce product for checkout; when a vendor buys a pack, the credits are added to their purchased balance, which never resets and is spent only after the monthly allowance is used up.

Leave a Reply

Your email address will not be published. Required fields are marked *