WooCommerce Simple Auctions

Last updated: 13th Dec 2017.

Thank you for purchasing our plugin. If you have any questions that are beyond the scope of this help file, please feel free to email via contact form here. Have fun!

Change Log

Warning:

Always backup WordPress database and files before updating to latest version, just in case!

Note:

If you override default and use custom templates in your_theme/woocommerce/ you need to make sure that templates are updated with those in plugin_dir/templates/ - otherwise some new features like sealed auctions and new sorting options might not show up on the site.


** Version 1.2.21 **
- Fix: Minor language change
- Fix: Ajax header bug
- Fix: Outbid message on reverse proxy auction
- Fix: Text string for minimum bid on reverse auction
- Fix: Set new minimum bid bug
- Fix: Ending soonest wiget now doesn't show auctions that
- Add: Option to show or hide future auctions in ending soon widget and shortcode
- Fix: Auction activity page sorting bug
- Fix: Showing only published posts in my_auctions_activity shortcode
- Fix: Auction activity sorting proxy problem

** Version 1.2.20 **
- Fix: Future auctions bug

** Version 1.2.19 **
- Fix: Problem with woocommerce_simple_auctions_before_place_bid_filter filter

** Version 1.2.18 **
- Fix: Changed admin dashboard widget
- Add: Auction closing soon reminder emails
- Fix: Changed {blog_name} to {site_title} in emails
- Fix: Changed ajax call
- Fix: Remove finished or future auctions from related products based on auctions settings
- Add: setting "Ajax bid check only when browser in focus" which allows you to have live bid checking on browser focus
    (easy on server) or on permanently (hard on resources)
- Fix: Win email template bug

** Version 1.2.17 **
- Fix: Auction activity URI Too Large error
- Fix: Auction activity search by auction title
- Fix: Ajax bid check notice when price is not set
- Fix: Reverse sealed auction bug

** Version 1.2.16 **
- Add: Select date range for backend auction activity list
- Add: Option to use compact countdown
- Add: Improvements in ajax bid check
- Fix: Bug in featured auction shortcode
- Fix: Bug in my auction history shortcode
- Fix: Sort by auction activity bug
- Fix: Sort by current bid decimal bug

** Version 1.2.15 **
- Fix: Order status in auction history admin area
- Fix: Formating date on auction history tab by WordPress setings
- Fix: Bug when auction base page is home conflict with custom rewrite rules
- Fix: Bug with auction appearing in my auctions list when auction is relisted
- Fix: When order was refunded or canceled item is marked as not paid
- Add: Added remove pay functionality for reverse auctions
- Fix: Bug with sorting auction by end and start time not using timezone set on the blog's General Settings page
- Fix: Bug when duplicating product not copying meta fields
- Fix: Stock status not changing when relist
- Fix: remove_auctions_from_woocommerce_product_query filter bug

** Version 1.2.14 **
- Fix: Problem with auction price on checkout if you have set buy now price

** Version 1.2.13 **
- Fix: Featured auctions shortcode bug
- Fix: Auctions shortcode bug

** Version 1.2.12 **
- Fix: missing auction-history.php tab template

** Version 1.2.11 **
- Fix: Featured widget bug
- Fix: Automatic relist checkbox bug
- Fix: Check for minimal PHP and WordPress versions to avoid fatal errors on activating plugin in unsupported environment

** Version 1.2.10 **
- Fix: Changed language string from "Your bid has been outbidded" to "Someone placed higher bid. Try again!"
- Fix: Buy now bug
- Add: New filter remove_auctions_from_woocommerce_product_query

** Version 1.2.9 **
- Fix: Auto relist bug
- Fix: Checkout bug

** Version 1.2.8 **
- Fix: WordPress language folder
- Fix: Auctions not showing on base page WC >= 3.0.0
- Add: setting to enable / disable sealed auctions sitewide (performance optimization)

** Version 1.2.7 **
- Fix: Problem with ajax checking for bids
- Fix: Proxy bidding bug

** Version 1.2.6 **
- Fix: WooCommerce > 3.0.0 compatibility
- Fix: WP SEO
- Fix: Limiting default maximum value for single bid to 999999999999.99 because of php float limitation
- Add: Added new filters and hooks

** Version 1.2.5 **
- Add: Filter simple_auction_type
- Add: Small modifications in admin interface
- Fix: Bug in checking if auctions is on user watchlist
- Fix: Bug in dropdown sorting menu showing auction sort options on shop page when mixing of regular products and auctions is not enabled

** Version 1.2.4 **
- Fix: Bug when bid value has more than 2 decimals
- Fix: Typos
- Fix: Winning badge removing with ajax
- Fix: Checkout bug when "Allow Buy It Now after bidding has started" option is turned off
- Fix: Bug with auction activity page

** Version 1.2.3 **
- Fix: Bug when sending finished mail notification to admin after auction has failed
- Fix: Issue with page title on auction base page
- Fix: Issue with wpml language switcher
- Add: Option to hide buy now button after first bid was placed
- Add: Option to have start price (min/max) for sealed bid auctions

** Version 1.2.2 **
- Fix: Bug with showing auctions when "Shop Page Display: Show categories" is selected
- Fix: Sorting select dropdown bug

** Version 1.2.1 **
- Fix: Bug when saving auction

** Version 1.2 **
+ Add: Ability to create Sealed Bid (silent) Auctions
+ Add: Better auction sorting feature (available in WordPress 4.2 and higher)
+ Add: Ajax now refreshing Auction History tab on single product page
+ Add: New shortcode [past_auctions]
- Fix: Recently viewed auctions widget bug
- Fix: Future auctions widget title bug
- Fix: Bug with Wp_Meta_Query
- Fix: unnecessary email notification when user outbid itself

** Version 1.1.38 **
- Fix: Proxy auctions - new max bid cannot be smaller than old max bid
- Add: Disable / enable sending customer "bid notification"
email for proxy (auto) bidding
- Fix: Pagination bug on archive page

** Version 1.1.37 **
- Fix: Language issues and typos
- Fix: Bug fixes for shortcodes auctions_watchlist, my_auctions_activity, woocommerce_simple_auctions_my_auctions
- Fix: Paging bug when auction base page is home page
- Fix: Added function wc_get_price_decimals() for support wcommerce 2.1.x and 2.2.x versions

** Version 1.1.36 **
- Fix: Bug with limiting maximum value for single bid

** Version 1.1.35 **
- Fix: Problem with fatal error on plugin activation

** Version 1.1.34 **
- Fix: Database problem for long bid values
- Fix: Auction filtering bug in wp-admin
- Fix: Sale badge not showing after updating max price
+ Add: Option to limit maximum value for single bid

