How to customize auction emails?
Why admin should change email templates
Ultimate WooCommerce Auction pro Plugin sends email to admin and user both for every auction product activities.For example, bid place, bid deleted, outbid, ending soon, auction winner, payment reminder emails.The default templates of email have been added into plugin folder.If the admin wants to change the email formate, display other information to user in email or edit default text then admin can do that by override php files. Below is path of template files in plugin.
Path - Ultimate WooCommerce Auction pro -> Templates -> Woocommerce -> Emails. Here admin can see below email templates in php formate.
How to override email templates
First admin have to create folder named woocommerce in root folder of active theme. Create "emails" folder in woccomerce folder.Now copy the template from plugin and paste it in "emails" folder which created in 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 example of override auction winner email of product.For that, copy "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 example of auction winner email with default template.
Now, open "auction-winner.php" file , edit as per your requirement and save it.
Now, When admin choose winner for auction, plugin will send auction winner email to user like below formate.
So, The admin can override the email templates in such a way.