This manual describes the extension screen by screen, from first start-up to the developer hooks. Red boxes flag what surprises people or has consequences; grey boxes explain why something works the way it does.
Version 1.4.78.
1. Who this extension is for
Marly’s Auction turns a WooCommerce shop into a saleroom. A product becomes a lot:
starting price, bid steps, closing date. Bids arrive live, without the visitor reloading
the page.
It serves a charity auction just as well as a shop selling one-off pieces.
What it requires
- WordPress 6.9 or later, PHP 7.4 or later;
- WooCommerce 9.0 or later — the extension depends on it and does not
work on its own; - customer accounts: you cannot bid without being logged in.
What it does not do
It handles neither payment nor delivery of the lot: once an auction is won, the rest
happens in WooCommerce like any other order. Nor does it do reverse auctions or Dutch
auctions.
2. Installing and activating the licence
Installing
- Plugins → Add New → Upload Plugin.
- Choose the ZIP file you received, install, activate.
- An Enchères menu appears in the left column.
The two database tables (marlys_auction_bids and
marlys_auction_proxy_bids) are created on activation. If they are missing — an
activation can fail without saying so — the extension recreates them on the next load.
The licence
Menu Enchères → Gestion, licence box. Paste the key you received by
email (it looks like MLP-XXXX-XXXX-XXXX-XXXX) and activate.
Every key in the Marly’s range looks alike, and the email does not
always say which product yours belongs to. If activation is refused, read the message: it
names the product the key actually belongs to.
A licence covers one domain. Re-activating it on the same domain does
not consume another activation.
3. Free or professional
The free package and the professional package are two separate extensions. The limits below
are the ones written in the code, checked one by one.
| Free | Professional | |
|---|---|---|
| Auctions running at once | 10 | unlimited |
| Live table refresh | 30 s | 5 s |
| Lots followed per visitor (watchlist) | 3 | unlimited |
| Results history | 30 days | unlimited |
| CSV export and import | — | ✓ |
| Email customisation | — | ✓ |
| Statistics screen | — | ✓ |
| Publisher credit | shown, can be turned off | removed |
| Proxy bidding, anti-sniping, increments | ✓ | ✓ |
The publisher credit can be turned off even in the free
edition: it is a setting, not a constraint.
4. Creating an auction
An auction is a WooCommerce product of a particular type.
- Products → Add New, or from Enchères → Gestion → Ajouter une enchère.
- In the « Product data » box, choose the Auction type.
- An Auction tab appears: everything is set there.
The usual WooCommerce price is not used during the sale: the starting price
and the bids are what count. The final price is written in at closing.
5. Setting up an auction
The Auction tab of the product.
| Setting | What it does |
|---|---|
| Starting price | The floor. The first bid must reach it. |
| Reserve price | The amount below which you will not sell. Optional. It is never shown to the public: people only learn whether the reserve has been met. |
| Start date | Before it, the lot is visible but no one can bid. |
| End date | The close. It can be pushed back by anti-sniping (see below). |
| Bid increments | How much the next bid must exceed the previous one, by price bracket. |
| Proxy bidding | Allows or forbids the automatic bidding system. |
| Anti-sniping | Extends the sale if a bid lands just before the end. |
| Extension length | By how many minutes, when anti-sniping fires. 5 by default. |
The reserve does not prevent bidding: it prevents selling. If
it is not met at closing, the extension says so and tells the highest bidder the lot has
not been sold.
6. Bid increments
A €1 step on a €30 lot is sensible; on a €3,000 lot it is absurd. Increments make the
step vary with the price reached.
Each bracket carries three values: from, to and the
increment. A common set:
| From | To | Increment |
|---|---|---|
| €0 | €100 | €5 |
| €100 | €500 | €10 |
| €500 | — | €25 |
A bracket with an empty upper bound means « and above ». If no bracket
matches the price reached, the last one applies — never the default. And
if you define no brackets at all, the increment is 1.00.
7. Proxy bidding
A bidder declares the maximum they are willing to pay. The system bids
on their behalf, step by step, never exceeding that maximum and never going higher than
needed to take the lead back.
Exactly how it works
- Someone places an ordinary bid.
- The extension looks for the highest active proxy belonging to someone
else. - If that maximum exceeds the bid received, the proxy answers at once: new bid = bid
received + the bracket increment, capped at the declared maximum. - On equal maximums, the proxy placed first wins.
A proxy cannot outbid itself: the bid it has just placed does not trigger
its own reply. That is what prevents the loop.
A proxy’s maximum is never visible to the public. Only the bid
actually placed is.
8. Anti-sniping
Sniping is the bid dropped in the last seconds so that nobody has time to
answer. Anti-sniping answers it by pushing the close back.
The exact rule: if a bid arrives while less than the
extension length remains, the end date is pushed back by that length. With the default of
5 minutes: a bid 3 minutes from the end pushes the close by 5 minutes; a bid 8 minutes from
the end changes nothing.
There is no limit to the number of extensions: as long as bids fall inside
the window, the sale continues. That is intended — a sale ends when nobody bids any more,
not when the clock says so.
9. Why a bid is refused
| Reason | What happened |
|---|---|
| Not logged in | An account is needed. That is what makes it possible to know who won and to tell them. |
| Auction not active | The sale has not started, or it is over. |
| Bid too low | It does not reach the current price plus the bracket increment. The message states the exact minimum. |
| Already leading | You do not outbid yourself. To go higher, use proxy bidding. |
Two simultaneous bids on the same lot are serialised by a
database lock: without it, in the final seconds, two identical bids can both pass
validation and both be accepted at the same amount.
10. The Management screen
Menu Enchères → Gestion. This is the sales dashboard.
- The list of every auction, with the current price, the number of bids and the time
left. - Filters: running, ended, not started,
and by product category. - Inline editing: fix a date or a price without opening the product.
Three actions worth knowing
| Action | What it really does |
|---|---|
| Force close | Ends the sale immediately: names the winner, writes the final price, records whether the reserve was met, and sends the emails. |
| Repair | Recalculates the winner, the final price and the reserve state of an already-ended sale, and marks it closed. Sends no email. For when a close went wrong. |
| Resend emails | Replays the end-of-sale mailing for an auction already closed. |
« Repair » and « Force close » look alike but do not do the same thing:
the first is silent, the second writes to your customers. Faced with an ended sale whose
data is wrong, you want Repair — otherwise everyone gets a second closing
email.
11. Editing several auctions at once
Tick several auctions, then « Edit selection ». In one go you can change:
- the start date and the end date;
- a shift in days, which moves start and end — handy when a
whole sale is postponed by a week; - the starting price, the reserve price;
- proxy bidding (on / off);
- anti-sniping and its extension length.
Only the fields you fill in are changed. Leaving a box
empty means leaving it alone — not resetting it.
12. Importing and exporting CSV
The template
The CSV template button downloads a sample file with every column and
two filled-in rows. It is the safe way to learn the expected format.
The columns, in order:
Titre ; Description ; Categorie ; Prix depart ; Prix reserve ; Date debut ;
Date fin ; Encheres auto ; Anti-sniping ; Duree prolongation (min) ; Increment 0-100 ;
Increment 100-500 ; Increment 500+ ; Image URL
Three format traps, all three checked against the template:
- the separator is the semicolon, not the comma;
- dates are written DD/MM/YYYY HH:MM — for example
15/04/2025 21:30; - « Encheres auto » and « Anti-sniping » expect oui or
non.
The Categorie column takes a product category name; it is created if it
does not exist. Image URL accepts an image address: it is downloaded and
set as the lot’s image.
Exporting
The Export CSV button outputs the current list, filters included. That
is what you take away for the printed catalogue or for the accounts.
13. Closing and emails
Closing
A scheduled task runs every minute and closes sales whose end date has
passed. It names the winner, writes the final price and records whether the reserve was
met.
If WP-Cron is disabled on your site, nothing closes by
itself. Your host must then call wp-cron.php at regular intervals —
otherwise sales stay open past their end date.
The four emails
| Message | When |
|---|---|
| Outbid | As soon as a bidder loses the lead, they are told. |
| Winner | At closing, if the reserve was met. |
| Reserve not met | At closing, to the highest bidder, when the lot is not sold. |
| Losers | At closing, to the other participants. |
A marker records that a sale’s emails have gone out, with their date. That
is what stops a second close from resending them — and why « Resend emails » exists as a
deliberate gesture.
14. Customising the emails
Menu Enchères → Paramètres Emails.
- Sender name and address.
- Logo: an image address, shown at the top of every message.
- Primary colour and background colour.
- Footer text: legal notices, contact details.
- IBAN: written into the winner’s message, so they can pay without
writing to you.
The wording of each message can be edited separately.
Check that the sender address really belongs to your domain. An
address borrowed from another domain ends up in spam, and you only find out through the
customers who complain they received nothing.
15. The product page layout
Menu Enchères → Layout. Six presentations of the auction block on the
product page:
| Layout | What for |
|---|---|
| Default | The classic, complete presentation. |
| Compact | Tightened up, for an already busy page. |
| Modern Card | As a card, set apart from the rest of the page. |
| Split Columns | Two columns: the information on one side, the bid on the other. |
| Minimal | The bare minimum: price, time left, button. |
| Countdown Focus | The countdown front and centre. |
The choice applies to every auction on the site, not lot by
lot.
16. Shortcodes
Menu Enchères → Shortcodes lists them with their parameters.
The live bid table
— every running sale, updated without
Enchère
Enchère actuelle
Dernière enchère
Il y a
Enchérisseur
Action
Chargement des enchères...
reloading.
| Parameter | Effect | Default |
|---|---|---|
refresh_interval |
Refresh delay, in milliseconds. | 3000 |
sort_by |
How the table is sorted. | last_bid |
Lowering the delay a great deal multiplies requests to the server. On shared
hosting, stay above 3 seconds.
Results
— ended sales, most recent first.
| Parameter | Effect | Default |
|---|---|---|
limit |
How many lots to show. | 20 |
category |
A specific product category. | all |
order |
DESC or ASC, by end date. |
DESC |
The watchlist
Veuillez vous connecter pour voir votre watchlist. — the logged-in visitor’s « auctions I follow » page.
See the next section.
17. The watchlist
A logged-in visitor can follow a lot without bidding. The shortcode Veuillez vous connecter pour voir votre watchlist.
gives them their personal page.
It displays as tiles or as a list, at the visitor’s
choice, and shows for each lot: the starting price, the current price, the number of bids,
the highest bidder — marked You when it is them — the state of the reserve,
and the time left.
A lot nearing its end is marked Ending soon.
From that page they can bid directly or drop the lot from their list.
18. Statistics
Menu Enchères → Statistiques. An overview of activity: participation,
amounts, breakdown by status.
This screen needs an active PRO licence. Without one it says what it would
show instead of showing figures.
19. When something goes wrong
Auctions do not close on time
Closing relies on a scheduled task that runs every minute. If WP-Cron is disabled, it
never runs. Have your host call wp-cron.php, or use Force close
in the meantime.
An ended sale shows the wrong winner or the wrong price
Use Repair: it recalculates everything from the bids actually recorded.
It sends no email — which is exactly what you want here.
« You are already the highest bidder »
That is not a fault. You do not outbid yourself. To raise your ceiling, use proxy
bidding.
The emails do not go out
Check the sender address under Paramètres Emails: it must belong to your
domain. Then check the sale really is marked closed — the closing emails hang on the close,
not on the date.
The CSV import creates nothing
Ninety times out of a hundred it is the separator: the file must use the
semicolon. Then check the date format (DD/MM/YYYY HH:MM).
Start again from the template if in doubt.
An auction extends endlessly
That is anti-sniping working: every bid in the final window pushes the close back. If you
do not want that, lower the extension length or turn anti-sniping off for that lot.
20. Going further
The tables
| Table | What it holds |
|---|---|
{prefix}marlys_auction_bids |
Every bid: lot, user, amount, date, status, proxy flag. |
{prefix}marlys_auction_proxy_bids |
Proxy bids: lot, user, maximum, current bid, status. |
A lot’s settings
They live as product meta: _auction_start_price,
_auction_reserve_price, _auction_start_date,
_auction_end_date, _auction_current_bid,
_auction_increments, _auction_enable_proxy,
_auction_extend_on_bid, _auction_extend_duration,
_auction_status, _auction_closed,
_auction_winner_id, _auction_final_price,
_auction_reserve_met.
The hooks
| Action | Arguments | When |
|---|---|---|
marlys_auction_bid_placed |
lot id, bidder id, amount | On every accepted bid, proxy bids included. |
marlys_auction_ended |
lot id, winner id, final amount, reserve met | When a sale closes. |
marlys_auction_check_ended |
— | The scheduled task, every minute. |
Example: notifying an external system at closing
add_action( 'marlys_auction_ended', function ( $product_id, $winner_id, $amount, $reserve_met ) {
if ( ! $reserve_met ) {
return; // Lot unsold: nothing to pass on.
}
// Calling your invoicing or tracking tool is up to you.
}, 10, 4 );