** Version 1.1.33 **
- Fix: Deleting bids in admin
- Fix: Fixed double quote in class-wc-product-auction.php, again :(
+ Add: Removing reserve price after auction is closed

** Version 1.1.32 **
- Fix: Ignore cron relist message bug
- Fix: fixed double quote in class-wc-product-auction.php
+ Add: Watchlist feature, shortcode [auctions_watchlist], widget
+ Add: [my_auctions_activity] shortcode

** Version 1.1.31 **
- Fix: Removed auction history and relist metaboxes for non auction products
- Fix: Ajax refresh reserve met text
+ Add: Added {current_bidder} tag to bid email notification to admin when user(s) place a bid

** Version 1.1.30 **
- Fix: Log problem with current and max bid
- Fix: Added default sorting by date for auction base page

** Version 1.1.29 **
- Fix: Proxy bid bug

** Version 1.1.28 **
- Fix: Buy now button in Woocommerce 2.5
- Fix: Duplicating auction icon bug
- Fix: Comma separated reserve price bug
+ Add: Future auction widget and shortcode
+ Add: New email template, mails to customer when customer places bid (confirmation email)

** Version 1.1.27 **
- Fix: Problem with maxbid on poxy auctions when user is alowed to outbid himself
- Fix: translating strings "From…" , "To…"

** Version 1.1.26 **
- Fix: changed ajaxurl variable

** Version 1.1.25 **
+ Add: Option to allow highest bidder to outbid himself
- Fix: changed method for metaboxes so users can remove them
- Fix: Some small typos

** Version 1.1.24 **
- Fix: Problem when searching auction frontend
- Fix: Problem with filtering past auctions

** Version 1.1.23 **
- Fix: Problem with future auctions counter in widget
- Fix: Show max bid in proxy auction when user is outbidded

** Version 1.1.22 **
- Fix: Auction winning badge check on ajax response
- Fix: Current bid refresh bug
- Fix: Ajax finish auction bug

** Version 1.1.21 **
- Fix: Buy now button appears even if bid is bigger than buy now price
- Fix: Non standard thousand and decimal separator bid problem

** Version 1.1.20 **
+ Add: Added parametar show_buy_it_now='true' for shortcode [woocommerce_simple_auctions_my_auctions]
- Fix: Improved plugin show/hide future and past auctions queries
- Fix: Non standard thousand and decimal separator problem

** Version 1.1.19 **
- Fix: Bug in [woocommerce_simple_auctions_my_auctions] short code not showing active auctions

** Version 1.1.18 **
- Fix: Improved plugin queries
- Fix: Modified capability role for view auction activity to manage_woocommerce
- Fix: Ajax interval bug and optimization for WC >= 2.4
- Fix: Table prefix bug when viewing auction activity in WP backend
- Fix: Rounding bug if bid value is between 0.00 and 1.00
+ Add: Added [vendor] tag for sending mail to auction author/vendor on auction_fail,
auction_finished, auction_relist, bid_note emails - useful with multivendor
plugins like WC Vendors or if you want to send email to auction author or
owner in case of multivendor site

** Version 1.1.17 **
- Fix: Compatibility with WP 4.3
- Fix: Auction activity on MU sites bug
- Fix: Delete first bid but not deleting max bid bug

** Version 1.1.16 **
- Fix: Widget ending_soon_auctions bug
- Fix: Improvements on ajax checking for bids
+ Add: Automatic relist

** Version 1.1.15 **
- Fix: Shortcode ending_soon_auctions bug
- Fix: Localization bug

** Version 1.1.14 **
- Fix: Proxy bid bug

** Version 1.1.13 **
- Fix: Compatibility with wpmandrill
- Fix: Fixing add_query_arg() and remove_query_arg() usage

** Version 1.1.12 **
+ Add: Relist auction

** Version 1.1.11 **
- Fix: Fix functions missing bug

** Version 1.1.10 **
- Fix: Logging mysql date instead of current wordpress date for auction history
- Fix: Bug in loop pay now button
+ Add: Option to filter auctions from product search page
+ Add: Auction search widget
+ Add: Auction activity page

** Version 1.1.9 **
- Fix: Pay auction link
- Fix: Product Quantity Plus and Minus signs not showing

** Version 1.1.8 **
- Fix: Problem with sending mail on different language
- Fix: Problem with cronjob

** Version 1.1.7 **
- Fix: Problem with sending mail on Woocommerce > 2.3

** Version 1.1.6 **
- Fix: Problem with stock when saving post
+ Add: Shortcode for ending soon auctions

** Version 1.1.5 **
- Fix: Problem with showing auction finish email template

** Version 1.1.4 **
- Fix: Filtering auctions from pages
- Fix: My auction shortcode and widget bug

** Version 1.1.3 **
- Fix: Wait interval days to send reminder to pay mail
- Fix: Small typos
- Fix: Counter message when auction has started
+ Add: Added no-products-found template for shortcodes

** Version 1.1.2 **
- Fix: Spelling errors
- Fix: Bugs with WPML

** Version 1.1.1 **
- Fix: Live checks bug for non logged user

** Version 1.1.0 **
+ Add: Live checks on auction bids
+ Add: Showing current max bidder to admin and to current max bid user
+ Add: WordPress 4.0 and WooCommerce 2.2 ready
- Fix: files cleanup

** Version 1.0.25 **
- Fix: Send reminders mail cron bug

** Version 1.0.24 **
- Fix: Turn off proxy bidding bug
- Fix: WPML compatibility
- Fix: Showing mutiple products bug

** Version 1.0.23 **
- Fix: Problems with currency symbol positioning
- Fix: Problems with virtual and download checkboxes

** Version 1.0.22 **
+ Add: Turn on / off admin email notification for every bid placed by user(s)

** Version 1.0.21 **
- Fix: Proxy auction bug

** Version 1.0.20 **
+ Add: Hook woocommerce_product_options_auction

** Version 1.0.19 **
+ Add: Filter auction in backend

** Version 1.0.18 **
- Fix: Problem with cronjob

** Version 1.0.17 **
- Fix: Problem when activating on a multi-site installation of WordPress

** Version 1.0.16 **
- Fix: Problem with out of stock bug

** Version 1.0.15 **
- Fix: Problem with filtering date timezone

** Version 1.0.14 **
+ Add: Filter for item condition (simple_auction_item_condition)
- Fix: Format date with wordpress settings

** Version 1.0.13 **
- Fix: Language typo
- Fix: Optimized sql query
- Fix: Html number element (now gets theme styling, no more modernizr workaround!)

** Version 1.0.12 **
- Fix: Problem same max bid in proxy mode

** Version 1.0.11 **
- Fix: Problem with decimal bidding

** Version 1.0.10 **
- Fix: Problem with proxy bidding setting max price

** Version 1.0.9 **
- Fix: Problem with loading languages files

** Version 1.0.8 **
- Fix: Problem with price on regular products

** Version 1.0.7 **
+ Add: Send mail to admin when auction is finished

** Version 1.0.6 **
+ Add: Do not show auctions on product category page option
+ Add: Do not show auctions on product tag page option
- Fix: Email templates path

** Version 1.0.5 **
- Fix: Starting bid bug
- Fix: Product copying bug

** Version 1.0.4 **
+ Add: Manually delete any bid

** Version 1.0.3 **
- Fix: Problem with checkout
- Fix: Problem with table prefix
- Fix: Problems with reserve price
- Fix: Displaying timezone in UTC format
- Fix: Language (thanx to artsmart)

** Version 1.0.2 **
- Fix: saving decimal bid to log
- Fix: problems with translations

** Version 1.0.1 **
+ Add: support for woocommerce > 2.1
- Fix: couple minor bugs

** Version 1.0.0 **
- Initial release

Overview and Features

WooCommerce Simple Auctions

WooCommerce Simple Auctions is a plugin for a plugin :) Since WooCommerce is popular we decided that it would be neat to extend it with auction features. We wanted to make it easy to use but also to include all auction features so you get a powerful auction solution which is easily setup and customized.

