How to customize auction emails?

In This Article

Why admin should change email templates

Ultimate WooCommerce Auction pro Plugin sends an email to admin and user both for every auction product activity. For example, bid place, bid deleted, outbid, ending soon, auction winner, payment reminder emails. The default templates of email have been added to the plugin folder. If the admin wants to change the email format, display other information to the user in email, or edit default text then the admin can do that by override PHP files. Below is the path of template files in the plugin.

Path - Ultimate WooCommerce Auction pro -> Templates -> Woocommerce -> Emails. Here admin can see below email templates in php formate.

How to override email templates

The first admin has to create a folder named WooCommerce in the root folder of the active theme. Create "emails" folder in WooCommerce folder. Now copy the template from the plugin and paste it into the "emails" folder created in the theme. So, the folder structure will be as follows. Add all templates which admin wants to override. Open PHP file, edit it, and save changes.

Example of override email template

Here, we take the example of the override auction winner email of the product. For that, copy the "auction-winner.php" file from this path  ultimate-woocommerce-auction-pro/templates/woocommerce/emails/auction-winner.php and paste it to this path active theme folder/woocommerce/emails/auction-winner.php. Below is an example of an auction winner email with the default template.

Now, open the "auction-winner.php" file, edit as per your requirement, and save it.

Now, When the admin chooses a winner for the auction, the plugin will send the auction winner email to the user like the below formate.

So, The admin can override the email templates in such away.

Still need help? Send Your Query Send Your Query