Override a template in Auctions for WooCommerce to change how part of an auction appears on your site. Keep the override in your child theme so plugin updates can replace the original template.
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 topActivate a child theme on a test store and keep a copy of any existing override. This example uses the single-product auction history template in Auctions for WooCommerce 4.2.1.
Override the auction history template
↑ Back to top- Find
templates/single-product/tabs/auction-history.phpin theauctions-for-woocommerceplugin folder. - Copy the file into the active child theme as
woocommerce/single-product/tabs/auction-history.php. Keep the path beneath the plugin’stemplatesdirectory when copying other supported templates. - Edit the copy, then open a single auction and check the Auction history tab. Check both a new auction with no bids and an auction with history if the customization affects displayed bids.
Maintain your override
↑ Back to topAfter updating the extension, compare the child-theme copy with the updated plugin template. Merge changes you need and test the auction again. To restore the plugin’s default, back up and remove the child-theme copy, then reload the same auction and check the tab.
Questions and support
↑ Back to topSomething 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.