1. Overview
| Area | What you get |
|---|---|
| Products | Simple, variable (up to any number of attributes, with a variation image, price, SKU, stock, weight and size each), grouped, external/affiliate. Sale prices with start and end dates. Featured products. Catalog visibility (shop and search, shop only, search only, hidden). Upsells and cross-sells. Product gallery. Reviews with star ratings and "verified owner" labels. |
| Subscriptions | Subscription products (every N days, weeks, months or years, a set length, sign-up fee, free trial) and custom subscriptions for existing clients with any items, prices and descriptions, a custom end date, renewal invoices with a Pay link, reminders before the due date, overdue notices, on hold and automatic cancellation, store reminders and a daily summary. Extended payment terms for government and institutional clients: stays active with pending payments, and reminds you to follow up after 6 months. |
| Digital | Virtual and downloadable products with any number of files, download limits, link expiry, files kept in a protected folder, and downloads that unlock only once payment is confirmed. |
| Attributes | Shared attributes (Size, Colour…) shown as dropdowns, buttons or colour swatches, used for variations and as shop filters. |
| Inventory | Stock tracking per product or variation, backorders, low and out-of-stock emails, a stock report, "hide out of stock" and stock held for unpaid orders for a set time. |
| Cart | Add to cart without page reloads, a slide-out cart drawer, a mini-cart icon, quantity changes, undo after removing an item, coupons, a shipping estimate and cross-sells. |
| Checkout | One page: billing and shipping addresses with Philippine provinces, guest checkout or account creation, order notes, terms acceptance, live totals, and payment method choice. A shorter billing form when nothing needs shipping. |
| Payments | PayMongo, Stripe, PayPal, bank transfer (several accounts), cash on delivery (limited by shipping method or order amount), check. Test and live modes with one switch. Connection test and one-click webhook setup. |
| Orders | Seven statuses, a full order editor (items, prices, quantities, shipping, fees, addresses, customer, date, payment details), manual orders, notes (private or to the customer), bulk actions, CSV export, partial and full refunds with restocking. |
| Coupons | Percentage, fixed cart and fixed product discounts, free shipping, minimum and maximum spend, product and category rules, sale-item exclusion, allowed emails with wildcards, usage limits overall and per customer, start and end dates, item limits, and a code generator. |
| Taxes | Rates by country, province, postcode (ranges and wildcards) and city. Tax classes, compound rates, tax on shipping, prices entered with or without tax, display with or without tax, and a price suffix. A one-click 12% Philippine VAT preset. |
| Shipping | Zones by continent, country, province and postcode. Flat rate with cost formulas (per item, percentage with minimum and maximum, per shipping class), free shipping (minimum amount and/or coupon), local pickup. Zones are matched in the order you set. |
| Emails | 23 emails (12 for orders, 11 for subscriptions), each with its own on/off switch, recipient, subject, heading and extra text. Your logo, colours and footer. Live preview and test send. |
| Reports | Sales overview with chart, best-selling products, categories, coupons, payment methods, stock, and new versus returning customers, for any date range. Dashboard with setup checklist, key figures and stock alerts. |
| Tools | Product CSV import and export, order and customer export, sample products, system status, maintenance tools, a searchable log and a webhook event log. |
| Front end | Shop with filters (category, price, attributes, on sale, in stock) and sorting, product pages, cart, checkout, My account. Blocks and shortcodes. Works with block themes and classic themes. |
| Admin | A modern, responsive dashboard in the Sysgage design used by Sysgage Security and Sysgage Membership. Every screen works on phones. |
2. Admin screens
Everything lives under Commerce in the WordPress menu, plus Products for the catalog.
| Screen | What it does |
|---|---|
| Commerce → Dashboard | Setup checklist (store address, first product, payment method, shipping, going live), revenue, orders, average order and "needs attention" tiles, a sales chart (7 days, 30 days, this month, 12 months), best sellers, recent orders and stock alerts. A button loads sample products for a quick test. |
| Commerce → Orders | Status tabs with counts, search (order number, name, email, product, transaction ID), filters by payment method and date, bulk status changes, bulk export and delete, a quick "Complete" link, and Add order. Each order opens in the order editor (see Orders and refunds). |
| Commerce → Subscriptions | Active, monthly recurring revenue, due soon and overdue figures, pending payments, status tabs, search, bulk actions and the subscription editor (see Subscriptions). |
| Commerce → Customers | Everyone who ordered, guests included, with order count, total spent, first and last order. Search, sort and CSV export. Each customer page shows their orders, addresses and downloads. |
| Commerce → Coupons | Coupon list with active, scheduled, expired and used-up badges, search, status filter and quick enable or disable. The coupon editor has a code generator. |
| Commerce → Reports | Overview, Products, Categories, Coupons, Payment methods and Stock, with a date range picker. |
| Commerce → Settings | General, Products, Tax, Shipping, Payments, Subscriptions, Checkout and accounts, Emails, Advanced. |
| Commerce → Tools | Status, Import and export, Logs, Webhook events. |
| Products | The product list (thumbnail, SKU, stock, price, categories, featured star, type) with a Duplicate link, the product editor, Categories, Tags, Attributes and Shipping classes. |
Every list works on a phone: tables turn into stacked cards, and wide editable tables scroll sideways inside their card.
3. Products
Product types
| Type | Use it for |
|---|---|
| Simple | One item with one price. Can be virtual (no shipping) and/or downloadable. |
| Variable | One product with options, such as a shirt in three colours and four sizes. Each combination is a variation with its own price, sale price, SKU, stock, image, weight, size, shipping class, description and (for digital variations) files. |
| Grouped | A set of related products shown together, each added to the cart separately. |
| External / affiliate | A product sold elsewhere. The button sends shoppers to your link with your own button text. |
Product data box
The product editor has one box with tabs:
- General: regular and sale price, sale schedule, tax status and tax class.
- Inventory: SKU (checked for duplicates), stock tracking, quantity, backorders (no, allow, allow but tell the customer), low stock threshold, stock status for untracked products, "sold individually".
- Shipping: weight, length × width × height, shipping class. Hidden for virtual products.
- Linked products: upsells, cross-sells, and the products in a group.
- Attributes: shared attributes or attributes only for this product, visible on the product page and/or used for variations, drag to reorder.
- Variations: add one, create all combinations at once, pre-selected options, expand or collapse each variation, bulk "Expand all".
- Downloads: files, download limit and expiry (see Digital products).
- Advanced: purchase note (shown after payment and in emails), menu order, reviews on or off.
Other boxes: Product categories (with an image each), Product tags, Product image, Product gallery (drag to reorder) and Short description.
Attributes and swatches
Products → Attributes holds shared attributes. For each attribute you choose:
- Show as: dropdown, buttons, or colour swatches. Colour swatches use the colour you set on each value (Products → Attributes → Configure terms).
- Sort values by: name, name with numbers in order (2, 10, 20), or the order they were added.
- Archive pages: whether each value gets its own page.
Swatches and buttons are keyboard accessible (arrow keys and Enter), announce their state to screen readers, show which options are unavailable for the current selection, and fall back to a normal dropdown if JavaScript is off.
Prices and sales
- Prices are stored as whole centavos, so totals never pick up rounding errors.
- Scheduled sales start and end on time, even with no visitors, through a dedicated scheduled event.
- Variable products show a price range ("₱499.00 – ₱649.00"), and a "Sale" badge when any variation is on sale.
Catalog
- Shop page and category, tag and attribute archives with filters for category, price range, attributes, on sale and in stock.
- Sorting: default (menu order), popularity, rating, newest, price low to high, price high to low.
- Related products by category and tag.
- Catalog visibility and featured products.
- Product reviews with star ratings, optional "verified owner" label, "only verified owners can review", and moderation.
4. Digital products and downloads
Tick Downloadable on a simple product or a variation to sell files.
| Feature | Details |
|---|---|
| Files | Any number of files per product, each with a display name. Upload to the media library or paste an https:// link to a file stored elsewhere (for example cloud storage). Script files (.php and similar) are refused. |
| Protected folder | Files uploaded from the product editor go into a protected folder inside uploads (uploads/sgc-downloads). It blocks direct access on Apache, LiteSpeed and IIS. On Nginx, ask your host to deny direct access to that folder (see the User Guide). Tools → Status checks the folder is protected. |
| When downloads unlock | Only after payment is confirmed: when the order is Processing with a payment date, or Completed. You can also allow downloads while an order is On hold (for example bank transfers you trust). |
| Limits | Download limit per file (for example 5 downloads) and link expiry (for example 30 days). Leave empty for unlimited. |
| Delivery | Links in the order confirmation page, the processing and completed emails, and My account → Downloads. Each link is a 40-character random token. Files are streamed by the plugin, so the real file location is never shown. Optionally add a unique code to each customer's file name so shared copies can be traced, and open PDFs and images in the browser instead of downloading. Files kept on another server can be handed over by redirect. Developers can switch to X-Sendfile / X-Accel-Redirect with the sgc_download_method filter. |
| Login | Optionally require customers to log in before downloading, so a forwarded link does not work for someone else. |
| Auto-complete | Orders that contain only virtual downloadable items can move straight to Completed once paid. |
| Store control | The order screen lists each file with downloads used, a "Copy link" button and "Revoke". "Regenerate download permissions" re-creates them after you change a product's files. Cancelling or refunding an order in full removes access; restoring the order gives it back. |
5. Subscriptions and recurring invoices
New in 1.1. Bill clients on a schedule for hosting, website maintenance, retainers, support plans, memberships or anything else you charge for again and again. There are two ways to create a subscription:
- A subscription product in your store. The customer subscribes at checkout and pays the first period (or only a sign-up fee during a free trial).
- A custom subscription you create for an existing client in Commerce → Subscriptions → Add subscription. Any items, any price, any schedule. The items don't need to be products in your store.
Both kinds renew the same way. Before each due date the client gets a renewal invoice by email with a Pay now link. They can pay it with any payment method you accept (PayMongo, Stripe, PayPal, bank transfer and the rest). When the invoice is paid, the subscription moves on to the next period by itself. Card details are never stored and nothing is charged without the client clicking Pay.
Subscription products
| Setting | Options |
|---|---|
| Subscription | A checkbox in the product data header, for simple and variable products. Variations use the schedule of their product and their own price. |
| Bill every | 1 to 12 days, weeks, months or years (for example every 3 months, or every year). |
| Length | "Until cancelled" or a set number of payments, after which the subscription ends. |
| Sign-up fee | A one-off amount added to the first payment only. |
| Free trial | Days, weeks, months or years. During the trial the first payment is only the sign-up fee (or nothing). |
On the shop and product pages the price reads, for example, "₱999.00 / month with a 7 days free trial and a ₱500.00 sign-up fee", and the button says Subscribe. The cart and checkout show what is paid today and a Recurring payments box with each renewal amount and the first renewal date. A customer account is required for subscription products, so the checkout asks guests to log in or creates the account for them.
Custom subscriptions for existing clients
The subscription editor has five cards:
| Card | What you fill in |
|---|---|
| Client | Pick an existing customer, or type a name, company, email, phone and address. A client without an account can still be billed by email. Tick Create a customer account to send them a link to set a password, so they can see the subscription and pay in My account. |
| What the client pays for | An optional subscription name (for example "Website Care Plan") and any number of items. Each item has a name, a description, a quantity, a price each period, a taxable switch and an optional link to a store product. The total per period updates as you type. |
| Billing schedule | Bill every N days, weeks, months or years (1 to 365), the start date, the next payment date (filled in from the start date and billing period, for example a yearly plan that started on July 1, 2026 is next due on July 1, 2027), and how long it runs: until cancelled, a number of payments, or until a date (a custom expiration date). Payments already made, and a preferred payment method. |
| Payment terms | Extended payment terms for government and institutional clients, with this client's own follow-up days (see Extended payment terms). |
| Invoices, reminders and notifications | Email the client invoices and reminders (on or off), Remind me too (emails the store on each reminder day), and per-subscription overrides for the invoice day, reminder days and overdue days. Empty fields use the store defaults. |
When the next payment date is inside the invoice window, the renewal invoice is created and emailed as soon as you save. If you later change the items or prices while that invoice is unpaid, it is cancelled and a new one with the new amount is sent. Changing the due date moves the open invoice to the new date.
The renewal cycle
| Step | When (store defaults) | What happens |
|---|---|---|
| Invoice | 7 days before the due date | A renewal order is created with a Pay link and the "Renewal invoice" email goes to the client. Each line shows its service period, for example "November 28, 2026 to December 27, 2026". |
| Reminders | 3 days and 1 day before | "Payment reminder" emails while the invoice is unpaid. With Remind me too, the store gets a "Renewal coming up" email with the client details and the Pay link. |
| Overdue | 1 day after the due date | The subscription becomes Overdue. The client gets "Payment overdue" (again on day 3), and the store gets an alert. |
| On hold | 7 days after | The subscription goes On hold (suspend the service) and the client is told. |
| Cancelled | 30 days after | The subscription and its unpaid invoice are cancelled, and both sides are told. 0 turns this off. |
| Paid | Any time | The invoice is marked paid, a service renewal completes on its own, and the subscription is Active again with the next due date one period after the previous one. |
The dates keep the day of the month: a plan billed on the 31st renews on February 28 and then on March 31. The engine runs every hour. The store also gets a daily summary of renewals due within 7 days and anything overdue, on days with something to report.
Extended payment terms (government and institutional clients)
New in 1.1.3. Government offices in the Philippines, and many schools, hospitals and large companies, often pay 6 months or more after the invoice date, after their procurement and disbursement process. Turn on Extended payment terms on their subscription (Payment terms card) and the subscription keeps working while you wait:
| Step | What happens |
|---|---|
| Invoice | As usual: the renewal invoice with a Pay link goes out before the due date. |
| Due date passes unpaid | The subscription stays Active. The invoice stays open and payable and is kept as a pending payment. The next period is still billed on schedule, so a yearly contract is invoiced again a year later. No overdue notices, no hold, no automatic cancellation, and no "overdue" alerts. |
| Follow-up | When an invoice has been unpaid for 180 days (about 6 months), you get a "Follow up" email with the client details, every pending invoice, the total and the Pay link. It repeats every 30 days until the invoice is paid or cancelled. Both numbers can be changed in the settings and per client. |
| Statement of account (optional) | Turn on Also email the client a statement of account to send the client a polite list of their unpaid invoices with Pay links along with each follow-up. You can also send one any time with Email the client a statement. |
| Payment arrives | Mark the invoice as paid (or the client pays online). It leaves the pending list and counts as a payment made. The next due date does not move, because that period was already billed. |
| Invoice written off | Cancel the invoice. It leaves the pending list. |
Where pending payments show:
- The subscription screen has a Pending payments card listing each unpaid invoice with its due date, days unpaid, last follow-up, amount, Copy link and Mark as paid, plus the date of the next follow-up reminder. The header shows a Payment pending badge, and the Actions card has Email the client a statement.
- Commerce → Subscriptions has a Pending payment tab, the status column shows "Payment pending: 1 invoice, oldest 99 days", and the Active figure shows how many clients have pending payments and the total.
- The daily summary email has a Pending payments (extended payment terms) table, with invoices past the follow-up day in red.
- In My account, the client sees an Unpaid invoices box with Pay buttons, and a note that the subscription stays active.
A length set as a number of payments counts pending invoices as billed, so a 3-year contract stops billing after 3 invoices even if some are still unpaid. Turning extended terms on for a subscription that is already overdue or on hold moves its unpaid invoice to pending payments and makes it Active again on save.
Statuses
| Status | Meaning |
|---|---|
| Pending payment | Waiting for the first payment of a new checkout. |
| Active | Paid up. |
| Overdue | A renewal is unpaid after its due date. |
| On hold | Unpaid past the grace period. |
| Pending cancellation | Cancelled, but kept until the end of the paid period. |
| Cancelled | Ended early, by you, by the client or automatically. |
| Expired | Reached its last payment or its end date. |
Commerce → Subscriptions
- Figures at the top: active subscriptions, monthly recurring revenue (all cycles converted to a month), renewals due in the next 7 days, and overdue or on hold.
- Tabs: All, Due soon, Pending payment (extended payment terms) and one per status. Search by number, client, email or item. Bulk send invoices, cancel or delete.
- The subscription screen shows the next payment, each renewal amount, payments made and the length at a glance, with actions: Email the renewal invoice again, Send payment reminder, Open invoice (mark as paid), Copy payment link, put on hold, reactivate, cancel at period end, cancel now and delete.
- Every invoice and payment is listed, and a history of everything that happened (emails sent, status changes, edits) sits next to private notes.
- The Commerce dashboard has an Upcoming renewals card.
For clients (My account)
- A Subscriptions tab appears in My account for customers who have one. It lists each subscription with its status, next payment and amount.
- The subscription page shows the details, what is included (with item descriptions), the renewal total, a Pay now banner when a renewal is due, Unpaid invoices from earlier periods with Pay buttons (extended payment terms), and all payments.
- Clients can cancel (at the end of the paid period, or straight away, as you choose) and resume a cancellation before it takes effect. Turn self-cancelling off in Settings → Subscriptions.
- Renewal invoices can't be cancelled from the Pay page, so a client can't cancel the subscription by accident.
Settings → Subscriptions
| Setting | Default |
|---|---|
| Send the renewal invoice | 7 days before the due date |
| Reminders before the due date | 3,1 (days; 0 is the due date itself; empty for none) |
| Overdue notices | 1,3 (days after the due date) |
| Put on hold after | 7 days unpaid |
| Cancel automatically after | 30 days unpaid (0 never cancels) |
| Daily summary of renewals due | On, covering 7 days |
| Clients can cancel from My account | On |
| When a client cancels | Keep it until the end of the paid period |
| Extended payment terms: remind me to follow up after | 180 days unpaid (0 turns follow-ups off) |
| Then remind me again every | 30 days (0 reminds you once) |
| Also email the client a statement of account | Off |
Subscription emails
Eleven emails, each with its own switch, subject, heading and text in Settings → Emails: Renewal invoice, Payment reminder, Payment overdue, Subscription on hold, Subscription cancelled and Pending payment statement (to the client), and Renewal coming up, Renewals due (daily summary), Subscription overdue, Subscription cancelled and Pending payment follow-up (to the store). Store emails have Reply-To set to the client. Extra placeholders: {product}, {amount}, {due_date}, {days}, {client}, {subscription_number}, and {count} in the daily summary. Every email sent is written to the subscription's history.
Not in 1.1
Automatic card charging (saved cards with PayMongo, Stripe or PayPal billing agreements) is planned for a later version. In 1.1, every renewal is paid by the client from the invoice link, which works with every payment method including bank transfer and GCash.
6. Cart and checkout
Cart
- Add to cart from the shop and product pages without a page reload. A slide-out cart drawer and a toast confirm it. You can send customers straight to the cart instead.
- Mini cart icon (block or shortcode) and an optional floating cart button.
- Quantity steppers that respect stock and "sold individually".
- Remove with Undo.
- Coupons, with clear messages when one does not apply.
- Shipping calculator (country, province, postcode) and shipping method choice.
- Cross-sells.
- Totals update live.
Checkout
- One page with billing, an optional different shipping address, order notes, and the order review.
- Philippine provinces are built in, along with every country and the states or provinces of the main ones.
- Field options: company, phone and postcode can be optional, required or hidden.
- Orders with nothing to ship (digital or virtual items only) skip the street address and company fields, and city, province and postcode become optional. Turn this off with the
sgc_short_billing_for_digitalfilter. - Guest checkout, account creation at checkout, or required login. Returning customers can log in from the checkout.
- Terms and conditions checkbox when a terms page is set.
- Shipping methods for the customer's address with live totals.
- Clear, field-level error messages, focus moved to the first problem, and a page that still works with JavaScript off.
- If a coupon stops applying once the customer's email is known (for example, a per-customer limit), the order is not placed. The customer sees the new total first.
- Unpaid orders hold stock for a set time (default 60 minutes), then are cancelled and the stock is returned.
- Pay for order page for failed payments and for orders you create in the dashboard, with a clear message when the last attempt failed.
- Order received page with the order summary, downloads, bank details for bank transfers, and the purchase notes.
7. Payments
Gateways
| Gateway | How it works | Methods | Refunds | Webhooks |
|---|---|---|---|---|
| PayMongo | Redirect to PayMongo Checkout | Cards (Visa, Mastercard), GCash, Maya, GrabPay, QR Ph, ShopeePay, online banking (BPI, UnionBank), BillEase | From the order screen | Created with one click, signed and verified |
| Stripe | Redirect to Stripe Checkout | Cards, Apple Pay, Google Pay and other methods enabled in your Stripe account | From the order screen | Created with one click, signed and verified |
| PayPal | Redirect to PayPal (Orders v2, capture on return) | PayPal balance, cards through PayPal | From the order screen | Created with one click, verified with PayPal (needs HTTPS) |
| Bank transfer | Order goes On hold, customer sees your accounts | Any number of bank or e-wallet accounts | Record manually | — |
| Cash on delivery | Order goes Processing, paid on delivery | Can be limited to some shipping methods or a maximum amount | Record manually | — |
| Check | Order goes On hold | — | Record manually | — |
Test and live mode
One switch in Settings → Payments moves every gateway between test and live keys. The admin header always shows TEST MODE or LIVE so you never wonder.
Each online gateway has:
- separate test and live keys (secrets are never shown again after saving, and a blank field keeps the saved one)
- a Test connection button
- a Create webhook button that registers your store's webhook address and saves the signing secret
- the order methods appear in at checkout, changed with up and down arrows
Payment safety
- The amount and currency paid are checked against the order. If they differ, the order is put On hold with a note instead of being marked paid.
- Payments are confirmed twice: when the customer returns and when the webhook arrives. Whichever comes first wins, and the other is ignored. Nothing is ever marked paid twice.
- Webhooks with a missing or wrong signature are rejected with HTTP 400 and logged.
- Each webhook event is stored once (Tools → Webhook events), so repeats from the provider are ignored.
- A refund started from the store is never counted twice when the provider's refund webhook comes back.
- Refunds made in the PayMongo, Stripe or PayPal dashboard are copied to the order with a note.
Stripe does not accept businesses registered only in the Philippines. Philippine stores normally use PayMongo for cards and e-wallets, and Stripe if they have a business entity in a supported country.
8. Orders and refunds
Statuses
| Status | Meaning |
|---|---|
| Pending payment | Order created, waiting for payment. Stock is held. |
| Processing | Paid (or cash on delivery). Ready to fulfil. Downloads are available once paid. |
| On hold | Waiting for you, for example to confirm a bank transfer. |
| Completed | Fulfilled. |
| Cancelled | Cancelled by you, the customer or the unpaid-order timer. Stock is returned. |
| Refunded | Refunded in full. |
| Failed | The payment was declined or failed. The customer can try again. |
Order editor
- General: status, date and time, customer (search registered customers and past guests; picking one fills empty address fields), payment method and transaction ID.
- Billing and shipping addresses, with "same as billing".
- Items: while an order is Pending, On hold or Failed you can change quantities and line totals, remove items, add products or variations (search by name or SKU), and add shipping or fee lines. Taxes can be recalculated from the customer's address. Stock is adjusted when items change on an order that already took stock.
- Totals: subtotal, discounts with coupon codes, shipping, fees, each tax, total, refunded and net.
- Order actions: mark as paid, regenerate download permissions, recalculate totals, and resend any order email.
- Customer card: name, email, phone, paid orders and lifetime value, shipping address and method, IP address.
- Notes: private notes or notes emailed to the customer, plus an automatic history of every status change, payment, email and stock change.
- Customer view: open the order as the customer sees it.
Manual orders
Add order creates an order from the dashboard: pick a customer or type a guest's details, add products, shipping and fees, and save. Send the invoice email and the customer pays through the Pay for order page with any enabled gateway.
Refunds
- Refund by item (quantity per line, which fills in the amount) or by amount.
- Optional restock of refunded items.
- Refund via PayMongo / Stripe / PayPal, or Record manual refund for money you returned yourself.
- A refund can never exceed what is left to refund.
- A full refund sets the order to Refunded. Partial refunds keep the status and show the net amount.
- The customer gets the Refunded order email.
Bulk actions
Mark as processing, on hold, completed or cancelled. Export selected orders to CSV. Delete selected orders (managers only).
9. Coupons
| Option | Details |
|---|---|
| Discount types | Percentage, fixed amount off the cart, fixed amount off each product. |
| Free shipping | Unlocks Free shipping methods set to "a valid free shipping coupon". |
| Spend limits | Minimum and maximum spend. |
| Products | Only these products, exclude products, only these categories, exclude categories, exclude sale items. |
| People | Allowed emails with wildcards (*@company.com), checked at checkout once the email is known. |
| Usage | Total uses, uses per customer (by account and by billing email), and "limit to this many items". |
| Schedule | Start date and expiry date (the coupon works until the end of that day). |
| Combining | "Individual use only" blocks other coupons. |
| Codes | Case-insensitive. A Generate button makes an 8-character code without look-alike characters. |
The coupon list shows how many times each code was used, and Reports → Coupons shows the orders and discount each code brought in.
10. Taxes
- Turn taxes on in Settings → Tax.
- Prices I enter: with tax (common in the Philippines) or before tax.
- Calculate tax based on: the customer's shipping address, billing address, or your store address.
- Display: show prices in the shop and in the cart and checkout with or without tax, separately.
- Tax totals: one line per rate, or a single "Tax" line.
- Price suffix, for example "VAT inclusive".
- Tax classes: Standard plus your own (for example Reduced rate, Zero rate). Each product and variation has a tax status (taxable, shipping only, none) and class.
- Rates: country, province, postcodes (semicolon-separated, ranges like
1000...1099, wildcards like17*), cities, rate %, name, priority, compound, and whether it applies to shipping. One matching rate per priority is used. - Shipping tax class: based on the cart items or a fixed class.
- Philippine VAT preset adds a 12% VAT rate for PH in one click.
11. Shipping
- Zones match customers by continent, country, province and postcode (ranges and wildcards). The first matching zone in your order wins. A built-in "Everywhere else" zone catches the rest.
- Flat rate: a cost that can be a formula:
[qty]for item count,[cost]for the cart's item total and[fee percent="10" min_fee="50" max_fee="300"]. Extra cost per shipping class, and "per class" or "most expensive class" calculation. - Free shipping: always, with a minimum amount, with a free shipping coupon, or either or both. Option to ignore discounts when checking the minimum, and to hide other methods when free shipping is available.
- Local pickup: with an optional fee and your pickup address shown to the customer.
- Every method can be taxable or not, renamed, turned off, and sorted.
- Shipping classes (Products → Shipping classes) group products for different rates.
- Options: hide shipping costs until an address is entered, shipping calculator on the cart, ship to billing address by default or always, sell and ship to all or selected countries.
12. Customers and My account
- Customers can check out as guests or create an account (at checkout or on My account). Passwords can be generated and emailed.
- My account has Dashboard, Orders (with Pay and Cancel for unpaid orders), Order details, Subscriptions (for customers who have one), Downloads, Addresses and Account details. Endpoint slugs can be renamed in Settings → Checkout and accounts.
- Logged-in customers have their addresses filled in at checkout.
- Customers do not see the WordPress admin bar or dashboard.
- When someone registers with an email that placed guest orders, those orders and their downloads move into the new account (filter
sgc_link_guest_ordersto turn this off).
13. Emails
| Sent to | When | |
|---|---|---|
| New order | Store | A new order is paid or placed with an offline method |
| Cancelled order | Store | An order is cancelled |
| Failed order | Store | A payment fails |
| Order on hold | Customer | Order put on hold (for example bank transfer) |
| Processing order | Customer | Payment received |
| Completed order | Customer | Order completed |
| Refunded order | Customer | Full or partial refund |
| Order details / invoice | Customer | Sent manually from the order screen |
| Customer note | Customer | You add a note "to customer" |
| New account | Customer | An account is created |
| Low stock | Store | Stock falls to the low stock amount |
| Out of stock | Store | Stock runs out |
| Subscription emails (11) | Client and store | Renewal invoices, reminders, overdue, on hold, cancelled, store reminders, the daily summary, and follow-ups and statements for pending payments. See Subscriptions. |
Every email can be turned on or off and has its own subject, heading and extra text with placeholders ({site_title}, {site_url}, {store_email}, {order_number}, {order_date}, {order_total}, {customer_name}, and {product} in stock emails). Store emails can go to several recipients. The design uses your logo, base colour, background and footer. Settings → Emails shows a live preview of each one and can send a test.
If sending fails, the order (or subscription) gets a note with the reason, the message on screen gives the reason (for example "Could not instantiate mail function" or "SMTP connect() failed"), and the log records it, so you know the customer did not receive it. Use an SMTP plugin for reliable delivery.
Email delivery check (Settings → Emails, new in 1.1.3) shows whether an SMTP or email service plugin is sending your mail or the server's PHP mail function is, warns when the "From" address is a free address (Gmail, Yahoo, Outlook and others) or on another domain, shows the last failed email with its reason, and sends a test email to any address with the same sender as your invoices. "Send me a test" on each email now uses the store's From name and address too, so a test behaves exactly like the real email.
14. Reports
| Report | Shows |
|---|---|
| Overview | Gross sales, net revenue (after refunds), orders, items sold, average order, discounts, shipping, tax and refunds, a daily or monthly chart, and new versus returning customers. |
| Products | Best sellers by items sold and net sales. |
| Categories | Sales by category with a chart. |
| Coupons | Orders and discounts per coupon. |
| Payment methods | Orders and revenue per gateway. |
| Stock | Low stock, out of stock and most stocked products. |
Date ranges: 7 days, 30 days, this month, last month, this year, or a custom range. Only paid orders count (Processing, Completed, On hold, Refunded), and the statuses are filterable. Results are cached for a few minutes and cleared when orders change.
15. Import, export and tools
Product CSV import
- Upload a CSV (20 MB maximum) with a header row. Columns are matched by name (ID, Type, SKU, Parent, Name, Published, Featured, Visibility, Short description, Description, Regular price, Sale price, Sale starts, Sale ends, Tax status, Tax class, Manage stock, Stock, In stock, Backorders, Low stock amount, Sold individually, Weight, Length, Width, Height, Shipping class, Virtual, Downloadable, Download files, Download limit, Download expiry days, Categories, Tags, Images, Attributes, Upsells, Cross-sells, Grouped products).
- Existing products are updated by ID or SKU. Variations are linked to their parent by the Parent column.
- Images can be URLs (downloaded into the media library) or attachment IDs.
- Each row's problems are listed after the import.
Exports
Products (same columns as the import, so a file can be round-tripped), orders (one row per order with items) and customers. Cells that start with =, +, - or @ are escaped so spreadsheets do not run them as formulas.
Tools → Status
WordPress, PHP, database, memory, upload limit, HTTPS, cron, store pages, protected downloads folder, gateway mode and webhooks, with a pass or warning for each.
Maintenance tools: create missing store pages, clear store caches, sync product prices and stock status, cancel expired unpaid orders now, clear all carts, and repair the database and permissions.
Logs
Payments, webhooks, emails, stock and errors in one searchable list with severity and source filters and expandable details. Old entries are removed automatically after 60 days (change it with the sgc_log_retention_days filter). Full gateway debug logging can be turned on in Settings → Advanced.
16. Shortcodes, blocks and templates
Shortcodes
| Shortcode | Attributes | |
|---|---|---|
| columns, per_page, category, `filters="yes | no"` |
| — | |
| — (also shows the order received and pay pages) | |
| — | |
| limit, columns, orderby (date, popularity, rating, price, title, rand, menu_order), category, tag, ids, skus, on_sale="yes", featured="yes", title | |
| id or sku | |
| id, `show_price="yes | no"` |
| number, columns, parent, hide_empty, ids | |
0 | — |
Checkout and account shortcodes since 1.1.1. Sysgage Commerce 1.1.0 and older used and , the same tags as Sysgage Membership. The store now uses Log in
Create an account
and , and updating the plugin changes the store's own Checkout and My account pages for you. The old tags keep working: on the store's pages they show the store, on Sysgage Membership's pages (or with a Log in
Create an account
level attribute or ?level= in the address) they show the membership screen, and anywhere else they show the store. Use the new tags on new pages. The sgc_legacy_shortcode_is_membership filter changes the routing.
Blocks
In the Sysgage Commerce block category: Products, Product categories, Shop, Cart, Checkout, My account and Mini cart. Single product and Product archive blocks are used by the plugin's block-theme templates.
Themes
- Block themes (Twenty Twenty-Four and newer): product and archive templates are provided and can be edited in the Site Editor.
- Classic themes: the plugin uses its own page templates, and your theme can override them by adding
single-sgc_product.php,sysgage-commerce/single-product-page.phporsysgage-commerce/archive-product-page.php. - Template overrides: copy any file from the plugin's
templates/folder toyour-theme/sysgage-commerce/to change it. - Styles use CSS custom properties, including your brand colour from Settings → General.
17. Settings reference
| Tab | Settings |
|---|---|
| General | Store address and contact, selling and shipping countries, currency (all major currencies, PHP by default), currency position, thousand and decimal separators, brand colour, store notice, floating cart, mini cart in menu. |
| Products | Shop columns and products per page, default sorting, weight and size units, placeholder image, add-to-cart behaviour, related products, reviews and ratings, inventory (stock management, hold stock minutes, low and out-of-stock notices, thresholds, stock display format, hide out of stock), downloads (delivery method, login required, when access is granted, auto-complete, open in browser, unique code in file names). |
| Tax | See Taxes. |
| Shipping | Options and zones. See Shipping. |
| Payments | Test or live mode, gateway order and each gateway's settings. |
| Subscriptions | Invoice day, reminder days, overdue days, on hold and cancel after, daily summary, client cancellation, extended payment terms follow-ups. See Subscriptions. |
| Checkout and accounts | Store pages (shop, cart, checkout, My account, terms), guest checkout, login reminder, account creation at checkout and on My account, generated passwords, coupons on/off and applied one after another, company / phone / postcode fields, order notes, terms page, privacy text, unpaid order timeout, order number prefix and My account endpoint slugs. |
| Emails | Sender name and address, header image, footer text, base and background colours, and each email. |
| Advanced | Privacy (anonymise orders and remove downloads on erase requests, delete cancelled orders after a number of days, guest cart lifetime), debug log, and whether to delete all data on uninstall. |
18. Roles and permissions
| Capability | Lets someone |
|---|---|
manage_sgc_store | Change settings, use tools, delete orders and subscriptions. |
view_sgc_reports | See the dashboard and reports. |
edit_sgc_orders | View and edit orders, subscriptions and customers, refund, send renewal invoices and reminders. |
edit_sgc_coupons | Manage coupons. |
edit_sgc_products | Manage products. |
manage_sgc_product_terms | Manage categories, tags, attributes and shipping classes. |
Administrators get all of them. The Shop manager role gets all of them plus the capabilities of a WordPress Editor (posts, pages, products, media) and can see the user list, without access to plugins, themes, settings or editing users. The Customer role can only use My account.
19. Security
- Every admin action checks both a capability and a nonce. Every admin AJAX request checks a nonce.
- Every database query with outside input uses prepared statements.
- Output is escaped. Rich text from settings is filtered.
- Webhooks are verified with the provider's signature (PayMongo, Stripe) or PayPal's verification API. Bad signatures are rejected.
- Order pages (received, pay, view) need the order's secret key or the owning customer's login.
- Customers cannot see other customers' orders, downloads or addresses.
- Download links are random tokens. Files are served from a protected folder and checked to stay inside uploads (no
../tricks, no scripts). - Prices, stock and totals are always recalculated on the server. Nothing the browser sends about price is trusted.
- Amount and currency checks on every online payment.
- CSV exports are protected against formula injection.
- Gateway secrets are never printed back into the settings page.
20. WP-CLI
| Command | Does |
|---|---|
wp sysgage-commerce status | Version, database version, currency, payments mode, orders per status and product count. |
wp sysgage-commerce import <file.csv> | Import products from CSV. |
wp sysgage-commerce sample | Load sample products. |
wp sysgage-commerce renewals [--digest] | Run subscription renewals now (invoices, reminders, overdue, on hold, cancel, expire) and print the count per status. --digest also sends the daily summary. |
wp sysgage-commerce cleanup | Cancel expired unpaid orders, remove expired carts and start or end scheduled sales now. |
21. Developer reference
Functions
| Function | Returns |
|---|---|
sgc_get_product( $id ) | SGC_Product or null |
sgc_get_order( $id ) | SGC_Order or null |
sgc_cart() | The current SGC_Cart |
sgc_add_notice( $message, $type ) | Queue a front-end notice |
sgc_locate_template( $name ) | Path of a template, theme overrides first |
Actions
sgc_loaded, sgc_new_order, sgc_checkout_order_created, sgc_checkout_order_processed, sgc_payment_complete, sgc_order_status_changed, sgc_order_status_{status}, sgc_order_refunded, sgc_before_delete_order, sgc_added_to_cart, sgc_cart_changed, sgc_stock_changed, sgc_low_stock, sgc_out_of_stock, sgc_download_file, sgc_product_data_saved, sgc_product_synced, sgc_created_customer, sgc_settings_saved, sgc_thankyou, sgc_cancel_unpaid_order, sgc_add_to_cart_extra, sgc_after_totals, sgc_review_line_meta.
Subscriptions: sgc_new_subscription, sgc_subscription_activated, sgc_subscription_renewed, sgc_subscription_status_changed, sgc_subscription_status_{status}, sgc_subscription_cancelled, sgc_subscription_resumed, sgc_subscription_payment_pending (an unpaid invoice was kept as a pending payment under extended terms; receives the subscription and the order), sgc_before_delete_subscription.
Filters
| Area | Filters |
|---|---|
| Products and prices | sgc_product_price, sgc_price_html, sgc_format_price, sgc_is_purchasable, sgc_product_tabs, sgc_shop_query_args, sgc_product_base, sgc_category_base, sgc_tag_base, sgc_reviews_per_product, sgc_currencies |
| Cart and checkout | sgc_cart_items, sgc_cart_line_unit_price, sgc_cart_line_meta, sgc_cart_fees, sgc_checkout_fields, sgc_checkout_validation, sgc_checkout_create_order, sgc_short_billing_for_digital, sgc_customer_note, sgc_countries, sgc_states, sgc_postcode_valid |
| Orders | sgc_order_number, sgc_paid_statuses, sgc_payment_complete_status, sgc_cod_order_status, sgc_virtual_auto_complete, sgc_order_downloads_allowed, sgc_order_editable_statuses, sgc_order_item_stock_qty, sgc_order_line_meta, sgc_order_totals_rows, sgc_report_statuses |
| Subscriptions | sgc_subscription_product_terms, sgc_subscription_number, sgc_subscription_due_time (time of day of due dates, default 09:00), sgc_subscription_customer_can_cancel, sgc_legacy_shortcode_is_membership, sgc_checkout_requires_account, sgc_order_can_cancel, sgc_add_to_cart_text, sgc_variable_add_to_cart_text, sgc_email_preview_args |
| Coupons | sgc_coupon_is_valid, sgc_coupon_line_eligible |
| Tax and shipping | sgc_matched_tax_rates, sgc_shipping_rates, sgc_shipping_rate_{method} |
| Payments | sgc_available_gateways, sgc_gateway_available, sgc_stripe_session_params, sgc_paymongo_session_attributes, sgc_paypal_order_body, sgc_stripe_api_base, sgc_paymongo_api_base, sgc_paypal_api_base |
| Emails | sgc_email_subject, sgc_email_body, sgc_email_html |
| Other | sgc_download_method, sgc_link_guest_orders, sgc_page_id, sgc_endpoint_url, sgc_locate_template, sgc_breadcrumbs, sgc_log_retention_days, sgc_trust_proxy_ip, sgc_hide_admin_bar_for_customers, sgc_block_admin_for_customers, sgc_product_block_editor |
Constants for testing
SGC_PAYMONGO_API_BASE, SGC_STRIPE_API_BASE and SGC_PAYPAL_API_BASE point the gateways at a local mock server. Never define them on a live store.
Webhook address
https://your-store/wp-json/sysgage-commerce/v1/webhook/{gateway} where {gateway} is paymongo, stripe or paypal. The Create webhook button registers it for you.
22. Data storage and privacy
| Data | Where |
|---|---|
| Products and variations | Posts (sgc_product, sgc_variation) and post meta (_sgc_*) |
| Categories, tags, shipping classes, attributes | Taxonomies (sgc_product_cat, sgc_product_tag, sgc_shipping_class, sgc_pa_*) and wp_sgc_attributes |
| Orders, items, notes, refunds | wp_sgc_orders, wp_sgc_order_items, wp_sgc_order_notes, wp_sgc_refunds |
| Carts | wp_sgc_sessions (guest carts expire after 48 hours by default) |
| Coupons | wp_sgc_coupons, wp_sgc_coupon_uses |
| Tax and shipping | wp_sgc_tax_rates, wp_sgc_shipping_zones, wp_sgc_shipping_methods |
| Downloads | wp_sgc_downloads |
| Subscriptions | wp_sgc_subscriptions, wp_sgc_subscription_notes. Renewal invoices are normal orders linked to their subscription. |
| Logs and webhooks | wp_sgc_log, wp_sgc_events |
| Settings | The sgc_settings option |
Orders use their own tables, so a busy store does not slow down your posts table.
Privacy: the plugin adds a suggested privacy policy text and connects to WordPress's personal data export and erase tools. Subscriptions are included in personal data exports. On an erase request it can anonymise orders (and ended subscriptions) and remove download permissions (both optional, in Settings → Advanced). Cancelled orders can be deleted after a set number of days.
Uninstall: data is kept unless you turn on "Delete all data on uninstall" in Settings → Advanced.
23. Going live checklist
- Settings → General: store address, email, currency.
- Add products, or import a CSV.
- Settings → Tax: turn on and add rates if you charge VAT.
- Settings → Shipping: zones and methods for where you deliver.
- Settings → Payments: add live keys, click Test connection, then Create webhook for each online gateway.
- Make sure the site uses HTTPS (PayPal webhooks need it).
- Settings → Emails: logo and colours; send a test of each email you use. Install an SMTP plugin.
- Settings → Checkout and accounts: terms page and privacy text.
- Switch Settings → Payments to Live.
- Place a real low-value order with each gateway and refund it from the order screen.
- Tools → Status: everything green.
24. FAQ and known limitations
Does it import from WooCommerce? Export your products from WooCommerce as CSV, rename the columns to match the import columns and import. Orders and customers are not migrated.
Can I sell subscriptions? Yes, since 1.1. Renewals are paid by the client from an emailed invoice link with any payment method. Automatic card charging is planned for a later version.
Bookings, auctions, product add-ons, multi-vendor? Not included.
Multi-currency? One store currency. Gateways charge in that currency.
Which themes work? Block themes and classic themes. The plugin was tested with Twenty Twenty-Four.
Can I use page builders? Yes, through the shortcodes.
Is there a REST API for orders and products? Only the webhook endpoint in 1.0. Products are normal WordPress posts, so the standard WordPress REST API can read them.
Emails are not arriving. Open Settings → Emails → Email delivery. WordPress's default mail function is often blocked by hosts, and emails "From" a Gmail or Yahoo address sent by a website are often rejected or marked as spam. Install an SMTP plugin and use a From address on your own domain. Failed sends are noted, with the reason, on the order or subscription and in Tools → Logs.