With our auction plugin you can setup WordPress auction website and start auctions in less than 30 minutes (assuming you have payment processor account ready). Plugin integrates seamlessly with WooCommerce and no special knowledge is needed (same level like for standard WooCommerce usage).

Overview and Features

  • Seamless integration into WooCommerce via its hooks
  • You get new type of WooCommerce product type - auction
  • Normal, reverse and sealed (silent) auctions
  • Proxy / auto bidding (learn more about auto bidding here)
  • Define start price, price increment, reserve price, buy it now price
  • Set start and end time for auction
  • User's auction watchlist
  • Easily control how you want to display auctions - along with other items or on separate page
  • Widgets with ending soon, future, latest, featured, recently viewed, my auctions and random auctions
  • Email notifications (with editable email templates) for outbid note, auction won, payment reminder, auction fail, reserve fail, auction buy now, auction finish, administrator bid notification (bid not), customer bid notification, auction relist admin notice, auction relist user notice, auctions ending soon notification (two timers available)
  • Auction product has auction icon (label) on thumbnail
  • If user is logged in and winning in auction, auction item has winning badge on thumbnail
  • Product single page has new tab "Auction History"
  • User has "My auctions" option where auctions in which user placed a bid are listed (for both active and won auctions)
  • Auction activity (shortcode), auction watchlist feature (shortcode and widget)
  • Auction filtering in product list (wp-admin)
  • Auction product has icon which describes different auction status: active, finished, finished and paid, failed (wp-admin)
  • Plenty of shortcodes including shortcode to show my auctions for logged in user
  • Make auction from any type of Woocommerce product - simple, virtual or downloadable products
  • Manually delete any bid
  • Frontend auction sorting by current bid, date, buy now price, activity, ending date (ending soonest), start date (recently started) - available in WordPress 4.2 and higher
  • Manually or automatically relist auctions
  • Ajax live current bid and auction history updating
  • Compact or extended countdown format
  • WPML compatible

Installation

Source: https://codex.wordpress.org/Managing_Plugins#Installing_Plugins

Note:

Make sure to install WooCommerce before you activate WooCommerce Simple Auctions plugin.

You can install plugin via WordPress "Add New" plugin - to do that download "Installable WordPress files only", click add new and that's it. In case you do not have permissions to upload to plugins/ directory you will need FTP login info.

screenshot

Alternative setup. After downloading WooCommerce Simple Auctions plugin, extract plugin zip and upload it to your plugins directory - wp-content/plugins/ folder of your Wordpress installation. Since this is extension for WooCommerce you need to install WooCommerce before activating the plugin. WooCommerce plugin which can be downloaded here.

If you need help installing Wordpress see the link here: http://codex.wordpress.org/Installing_WordPress>

Note:

Once you installed and activated WooCommerce go to WooCommerce > System Status and make sure that you don't have red colored errors (specially for WP memory limit). Make sure to enable inventory management in WooCommerce!

WooCommerce Simple Auctions plugin uses cronjobs and you have to setup two cronjobs (mails and check) others are optional (auto relist and ending / closing soon notification):

  • once a day: /usr/local/bin/curl --silent http://www.your-domain.com/?auction-cron=mails
  • every minute: /usr/local/bin/curl --silent http://www.your-domain.com/?auction-cron=check
  • every hour: /usr/local/bin/curl --silent http://www.your-domain.com/?auction-cron=relist
  • every 30 mins: /usr/local/bin/curl --silent http://www.your-domain.com/?auction-cron=closing-soon-emails

Here is screenshot of cronjobs page and setup in DirectAdmin control panel

screenshot

Here is screenshot of cronjobs page and setup in cPanel control panel

screenshot

More details about cronjobs can be found by googling "how to add cronjob in cPanel / DirectAdmin". If you don't know how to add cronjob the best and the easiest way is to email your hosting support to do it for you (purpose of hosting support are tasks like helping you with cronjobs, our support helps you with plugin issues - cronjobs are hosting related problem / issue).

Note:

If your hosting company does not support one minute cronjobs we suggest that you move your website to more serious hosting company or use service like EasyCron.

Our plugin is meant to be used as ecommerce solution which will earn money so we suggest you to invest in proper hosting (which at least supports one minute cronjobs).

Install WooCommerce Sample Data:

Source: https://docs.woocommerce.com/document/importing-woocommerce-dummy-data/

WooCommerce comes with sample data which you can import, dummy data file is /wp-content/plugins/woocommerce/dummy_data.xml Steps to import demo data to your WordPress WooCommerce site:

  1. Go to Tools > Import
  2. Select XML dummy content file from /wp-content/plugins/woocommerce/dummy_data.xml
  3. Click Upload file and import
  4. Assign posts to an exitsting account
  5. Check Download and import file attachments
  6. Click Submit and wait until WordPress finish downloading attachments and importing content

Warning:

Importing dummy data can take some time, specially on slow Internet connections. Be patient and do not close or refresh browser tab until import operation is completed.

Quick Auction Setup

Setting up new group buy is easy:

  • make sure all steps from Installation are done (WooCommerce installed, plugin enabled, cronjobs set)
  • go to Products => Add Products
  • add title, description, images, featured image, select category - all things you do when adding regular product
  • in Product Data dropdown menu select Auction
  • you will see new tab in left menu named Auction, see screenshot:
    screenshot
  • fill all details (they are self explainable)
  • set auction duration by setting start and end date
  • publish product (auction)

When you refresh your home page you should see new product with auction badge.

screenshot

Advanced usage usually means setting up proxy bidding (auto bidding) and reverse auctions (for example you post a coding project and want to get lowest possible price for it). If you set reserve price for proxy auction, first proxy bid will be automatically raised to that (reserve price) value.

If you enabled "Sealed Bid" checkbox, you will not see "Current Bid" value but text message "This is sealed bid auction".

