Skip to content
CWPControl Web PanelDocumentation

Products and orders

Updated

Products are what your clients order: hosting packages, VPS, licenses, support plans, or anything else. Each product has prices per billing cycle and can be linked to a server module that creates the account automatically after payment.

Where to find it: Products, Product addons and Promotions in the left menu.

Editing a CWP hosting product

Create a product

  1. Open Products → Add product.
  2. Fill in the basics:
FieldMeaning
NameShown in the store, on invoices and in e-mails.
GroupProduct groups are the categories of the store, for example Web Hosting or VPS.
TypeHosting account, license, service / support, or other.
DescriptionShown in the store. Use one feature per line.
PaymentRecurring, one-time or free.
StockEmpty = unlimited.
OrderThe position in the store.
HiddenNot listed in the store; it can be ordered only by its direct link, and staff can add it to clients.
  1. Prices. Enter a price and an optional setup fee for each billing cycle you offer (monthly, quarterly, semi-annually, annually, biennially, triennially) and each currency. Leave a cycle empty to not offer it.
  2. Automation. Choose the Module (CWP, cPanel, DirectAdmin, Proxmox, or none) and the Server group. Then choose Create the account: when the first invoice is paid, immediately when ordered, or manually (when staff accept the order). Module settings such as the CWP package appear after you choose the module. See CWP servers and the CWP Billing module. Open a support ticket when an order is paid: choose a department for products that staff set up by hand, for example a website listing or a migration. When the first invoice is paid, a ticket with the order details and the custom fields (not passwords) is opened from the client in that department, once per service and without the auto-reply e-mail.
  3. Click Save product.

Custom fields

Custom fields ask the client for extra information at order time, for example the domain or the operating system. The value is stored on the service.

FieldMeaning
TypeText, text area, number, drop-down, checkbox, or password (encrypted in the vault).
Required / shown on the invoice / admin only
Validation regexOptional, for example ^[a-z0-9.-]+$.
Staff who can see the valueRestricts sensitive values (non-password fields) to some roles.

Password fields (for example a root password) are stored encrypted in the vault.

One licence per server IP. When a product has a text field with IP in its name (for example Server IP), an IP that already has a live service of that product cannot be ordered again. Live means Active, Suspended, or Pending with an unpaid or paid invoice. The client sees why instead: pay invoice #… instead of ordering again, renew that service, or, when the IP belongs to another account, open a ticket and we will move it. The same check applies when a client changes the IP of a licence. This stops clients paying twice for the same server.

Configurable options

Configurable options change the price, for example extra disk space, more RAM or a control panel license. An option can be a drop-down, a radio choice, a yes/no switch or a quantity, with its own price per currency and billing cycle, and the client sees the total while ordering. Configurable options are imported with your WHMCS data and work in orders, renewals and upgrades. Clients can change a quantity option on their service later; see Changing a quantity.

Manage them in Catalogue → Configurable options:

  1. Create an option group and tick the products that offer it.
  2. Add the options of the group. Each one has a name (shown to clients), a type and, for quantities, a minimum and maximum.
  3. Add the choices of each option, with a price and a setup fee per currency and billing cycle. An empty price is 0. Yes/no and quantity options have one choice, whose price is charged per tick or per unit.

A choice or option that services already use is hidden instead of deleted, and the type of such an option cannot change, so existing invoices and renewals stay correct.

An option can have a code and each choice a value for the server module, like value|Name in WHMCS. On a Virtualizor product, an option with the code os lets the client pick the operating system: each choice’s value is the Virtualizor OS template id (or the exact template name). The option page can add all OS templates of a Virtualizor server as choices with one click; hide the ones you do not offer. Without such an option the product’s OS template id is used.

Product addons

Addons are extra services that the client can add to a product, for example backups or a dedicated IP. They have their own price and billing cycle and appear on the same invoice as the product.

Promotions

Promotion codes give a discount in percent or a fixed amount.

FieldMeaning
CodeWhat the client types in the order form.
Type and valuePercentage or fixed amount, for example 20 %.
Valid from / until
Maximum uses0 = unlimited.
Products and cyclesWhich products the code works for.
RecurringTicked: the service keeps the discounted price on every renewal. Otherwise only the first invoice is discounted.

The store and the order process

Clients order at https://billing.example.com/store.

  1. They choose a product, a billing cycle, the options and the domain.
  2. They log in or register.
  3. They pay the invoice.

New orders appear under Orders, where staff can accept, cancel or mark them as fraud.

  • Fraud check. Every order gets a fraud score (0–100) from local signals, and optionally from IPQualityScore (proxy, VPN, Tor, country). With the fraud check on, orders at or above the hold score are held: the invoice can be paid, but the service is activated only after staff accept the order.
  • Abandoned carts. Clients who were logged in and left an order page without ordering can get one reminder e-mail. Reports → Abandoned carts shows the order funnel.

Direct order link for a product: https://billing.example.com/store/<product id>. Use it on your own website.

Common problems

ProblemCause and solution
A product does not appear in the storeIt is hidden, it has no price in the client’s currency, or it is out of stock.
The account was not created after paymentCreate the account is set to “manually”, the order is held by the fraud check, or the server returned an error. Open the service: Server actions → Create shows the error.
The promotion code is “not valid”Check the dates, the maximum uses, and that the product and cycle are selected in the promotion.

Related