Change the auction bid button step

Change how much the plus and minus controls add to or subtract from the bid amount on a single auction page. The auction’s configured bid rules continue to determine which bids the store accepts.

Note:

This is a developer-level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customization work. We are unable to provide support for customization under our Support Policy.

Before you start

↑ Back to top

Use a test store with Auctions for WooCommerce 4.2.1 or later, a single auction with visible bid controls, and an active child theme.

Change the bid controls

↑ Back to top

Copy templates/single-product/auction-bid-form.php from the auctions-for-woocommerce plugin folder to woocommerce/single-product/auction-bid-form.php in your child theme. See Override an Auctions for WooCommerce template for details.

Find the step attribute on the text input named bid_value. Replace its default step="any" with the following attribute to change each button press to five in your store currency.

step="5"

Verify the bid controls

↑ Back to top

Load a single auction and use the plus and minus controls. Check that the amount changes by five when it is within the displayed bid limits. Also check any other single auction that uses the same template, because each uses the same button step.

If the controls still change the amount by one, confirm that the child theme is active and is serving your override. To restore the default, set the attribute to step="any" or restore the previous template. Compare your override with the plugin’s template after updates.

Questions and support

↑ Back to top

Something missing from this documentation? Still have questions and need assistance?

  • If you have a question about an extension or theme you’d like to purchase, visit our contact page and use the AI Assistant or contact options.
  • If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.

Related Products

WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or...

Offer add-ons like gift wrapping, special messages or other special options for your products.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.