Changes in WooCommerce

After you activate WooCommerce Group Buy plugin couple new options will appear:

  1. WooCommerce product has new tab in Product data block called Auction
  2. Product list has column with auction status icons
  3. Product list filter has auction filtering
  4. Single product page in wp-admin has new block named "Auction" where you can see auction history and number of different email notifications sent
  5. Orders list has column with auction icon to easily see which order is from auction
  6. WooCommerce settings have new tab called Auctions
  7. WooCommerce email settings have new items: outbid note, auction won, payment reminder, auction fail, reserve fail, auction buy now, auction finish, administrator bid notification (bid not), customer bid notification, auction relist admin notice, auction relist user notice, auction closing soon email reminder
  8. New widgets: future auctions, ending soon auctions, featured auctions, latest auctions, recently viewed auctions, my auctions, recent auctions, random auctions, search for auctions only, my auction watchlist
  9. WooCommerce front end has new sorting types for auctions (sort by buy now price, current bid, by ending soonest, by start date and activity)
  10. New shortcodes

Auctions listed along WooCommerce products on home page:

screenshot

New WooCommerce product type auction:

screenshot

Plugin Options

Here are settings that you can turn on and off. Settings are self explainable. You can enable or disable showing past and future auctions. Another useful setting is whether to mix regular products with auctions or just show auctions on separate page (defined via Auctions Base Page dropdown, see screenshot).

screenshot

On screenshot below you can see how product list with auctions looks like. Auction status icons are explained on the screenshot.

screenshot

On screenshot below you can see how to enable live ajax updating of current bid price (feature introduced in version 1.1.x). To minize number of requests, ajax request is done only if you have bid tab in focus otherwise ajax is not running. This is done like this to make it easy on server and hosting resources.

screenshot

Note:

Once auction is closed (or finished) you can relist auction again. Also if someone does not pay for auction you have ability to relist auction.

screenshot

Automatic relist feature is available from v1.1.16. It enables you to automatically relist expired / finished / failed auctions if user still has not paid for won auction. You need to setup cronjob /usr/local/bin/curl --silent http://www.your-domain.com/?auction-cron=relist every hour.

screenshot

Note:

Automatic relist feature requires cronjob to work properly. Feature is introduced in version v1.1.16, so make sure to have that version installed.

Simple Auction plugin supports bids up to 4 decimal places (for example $0.0001) but in order to work properly you need to set under WooCommerce Settings -> Currency Options -> Number of Decimals to 4.

Plugin has option to overview complete auction activity from wp-admin, you need to click on Auctions Activity link inside WooCommerce menu in wp-admin and you will get list with all auction data. See screenshot below.

screenshot

Auction Closing Soon Email Reminder

From version v1.2.18 new feature "Auction closing soon email reminder" is availabe. This allows users who placed a bid or added auction to whishlist to get email notification that auction is closing soon. There are two timers which enable you to send for example email reminder when 1hr and 30 mins is left till auction closing. You can use one or both timers.

Note:

For this option to work you will need one more cronjob, command is:

/usr/local/bin/curl --silent http://www.your-domain.com/?auction-cron=closing-soon-emails

and needs to run every 30 minutes.

Here is screenshot:

screenshot

Custom Templating

If you need to customize plugin templates first thing to do is to copy content of plugin_dir/templates to your_theme/woocommerce so you do not overwrite changes when you update plugin. All changes and modifications should be done on files located in your_theme/woocommerce/.

How templates are loaded?

Function auctions_page_template() first checks if you have your own archive-product-auctions.php template and loads it. If it doesn't find that template plugin loads default Woocommerce archive-product.php template.

What is archive-product-auctions.php file? It is default auction archive template (template with list of all auctions similar as shop template in WooCommerce) \woocommerce\templates\archive-product.php or \your_theme\woocommerce\archive-product.php - in order to create custom archive page for our plugin just copy \woocommerce\templates\archive-product.php or \your_theme\woocommerce\archive-product.php and renamed it to archive-product-auctions.php then you can make your custom archive page / template which will be loaded by Simple Auction plugin.

Shortcodes

Here is a list of all available plugin shortcodes. Some shortcodes accept optional orderby and order attributes.

  • auction watchlist - [auctions_watchlist]
  • my auctions activity - [my_auctions_activity] shows activity in all auctions that user placed a bid
  • show ending soon auctions - [ending_soon_auctions per_page="12" columns="4" order="desc"]
  • show recent auctions - [recent_auctions per_page="12" columns="4" orderby="date" order="desc"]
  • show featured auctions - [featured_auctions per_page="12" columns="4" orderby="date" order="desc"]
  • show auctions with specific product ID - [auctions ids="1,2,3,4,5"]
  • show auctions with specific SKU code - [products skus="foo, bar, baz" orderby="date" order="desc"] - SKU for auction can be changed using quick edit in products list
  • show user's auctions - [woocommerce_simple_auctions_my_auctions] shortcode shows active auctions in which user participates along with won auctions
  • show future auctions - [future_auctions], [future_auctions per_page="12" columns="4" orderby="date" order="desc"]
  • show past / finished auctions - [past_auctions], [past_auctions per_page="12" columns="4" orderby="date" order="desc"]

Note:

Please note that there is no paging when you use shortcodes (same as with WooCommerce shortcodes). Per page attribute means how many items will be displayed on that particular page without paging!

FAQ

