Skip to content

Settings & Tools โ€‹

Everything in Wholesale โ†’ Settings, then the reports, emails, text messages and scheduled tasks.

Wholesale settings

The top of the settings page: applications, coupons and promotions, never more than retail, who sees prices and the private store.


General โ€‹

SettingDefaultWhat it does
Accept applicationsOnShows the application form at /wholesale/apply and in My Account โ†’ Wholesale
Approve applications automaticallyOffOtherwise each application waits for you in Wholesale โ†’ Customers
No coupons on wholesale pricesOnWholesale customers cannot apply coupon codes
No automatic promotions on wholesale pricesOnBuy X get Y and other promotions do not apply to wholesale customers
Never charge more than retailOnWhen a retail sale is cheaper than the wholesale price, the wholesale customer pays the sale price
Show the savingOn"You save X%" under the price on product pages
Who sees pricesEveryoneEveryone, signed-in customers only, or wholesale customers only; see Prices
Private storeOffClose the storefront to everyone but signed-in or wholesale customers; see below
Minimum order countsEverything in the cartOr only items at a wholesale price, for a level's minimum order
PO number at checkoutOptionalOff, optional or required
Login pageWholesale LoginThe page holding the [falcon_wholesale_login] form; see Login & Portal
Price labelWholesale priceThe words next to a wholesale price ("Wholesale price ยท Dealer")
Email new applications toThe shop's new-order addressWho hears about a new application
Terms to acceptEmptyWhen filled, applicants must tick a box with this text
Quote requestsWholesale customersWho sees "Request a quote" in the cart: wholesale customers, any signed-in customer, or off

Private store โ€‹

OptionEffect
Off: the shop is open to everyoneA normal shop
Signed-in customers onlyGuests are sent to the wholesale login page
Approved wholesale customers onlyAnyone who is not an approved trade buyer is sent there

The login, application and My Account pages stay open, and so does the admin.


Credit accounts and invoices โ€‹

SettingDefaultWhat it does
Default days to pay30For customers buying on account without their own terms
Overdue accountsOnNo new orders on account while anything is overdue
Remind before due3 daysHow many days before a payment is due the customer is reminded. They are reminded again once it is overdue.
Your BIN / VAT numberEmptyPrinted on invoices and challans
Invoice footerEmptyPrinted at the bottom: bank details, terms, a thank-you

See Buying on account and Invoices.


Text messages (SMS) โ€‹

The plugin texts customers through any SMS provider that has an HTTP API, which covers almost all of them, including the Bangladeshi gateways.

SettingWhat it does
Send SMSOff, or Through my SMS provider (HTTP)
Provider URLFrom your provider's API page. Put {to} where the number goes and {message} where the text goes.
MethodGET (everything in the URL) or POST (form fields you list)
Country codePicked from a searchable list of every country. It is added to local numbers that start with 0: with Bangladesh (+880), 01711223344 becomes +8801711223344. Numbers written with + or 00 are sent as they are.
Send whenTick the events: account approved, order placed, payment received, payment due or overdue, quote ready
MessagesWhat each text says (below)

Messages. Each event has its own text. Start from a ready-made one, in English or Bangla (one click puts it in the box), and change it as you like. Placeholders such as {name}, {amount} and {balance} are filled in when it is sent, and a live count shows the characters and SMS parts. An empty box sends the built-in English text. Bangla texts fit 70 characters per SMS instead of 160, so they cost more.

Save the settings, then use Send a test SMS to check them. Staff can also text a customer by hand from the customer's screen (Send an SMS), with ready-made messages to pick from.


Sales reps โ€‹

Add a rep with a user's email and a commission percentage; see Sales reps.


Tools โ€‹

  • Create the login page โ€” makes the Wholesale Login page if it is missing, brings it back from the trash, or publishes it, and sets it as the login page. Its content is never changed.
  • Rebuild the price index โ€” the price filter and sort use what each level pays. The index updates by itself when you save a product, a category or a level, and every night. Rebuild it now if you changed retail prices in bulk (for example by import).

Reports โ€‹

Wholesale โ†’ Reports covers a period: the last 30 or 90 days, this month, this year, or dates you choose.

Wholesale reports

Revenue, orders, average order, share of all sales, what is owed and overdue, revenue by day, top customers and products, revenue by level, and customers who have gone quiet.

  • Wholesale revenue, orders, average order and share of all sales
  • Owed on account and overdue
  • Revenue by day and by level
  • Top customers (company members counted with their company), with a CSV download
  • Top products
  • Gone quiet โ€” customers with no order in 30, 60, 90 or 180 days
  • Sales reps โ€” orders, revenue and commission per rep

Cancelled, failed and refunded orders are left out.


Emails โ€‹

The plugin emails customers and staff when:

EmailTo
Application receivedYou (the address in Settings)
Application approved or rejected (with your reason)The applicant
Team invitationThe person invited to a company
Order needs approval / approved / declinedOwners and managers / the buyer
Quote readyThe customer
Payment due soon / overdueCredit customers
Reorder reminderWhoever set a reminder on a saved list
New order of a customerTheir sales rep

Every wholesale email uses one responsive layout with your shop email header image (or your logo, or your shop name), your theme's primary colour and the shop email footer text. A theme can override any of them under falcon-wholesale::emails.*.


Scheduled tasks โ€‹

These run through the Laravel scheduler, so the site's cron must call php artisan schedule:run every minute (see Scheduled Tasks).

CommandWhenWhat it does
falcon:wholesale-reindexDaily, 03:30Rebuilds the price index
falcon:wholesale-credit-remindersDaily, 09:00Emails (and texts) payments due soon and overdue
falcon:wholesale-list-remindersDaily, 09:15Sends saved-list reorder reminders that are due

Shortcodes โ€‹

ShortcodeWhat it shows
[falcon_wholesale_login]The wholesale login form; options title, redirect, apply="no"
[falcon_wholesale_apply]A link to the application form
[falcon_wholesale_only]โ€ฆ[/falcon_wholesale_only]Content for wholesale customers only; options message, login="yes"
[falcon_retail_only]โ€ฆ[/falcon_retail_only]Content hidden from wholesale customers

Released under the MIT License.