Informing Customers About Cash on Delivery Eligibility Status
To inform customers about Cash on Delivery (COD) eligibility status in WooCommerce by displaying error messages when restrictions are not met, follow these steps:
Log in to your WordPress dashboard.
Go to “WooCommerce” and select “Advanced COD.”
Click on the “Messages” tab.
Enable COD Unavailable Message: Toggle the “Enable COD Unavailable Message” option to either enable or disable the display of messages when COD is unavailable due to restrictions.
- If enabled, customers will see a message when COD is not available based on the configured restrictions.
- If disabled, no message will be displayed.
Customize Default Message: In the “COD Unavailable Message” section, customize the default message that will be displayed when COD is unavailable due to any type of restriction. This message provides a general explanation to customers.
Customize Messages for Specific Restrictions:
Customize messages for specific types of restrictions by filling in the corresponding sections:
- Message for Restricted by User/Role
- Message for Restricted by Cart Amount
- Message for Restricted by Products and Product Categories
- Message for Restricted by Shipping Class
- Message for Restricted by Shipping Zone
- Message for Restricted by Country
- Message for Restricted by State
- Message for Restricted by City
- Message for Restricted by Zip Code
Set custom messages for each restriction type to provide more specific information to customers about why COD is unavailable.
Save Changes:
After customizing the messages, make sure to save your changes.
By following these steps, you can display customized error messages to inform customers about the eligibility status of Cash on Delivery based on various restrictions. Customers will see these messages when attempting to use COD, and their cart does not meet the specified criteria.