WordPress plugin profile

GlocalSaino Auctions Displayed by Shortcodes

Direct and reverse WordPress auctions via shortcode: real-time bidding, countdown timer, email notifications — no WooCommerce required.

Version1.4.0
Active installsNew
Rating0.0 / 5
Tested toWP 7.1

About this plugin

GlocalSaino Auctions Displayed by Shortcodes manages auctions through its own admin screen and a [glocalsaino_auction] shortcode that can be placed on any page or post — the description of the auctioned item does not need to live on a WooCommerce product page, or on any special page type at all. It supports two auction types: direct (the highest bid wins — for selling items) and reverse (the lowest offer wins — for sourcing services or quotes). Built on a clean MVC architecture, it delivers a full, entirely free auction experience for both administrators and visitors — no license key, no locked features, no usage caps. Features Auction management from the backend Dedicated Auctions admin screen (custom post type) with a metabox containing: Auction type — direct (highest bid wins) or reverse (lowest offer wins); locked once the first bid is placed. Starting price — minimum amount for direct auctions, maximum starting amount for reverse ones. Minimum step — smallest amount each bid must increase (direct) or decrease (reverse) compared to the previous one. Closing date and time — the system automatically schedules closing events and notifications. Optionally leave it unset by checking No closing date , so the auction runs indefinitely until you manually give it a closing date. Start date and time — optional; the auction displays as “Coming Soon” with a live countdown until it opens. Instant-close price — an optional buy-it-now price for direct auctions, or a direct-award floor price for reverse ones. Direct auctions close immediately once a bid meets or exceeds this price; reverse auctions close immediately once an offer matches it exactly (no offer is accepted below it). Public URL — the page where you place the shortcode, used as the link in emails and as the “View Auction” button target in the gallery shortcode. Featured image — upload a photo for the auctioned item using WordPress’s standard Featured Image box; shown in the gallery shortcode. Each auction shows its ready-to-use shortcode ( [glocalsaino_auction id="123"] ) directly in the edit screen and in the admin list, along with its type. Auction categories : an optional, hierarchical taxonomy for grouping auctions (e.g. “Furniture”, “Electronics”), manageable from Auctions → Categories . Use it to filter the gallery shortcode to a single category. Bid list in the administration menu with columns for amount, user, auction, and date. Shortcode — visitor experience Place [glocalsaino_auction id="123"] anywhere in the content of any page or post to display the auction box: Status badge (Active / Ended / Coming Soon). Closing date and time in the format configured in WordPress settings. Real-time countdown timer (DD:HH:MM:SS) calculated server-side to avoid clock drift. Current bid and highest bidder; starting price if no bids have been placed. Minimum increment indicator. A matching instant-close button (“Buy now for X” / “Direct award at X”) when an instant-close price is set. Bid form with server-side minimum amount validation. Bidders must be logged in. When time runs out, the form hides automatically and the badge switches to “Ended”. After a successful bid, the current bid updates without reloading the page. History of the last 10 bids with bidder name, amount, and date/time. Gallery shortcode Place [glocalsaino_auctions] on any page to display a responsive grid of all published auctions, each card showing: The auction’s featured image (or a neutral placeholder if none is set). Its status badge (Active / Ended / Coming Soon). A summary line — current bid or starting price, and the closing date (or “No closing date” for unlimited auctions). A “View Auction” button linking to the auction’s Public URL (the button is omitted if that field is empty). Optional attributes: category="slug" — show only auctions in one auction category (comma-separate multiple slugs to match any of them). limit="6" — cap the number of auctions shown (default: all). Example: [glocalsaino_auctions category="furniture" limit="8"] . Bank transfer payment instructions Configure your account holder name and IBAN under Auctions → Settings → Payment , and the “auction ended” email sent to the winner includes them automatically via the {payment_instructions} placeholder: Direct auctions — the winner owes you, so they see your bank details and any additional instructions you add (e.g. a payment deadline or a reference to include). Reverse auctions — it’s the other way round, you owe the winning bidder — so instead of showing your own IBAN, the email asks them to reply with their account details so you can arrange the transfer. Leave the account holder name or IBAN empty to skip this entirely for direct auctions. Every piece of wording used to present these details — the intro line, the “Account holder”/”IBAN”/”BIC”/”Bank” labels, and the reverse-auction request — can be reworded or translated under Auctions → Settings → Appearance → Text strings → Payment , the same as any other front-end text. Customisable appearance Everything under Auctions → Settings → Appearance , no CSS knowledge required: Colors — pick the auction box background, text color, accent color (current bid amount, links), and the bid/gallery button’s background and text color, using WordPress’s standard color picker. Text strings — reword any text shown on the front end: status badges, date/countdown labels, bid amount labels, the bid form, buttons and loading text, login/closed messages, the bid history, and the gallery — grouped into a table with the current default shown as each field’s placeholder. Leave a field empty to keep the default. Automated email notifications The plugin automatically sends the following emails: Bid confirmed → bidder : confirms the bid was accepted, shows the amount, closing date, and a link to the auction’s public page. Outbid → previous highest bidder : notifies the user they have been outbid and includes a link to bid again. New bid → admin : notifies the administrator of every received bid with the bidder’s name and a link to the auction. Reminder → all bidders and admin : sent automatically by WP-Cron before closing (lead time configurable); includes the current bid and closing date. Auction ended → winner : congratulation email with the winning bid amount. Auction ended → admin : summary with the winner’s name, email, and winning bid amount. If no bids were placed, the admin is still notified. Every email’s subject and body can be customised from the Settings page, in plain text or HTML (with a full WordPress visual editor), using placeholders for dynamic content: Placeholder Description {site_name} Website name {product_name} Auctioned item’s name {product_url} Auction’s public URL {bid_amount} Bid amount {bidder_name} Bidder name {winner_name} Winner name {winner_email} Winner email address {end_date} Auction closing date and time {payment_instructions} Bank transfer details, or a request for the winner’s own details on reverse auctions (see Payment settings) WP-Cron automation When a closing date is saved on the auction, the plugin automatically schedules: A reminder event before closing (lead time configurable, default 60 minutes). A closing event at the exact end time. If the closing date is updated, previous events are cancelled and rescheduled. Security Nonce verification on all AJAX requests and admin form submissions. Sanitisation and validation of all input data. Output escaped with esc_html , wp_kses_post and equivalent functions throughout all views. Minimum bid calculated and validated server-side, not only on the client. Prices in emails formatted with html_entity_decode to avoid visible HTML entities. Internationalisation Full i18n support; translations are loaded automatically by WordPress. Source strings are in English; the .pot translation template is included in the languages/ folder for translators and tools like Loco Translate. Text domain: glocalsaino-auctions-displayed-by-shortcodes . Architecture Clean MVC structure with clear separation of responsibilities: controllers/ — CPT/taxonomy registration, admin metabox, shortcode rendering, and AJAX bid handling. models/ — business logic (bid validation, notifications). views/ — PHP frontend templates rendered by the auction and gallery shortcodes. includes/ — static helper class and settings class. assets/ — CSS stylesheet and JavaScript. languages/ — .pot translation template. This plugin makes no calls to any external service. Every feature — including plugin updates — runs entirely through WordPress core and your own site. Usage Creating an auction Go to Auctions → Add Auction . Choose the auction type : direct (highest bid wins) or reverse (lowest offer wins). This cannot be changed once the first bid is placed. Fill in the fields: starting price, minimum step, and closing date/time. Optionally set a start date , an instant-close price , and the Public URL to the page where you’ll place the shortcode (used in emails). Publish the auction and copy the shortcode it displays. Paste the shortcode into any page or post describing the item or service. Reverse auctions Choose reverse as the auction type to run a “lowest offer wins” auction — useful for sourcing services or quotes. The starting price acts as a ceiling (the first offer must be at or below it), each subsequent offer must be strictly lower than the current best (respecting the minimum step), and an optional direct-award floor price closes the auction the moment it’s matched. Scheduled start In the auction’s metabox, fill in the Start date and time field. Leave it empty if you want the auction to begin immediately upon publishing. Instant close In the auction’s metabox, fill in the instant-close price field (labelled “buy-it-now” for direct auctions, “direct award” for reverse ones). Leave it empty to disable the feature. Categories and images Go to Auctions → Categories to create categories (e.g. “Furniture”, “Electronics”), then assign one or more to each auction from the Categories box on its edit screen — just like WordPress’s built-in post categories. Upload a photo for the auctioned item using the Featured Image box on the same edit screen; it’s used by the gallery shortcode. Gallery shortcode Place [glocalsaino_auctions] on any page to list every published auction as a card grid — image, status, a bid/price summary, and a button to the auction’s page. Add category="slug" to show only one category (or several, comma-separated), and limit="6" to cap how many are shown. Payment Go to Auctions → Settings → Payment and enter your account holder name and IBAN (BIC/SWIFT, bank name, and additional instructions are optional). This is only used for direct auctions, where the winner owes you — it’s included automatically in the “auction ended → winner” email via the {payment_instructions} placeholder. For reverse auctions, that same email instead asks the winning bidder to reply with their own bank details, since you’re the one who owes them. Appearance Go to Auctions → Settings → Appearance to restyle the plugin without editing any files: Use the color pickers to set the auction box background, text color, accent color, and button colors. Use the text strings table to reword anything shown on the front end — each field’s placeholder shows the current default; leave it empty to keep that default. General settings Go to Auctions → Settings to: Set the currency symbol and its position. Set the reminder email lead time in minutes. Switch between plain text and HTML email format. Customise the subject and body of each email template. Add custom CSS (Appearance tab). Viewing received bids Go to Auctions → Auction Bids to see all registered bids with amount, user, auction, and date information. Licence This plugin is distributed under the GPLv2 or later licence. More information: https://www.gnu.org/licenses/gpl-2.0.html