Here you can find answers to frequently asked questions. Feel free to contact us if you can't find answer to your question.

  1. Do you have list of hooks and filters? - Yes, hook list is below:
    woocommerce_simple_auctions_before_place_bid
    woocommerce_simple_auctions_outbid
    woocommerce_simple_auctions_place_bid
    woocommerce_simple_auction_started
    woocommerce_simple_auction_finished
    woocommerce_simple_auction_close
    woocommerce_simple_auction_fail
    woocommerce_simple_auction_reserve_fail
    woocommerce_simple_auction_close
    woocommerce_simple_auction_won
    pre_get_auction_search_form
    woocommerce_before_bid_form
    woocommerce_before_bid_button
    woocommerce_after_bid_button
    woocommerce_after_bid_form
    woocommerce_product_options_auction
    woocommerce_simple_auction_do_relist
    woocomerce_before_relist_failed_auction
    woocomerce_after_relist_failed_auction
    woocomerce_before_relist_not_paid_auction
    woocomerce_after_relist_not_paid_auction
    woocommerce_simple_auction_pay_reminder
    woocommerce_simple_auction_close_buynow
    woocommerce_simple_auction_delete_bid
    woocommerce_simple_auction_pay_reminder
    			
    Example:
    <?php add_action( 'woocommerce_simple_auctions_before_place_bid, 'custom_function' );  ?>
    			

    Here is list of all filters:

    woocommerce_simple_auctions_before_place_bid
    woocommerce_simple_auctions_proxy_curent_bid_value
    woocommerce_simple_auctions_proxy_bid_value
    simple_auction_item_condition
    woocommerce_simple_auctions_get_current_bid
    woocommerce_simple_auctions_get_increase_bid_value
    woocommerce_simple_auctions_get_condition
    woocommerce_simple_auctions_get_auction_end_time
    woocommerce_simple_auctions_get_auction_start_time
    woocommerce_simple_auctions_get_seconds_remaining
    woocommerce_simple_auctions_get_seconds_to_auction
    woocommerce_simple_auctions_bid_value
    woocommerce_simple_auctions_is_user_biding
    woocommerce_simple_auctions_get_user_max_bid
    woocommerce_simple_auctions_is_sealed
    wsa_default_auction_orderby_options
    woocommerce_simple_auction_auction_bage
    woocommerce_simple_auction_pay_now_button
    woocommerce_auction_history_heading
    woocommerce__auction_history_data
    auction_history_started_text
    auction_history_starting_text
    woocommerce_simple_auctions_placed_bid_message
    woocommerce_simple_auctions_winning_bid_message
    woocommerce_simple_auction_empty_cart
    
  2. How to use simple_auction_item_condition filter? - In functions.php add:
    add_filter('simple_auction_item_condition', 'my_example_filter_1' );
    function my_example_filter_1( $array ){
    
    	$array['old']='Old';
    
    	return $array;
    }
    
    and in product data you will get new product condition option available to select named "Old".
  3. How to increase bid step for bid increment value to be more than 1? Bidding increment is done so you can bid in increments of 1, because otherwise if you set bid step of say 5, you would be able to bid 5, 10, 15... instead you can bid 7, 13, 22, etc. If you insist on different behaviour, you need to edit templates\single-product\bid.php and change:
    step="any"
    
    becomes
    
    step="<?php echo ($product->auction_bid_increment) ? $product->auction_bid_increment : '1' ?>"
    
  4. Can I delete fake bid? - Yes, go to item details, section Auction where auction log is and click on delete.
  5. Can users create their own auctions like on eBay? Can I charge fee for auctions published by users? - Yes but you need 3rd party plugin for implementing WooCommerce multivendor / marketplace. Then your users will be able to post auctions and you can charge fee for their sales. You can use Dokan multivendor plugin which has frontend auction submissions or Woo Product Vendors.
  6. Do you use cronjobs? - Yes. Please check installation instructions. Cronjobs are used to finish auctions consistently for all users and at right time, send email notifications and automatically relist expired / failed auctions (optional). Auction check cron has to be run every minute, script will be loading for almost 1 minute, then it stops with HTTP 200 response code - there should be no output just blank page.
  7. Where can I edit email templates? - Go to WooCommerce > Settings and click on Emails tab.
  8. Does this plugin work with caching plugins? - Yes, WP Super Cache and W3TC work fine with our plugin but we advise no caching for logged in users. For example if page cache is enabled widget will not work - recently viewed auctions. Once user is logged in and there is no caching anymore all widgets will work. You can use CDN and browser caching. Our plugin demo website uses W3TC with page and browser cache.
  9. What is auto bidding / proxy bidding? - Ebay has nice explanation here.
  10. What is reserve price? - A reserve price is the lowest price at which you are willing to sell your item. If you do not want to sell your item below a certain price, you can a set a reserve price. The amount of your reserve price is not disclosed to your bidders, but they will see that your auction has a reserve price and whether or not the reserve has been met. If a bidder does not meet that price, you are not obligated to sell your item.
  11. I want auction end timer everywhere, what should I do? - Add this code to functions.php:
    
    add_action( 'woocommerce_after_shop_loop_item_title','wpgenie_show_counter_in_loop',50 );
    
    function wpgenie_show_counter_in_loop(){
    
    	global $product;
    
    	$time = '';
    
    	if(!isset ($product))
    		return;
    	if('auction' != $product->product_type)
    		return;
    
    	$timetext = __('Time left', 'wc_simple_auctions');
    
    	if(!$product->is_started()){
    		$timetext = __('Starting in', 'wc_simple_auctions');
    		$counter_time = $product->get_seconds_to_auction();
    	} else{
    		$counter_time = $product->get_seconds_remaining();
    	}
    
    	$time = '<span class="time-left">'.$timetext.'</span>
    	<div class="auction-time-countdown"
    	data-time="'.$counter_time.'"
    	data-auctionid="'.$product->id.'" data-format="'.get_option(
    	'simple_auctions_countdown_format' ).'"></div>';
    
    	if($product->is_closed()){
    		$time = '<span class="has-finished">'.__('Auction finished','wc_simple_auctions').'</span>';
    	}
    	echo $time;
    }
    
  12. I want to increase / ented auction end time after bid was placed? - In your function.php you need to add code below (this particular code extends auction for 30 sec - note PT30S):
    
    add_action( 'woocommerce_simple_auctions_outbid', 'woocommerce_simple_auctions_extend_time', 50 );
    
    function woocommerce_simple_auctions_extend_time($data){
    	$product = get_product( $data['product_id'] );
    	if ('auction' === $product->product_type ){
    		$date1 = new DateTime($product->auction_dates_to);
    		$date1->add(new DateInterval('PT30S'));
    		update_post_meta( $data['product_id'], '_auction_dates_to', $date1->format('Y-m-d H:i:s') );
    	}
    }
    
  13. I want to extended auction finish time after a bid is placed so that it only extends the auction if a bid is placed when the auction is within 5 min of closing? - It is possible to do that, here is snippet for snipping protection, add it to your functions.php:
    
    /* Auto Extend Auction by 2 min when a bid is placed within the last 5mins */
    add_action( 'woocommerce_simple_auctions_outbid', 'woocommerce_simple_auctions_extend_time', 50 );
    
    function woocommerce_simple_auctions_extend_time($data) {
    
    	$product = get_product( $data['product_id'] );
    
    	if ('auction' === $product->product_type ) {
    		$auctionend = new DateTime($product->auction_dates_to);
    		$auctionendformat = $auctionend->format('Y-m-d H:i:s');
    		$time = current_time( 'timestamp' );
    		$timeplus5 = date('Y-m-d H:i:s', strtotime('+5 minutes', $time));
    
    		if ($timeplus5 > $auctionendformat) {
    			$auctionend->add(new DateInterval('PT120S'));
    			update_post_meta( $data['product_id'], '_auction_dates_to', $auctionend->format('Y-m-d H:i:s') );
    		}
    	}
    }
    
  14. Bidder beat another bidder with same amount? - When Proxy Bidding is in effect, it can appear as if one bidder has beat another bidder with the same bid amount. This is normal and occurs when a bidder has a proxy bid in effect and a second bidder comes along and makes their bid at the exact same amount the current proxy bid is at. Since the proxy bid was placed earlier, that is the bid that will succeed. For the second bidder to succeed in placing a bid, they must bid higher than the proxy bid that is in effect.
  15. How can I show only finished auctions? - You need custom page template with custom query:
    
    $args = array(
     'post_type'   => 'product',
     'tax_query' => array(array('taxonomy' => 'product_type' , 'field' => 'slug', 'terms' => 'auction')),
     'meta_query' => array(
    	array(
    		'key' => '_auction_closed',
    		'operator' => 'EXISTS',
    	)
        ),
    'auction_arhive' => TRUE,
    'show_past_auctions' => TRUE
    );
    
    $the_query  = new WP_Query( $args );
    
    You can download here page template which shows only finished auctions. From version 1.2 there is shortcode show past / finished auctions.
  16. Can I make theme with WooCommerce Simple Auctions and sell it on ThemeForest? - Sure, just purchase extended licence and you're good to go. Since the current licenses do not deal with re-selling Items, Envato lets authors to decide whether they grant permission for bundling Items or not. We have the following conditions, and you need to follow them:
    • You cannot redistribute the item "as-is", even if you modify it or you make a derivative version for another platform
    • You cannot offer the plugin as a stand-alone item
    • You cannot include the plugin separately from your theme in the download package
    • You cannot provide an Item Purchase Code for your customers - Since Envato doesn't have a "multi-use" or transferable license, your customers are not entitled to receive an Item Purchase Code with your theme and use the plugin separately from your work.
    • Updating the plugin is your own responsibility
    • Since your customers cannot receive updates from us, you need to handle this on your own
    • You need to handle related support requests after your customers or you can instruct them to buy regular licence and ask us for support directly via our CodeCanyon profile (we cannot provide free support for your customers)
  17. I can't do anything because I get "out of stock message"? - Simple Auctions plugin needs inventory / stock to be enabled. If you have problems all issues should be fixed by upgrading to Woocommerce Simple Auctions v1.1.6
  18. I want to enable users to bid even if they are allready highest bidder? - In update v1.1.25 we have added setting option "Allow highest bidder to outbid himself", please use that setting to allow outbidding.
  19. I have installed WC Vendors and I do not see auction product type? We have noticed that WC Vendors due to some problematic handling of product types (they are hardcoded into plugin!) has problems with auction product type. There is workaround for that. So if you use WC Vendors you can do following:

    in /plugins/wc-vendors/WCVendors/classes/admin/settings/sf-options.php

    find:

    'simple'   => 'Simple',
    'variable' => 'Variable',
    'grouped'  => 'Grouped',
    'external' => 'External / affiliate'
    


    replace:

    'options'  => array(
    'simple'   => 'Simple',
    'variable' => 'Variable',
    'grouped'  => 'Grouped',
    'external' => 'External / affiliate',
                    'auction'   => 'Auction'
    

    in newer version 1.7.9+

    'options' => array( 'simple' => __( 'Simple', 'wcvendors' ), 'variable' => __( 'Variable', 'wcvendors' ), 'grouped' => __( 'Grouped', 'wcvendors' ), 'external' => __( 'External / affiliate', 'wcvendors' ), ),

    replace

    'options' => array( 'simple' => __( 'Simple', 'wcvendors' ), 'variable' => __( 'Variable', 'wcvendors' ), 'grouped' => __( 'Grouped', 'wcvendors' ), 'external' => __( 'External / affiliate', 'wcvendors' ), 'auction' => __('Auction') ),

    - and then you will see http://tinyurl.com/qxvqcey - click save and everything will work fine
  20. How can I update plugin with new version? - Updating is easy. Just overwrite old files with new ones. If you have modified plugin files then you need to be careful when updating so you don't overwrite changes you made.
  21. How to change max bid for proxy bidding? - Add this to theme's functions.php:
    add_action('woocommerce_simple_auctions_before_place_bid' , 'custom_change_maxbid' ,10 , 3);
    
    function custom_change_maxbid($product_id, $bid,$product_data)     {
        global $product_data;
        $current_user = wp_get_current_user();
    
        if ($current_user -> ID == $product_data -> auction_current_bider) {
    
            if ($product_data -> auction_proxy) {
    
                update_post_meta($product_id, '_auction_max_bid', $bid);
                wc_add_notice(sprintf('You have changed your maximum bid successfully', 'wc_simple_auctions'));
                $product_data = FALSE;
                return TRUE;
            }
    
          }
    }
    
  22. Is it possible when a customer wins 2 or more auctions they all appear in the cart at the same time and than check-out all items at once? I want more than one auction in cart! - In file woocommerce-simple-auctions\woocommerce-simple-auctions.php find:

    $woocommerce->cart->empty_cart();
    

    and comment that line:

    // $woocommerce->cart->empty_cart();
    


    From version 1.2.7 that line is a bit different and it looks like this:

    WC()->cart->empty_cart();
    
  23. How to increase bid input field? - Easiest way is by using custom CSS:

    screenshot

    Note:

    You may noticed double plus and minus near bid input field on screenshot above. This is known issue with some themes. For solution see FAQ item no 25.

  24. The Sort by price does not work. Is it posible to sort the auctions based on what has the highest or lowest bid? - Yes, we have added auction specific sorting. Frontend auction sorting is availabe, you can sort auctions by current bid, date, buy now price, activity, ending date (ending soonest) and start date (recently started). Feature is available from version 1.2 of Simple Auction plugin.
  25. I see two plus and minus buttons near bid input field? - This is known issue with some of the themes (Enfold for example), due to their JS, solution is simple you need to comment out last line (173) in file woocommerce-simple-auctions\js\simple-auction-frontend.js (example of that problem can be seen on screenshot in FAQ no 24):

    // jQuery(function($){$(".auction_form div.quantity:not(.buttons_added)
    
  26. I want to remove automatic relist option for users (for example when using WC Vendors plugin)? Update plugin to v1.1.25. From version 1.1.25 you can use this code to do that (add code to your theme's functions.php file):

    function remove_post_custom_fields() {
    	remove_meta_box( 'Automatic_relist_auction' , 'product' , 'normal' );
    }
    add_action( 'admin_menu' , 'remove_post_custom_fields' ,40);
    
  27. Is there a way to enable confirmation before placing a bid? Yes, you can use this code (http://pastebin.com/pKZurFsB):

    function print_my_inline_script() {
      if ( is_product()) {
    	?>
    	<script type="text/javascript">
    		jQuery('.auction_form.cart').submit(function() {
    			var c = confirm("Click OK to continue?");
    			return c; //you can just return c because it will be true or false
    		});
    	</script>
    	<?php
      }
    }
    add_action( 'wp_footer', 'print_my_inline_script' );
    
  28. Does Woocommerce Simple Auctions work with WordPress import / export tools? - Yes, you can export and import auctions with standard WordPress import / export tools that are located in Admin -> Tools menu.
  29. I want to add bid button everywhere not only on single auction page? - You can add following code to your functions.php but you will need to style it properly using CSS (http://pastebin.com/G8H6zwS1):

    			add_action( 'woocommerce_after_shop_loop_item_title', 'wpgenie_add_bid_button',50 );
    function wpgenie_add_bid_button(){
    
    	global $woocommerce, $product, $post;
    
    
    	 if(($product->is_closed() === FALSE ) and ($product->is_started() === TRUE )) :
    
    	 	 do_action('woocommerce_before_bid_form'); ?>
    		<form class="auction_form cart" method="post" enctype='multipart/form-data' data-product_id="<?php echo $product->id; ?>">
    
    			<?php do_action('woocommerce_before_bid_button'); ?>
    
    			<input type="hidden" name="bid" value="<?php echo esc_attr( $product->id ); ?>" />
    			<?php if($product->auction_type == 'reverse' ) : ?>
    				<div class="quantity buttons_added">
    					<input type="button" value="+" class="plus" />
    					<input type="number" name="bid_value" data-auction-id="<?php echo esc_attr( $product->id ); ?>" value="<?php echo $product->bid_value() ?>" max="<?php echo $product->bid_value()  ?>"  step="any" size="<?php echo strlen($product->get_curent_bid())+2 ?>" title="bid"  class="input-text  qty bid text left">
    					<input type="button" value="-" class="minus" />
    				 	<button type="submit" class="bid_button button alt"><?php echo apply_filters('bid_text', __( 'Bid', 'wc_simple_auctions' ), $product->product_type); ?></button>
    				 </div>
    			<?php else : ?>
    				<div class="quantity buttons_added">
    				 	<input type="button" value="+" class="plus" />
    					<input type="number" name="bid_value" data-auction-id="<?php echo esc_attr( $product->id ); ?>" value="<?php echo $product->bid_value()  ?>" min="<?php echo $product->bid_value()  ?>"  step="any" size="<?php echo strlen($product->get_curent_bid())+2 ?>" title="bid"  class="input-text qty  bid text left">
    					<input type="button" value="-" class="minus" />
    				</div>
    		 	<button type="submit" class="bid_button button alt"><?php echo apply_filters('bid_text', __( 'Bid', 'wc_simple_auctions' ), $product->product_type); ?></button>
    		 	<?php endif; ?>
    
    		 	<input type="hidden" name="place-bid" value="<?php echo $product->id; ?>" />
    			<input type="hidden" name="product_id" value="<?php echo esc_attr( $product->id ); ?>" />
    			<?php if ( is_user_logged_in() ) { ?>
    				<input type="hidden" name="user_id" value="<?php echo  get_current_user_id(); ?>" />
    			<?php  } ?>
    			<?php do_action('woocommerce_after_bid_button'); ?>
    		</form>
    
    
    		<?php do_action('woocommerce_after_bid_form');
    
    	 endif;
    
    }
    
  30. How can I enable user registration on login page? - You need to enable that feature in Woocommerce settings.
  31. I have installed your plugin but images are not aligned, buttons are too small / big, input fields needs to be smaller / bigger, can you help? - In short no.

    It's your duty to modify plugin template to match your style and theme. Themes can implement different ways how they customize pages and parts of Woocommerce. We cannot guarantee that our plugin will look same as in our demo for every possible theme out there. Web developing is more than getting a theme and couple plugins, enabling them and deliver web site. Our templates are coded by standards and they adhere to WordPress and WooCommerce template structure. That means that minimal intervention is needed from client side, but sometimes there is no way to avoid template changes. Some themes use similar structure and have minimal interventions in structure and our plugin looks good out of the box and some do not. It's your task as web developer and client who purchased plugin to modify and customize plugin templates to match your own (or client's) needs and styles. This is part of developing a web site. You cannot expect that everything will be perfect for every possible theme and plugin comibation out there or that we will do your job for you as part of support. We support plugin - we do not style and customize client's sites. Thanks for understanding.

    Note:

    Right way to customize plugin's templates is to copy contest of plugin_dir/woocommerce-simple-auctions/templates/ directory to your_theme/woocommerce/ directory and do modifications there.

    When you ask us for support make sure it's not related to tasks we don't do as part of support:

    - style or customize your theme to do this or that
    - provide support for bugs caused by 3rd party plugins or themes (we can pinpoint that some plugin is problematic)
    - send you CSS or HTML code for modifying html elements

  32. What are custom meta fields for auction product type (useful for CSV Product Import)?
    _auction_item_condition
    _auction_type
    _auction_proxy
    _auction_start_price
    _auction_bid_increment
    _auction_reserved_price
    _auction_dates_from
    _auction_dates_to
    _auction_current_bid
    _auction_current_bider
    _auction_max_bid
    _auction_max_current_bider
    _auction_bid_count
    _auction_closed
    _auction_has_started
    _auction_fail_reason
    _order_id
    _stop_mails
    _auction_wpml_language
    _auction_automatic_relist
    _auction_relist_fail_time
    _auction_relist_not_paid_time
    _auction_relist_duration
    
    Sample CSV file can be downloaded here. You can use Tools -> Import -> WooCommerce products (CSV) importer which imports products to your store via a CSV file.
  33. Is it possible to set proxy auctions on by default for all auctions? - Since version v1.2 there is option in Auction settings to enable this by default. Please check plugin options part of this documentation.
  34. How to remove Simple Auction history tab or any Woocommerce tab in single product (auction) page? - Add code below to your_theme/functions.php (on the bottom):

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['simle_auction_history'] );  // Remove auction history tab, typo is ok otherwise code doesn't work
        return $tabs;
    }
    


    To remove other Woocommerce tab(s) code is:

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['tab_name'] );      	// list of tabs can be found in Woocommerce documentation
        return $tabs;
    }
    
  35. I can't see auctions on shop page? I have defined auction base page and I still don't see anything?

    If you want auctions on shop page in auctions settings make sure that you have not checked settings "do not mix auctions and regular products".

    Stock management has to be enabled otherwise you won't see auctions.

    If you use WPML you need to define auction base page and make its translation in order to see auctions.

    Some rouge plugin that modifies WP query in some weird way. Try disabling all plugins and leave only Woocommerce and Simple auction.

    Poorly coded theme that modifies WP query. Change theme to default one which comes with WordPress to test if that's the problem.
  36. I want to limit only bid increment not whole bid value?

    Right now you can limit bid value in Simple Auctions settings. But some want to limit your increase (n) in new bid value = current bid + your increase (n) that can be accomplished by using this code in your functions.php - '100' is hardcoded limit for your increase (n):

    add_action('woocommerce_simple_auctions_before_place_bid' , 'custom_max_single_bid_limit' ,10 , 3);
    
    function custom_max_single_bid_limit($product_id, $bid,$product_data)     {
        global $product_data;
        if (($bid - $product_data->auction_current_bid) >= '100') {
            wc_add_notice(sprintf('Your bid is bigger than  max  single bid amount', 'wc_simple_auctions'),'error');
            $product_data = FALSE;
            return false;
        }
    }
    


    You can download code at http://pastebin.com/6SLf3rM5
  37. How can I get refund if I'm not satisfied?

    If you have problem with our items we require that you first get in touch with us so we can try to solve your problem. Our items are extensively tested and we will do everything to help you with problems you might encounter.

    More about how to get refund on Envato can be found here and here.
  38. How can I translate plugin to my language? Do you have translations?

    We only maintain english translation. We do not have resources to quality maintain other translations. If you have trasnlation, you can submit one to us and we will post it here for download if someone wants it, but those will be unofficial.

    Here are steps which can help you to traslate plugin yourself:

    • POT lang file that you will edit is located in:

      plugins/woocommerce-simple-auctions/lang/wc_simple_auctions.pot

    • you need to download and install Poedit https://poedit.net/download
    • download wc_simple_auctions.pot and open it with Poedit
    • do your translations with Poedit and create po/mo files
    • when done save lang file with suffix for your language for example wc_simple_auctions-en_GB.po, saving wc_simple_auctions-en_GB.po will create wc_simple_auctions-en_GB.mo
    • you need to upload both files to plugins/woocommerce-simple-auctions/lang/

    Note:

    In filename wc_simple_auctions-en_GB.po suffix en_GB must match your language settings in WordPress, otherwise language will not be loaded. So for example you can have wc_simple_auctions-en_AU.mo, wc_simple_auctions-af.mo or wc_simple_auctions-en_CA.mo, complete list of available suffixes are here https://make.wordpress.org/polyglots/teams/

  39. Where can I find max proxy bid for auction? In wp-admin -> product details here is screenshot.
  40. Does the user have to be logged in to be able to bid? Why? User has to be logged in because we don't have reliable way to track its bid(s) otherwise. If you have real auction site at one moment user(s) will have to enter details for shipping, payment etc, it's also a way to filter serious bidders and block fake accounts.
  41. 3rd party plugin is causing problems? Its developers tell you that we need to fix our plugin? Woocommerce extensions should be transparent - meaning one extension should work with another without introduction of special code that makes them compatible. Imagine what would happen and how much time we would need to spend if we would have to add a bit of compatibility code for every Woocommerce extension that's out there - we would end up in huge plugin with tons of problems which would be problem to test and debug. That's why we think every plugin developer should stick to Woocommerce coding standards and APIs (they're there for that reason) and not require 3rd party developers to code something into their extensions / plugins so that it could work with theirs.
  42. How can I include winner user info in admin auction finished email notification? You would need to copy template \woocommerce-simple-auctions\templates\emails\auction_finish.php to your_theme\woocommerce\emails\auction_finish.php and then add something like this:

    $wining_user_id = get_post_meta( $product_id, '_auction_current_bider', true );
    $user = get_userdata ( $wining_user_id );
    

    you will then have all user info available in that template - https://codex.wordpress.org/Function_Reference/get_userdata
  43. Does it work with currency switching plugins? - We decided to skip currency switching support because each currency switching plugin uses its own hooks which we would have to implement into plugin and maintain through updates. We did some testing and found out that free version of Currency Switcher displays different currecies fine, while paid does not for some reason, Aelia Currency switcher does not work at all and fails with fatal error. It would require significant changes and modifications for us to bid in different currencies (possibly introducing new bugs and problems) so we decided to skip multi currency support for auctions completely because it complicates a lot whole process of bidding and can confuse bidders (for example someone bids $100 another bids 105.55 eur etc). If you need different currency auctions we think it is better to setup whole new auction site for different market / country with its own currency.
  44. Winning badge is hidden behind auction / product thumbnail. What can I do? You need to change z-index for winning badge:

    span.winning {z-index: 1000}
    
  45. Do you offer customization for buyers fee on auctions? - Yes, we can implement that feature (customization). Please contact us at [email protected] for more informations.
  46. Auction ended but user (bidder) still can see countdown timer? Noticed that time left was out of sync on some computers? - Auctions use server time which is then translated to local time via JavaScript and considering computer's local time. So auction will be finished on exact time set, however if client (bidder) has wrong clock set (which is rare nowadays since all computers are automatically synced to Internet time) they can see that auction has ended (but it didn't in fact) or that auction has still going on but in fact has ended). They will try to bid but they will get error message. You need to instruct them to sort their clock issue and set aucto sync to Internet time.

    If we would check server time each second that would be huge performance problem for busy sites and auctions which have a lot of participants and pages would not be cacheable.
  47. How can I show buy now price on category / archive pages? - You can use this code https://pastebin.com/yqvGCrjB in your functions.php
  48. How can I hide usernames in auction history list? - You need to edit template. First copy template woocommerce-simple-auctions\templates\single-product\tabs\auction-history.php to your_theme\woocommerce\single-product\tabs\auction-history.php and edit file in that directory so update doesn't override your changes.

    Then find and remove lines (or comment them out) 46 and 62-66.
  49. I see products out of stock in related products? Why? I want to hide out of stock products from related products! - This is WooCommerce related and not WSA. You have to change WooCommerce setting called "Out of stock visibility" which is located in WooCommerce Settings -> Products -> Inventory tab.
  50. How can I place "add to watchlist" link to product archive page for all auctions? - You can add this code (thx Mike) to your functions.php:

    // display "add to watchlist" on all product archive pages
    add_action( 'woocommerce_shop_loop_item_title', 'add_to_watchlist', 50 );
    function add_to_watchlist() {
        global $product;
        if (isset($product) && $product == true) {
            wc_get_template('single-product/watchlist-link.php');
        }
    }
    
    
  51. I want auction details on product archive page? - You can use this snippet to add for example starting bid, current bid and max bid https://pastebin.com/Jt4DRcXp
  52. I do not use reminder email notification, how can I remove Auction Settings from My Account? - You can do that via custom CSS:
    .woocommerce-MyAccount-navigation-link--auctions-endpoint {display:none}
    or by adding this snippet to functions.php:
    
    add_filter ( 'woocommerce_account_menu_items','wpgenieorg_remove_my_account_links' );
    function wpgenieorg_remove_my_account_links( $menu_links ){
    	unset( $menu_links['auctions-endpoint'] );
    	return $menu_links;
    }
    

WooCommerce Simple Auctions

wpgenie plugin

Love this plugin?

This plugin is created by wpgenie. Check out our Envato profile where you can support us by purchasing our plugins, give us feedback and post your ideas and feature requests, ask for support and rate our items. Check out our free stuff.

We do WordPress developing, plugins for WordPress & WooCommerce, eCommerce sites based on WooCommerce, WordPress performance optimization and managed WordPress hosting.