How to Display Custom Success Messages for WooCommerce Advanced Free Gifts?

Displaying Custom Success Messages

To display custom success messages for the WooCommerce Advanced Free Gifts plugin, you can follow these steps:

Navigate to WooCommerce > Free Gifts > Rules.

Click on “Add New Rule” to create a new rule.

Set Rule Title: Enter a unique title for the rule to reference it in the future.

Configure Notices for Customers:

Under the “Notices for Customers” section, find the field labeled “Gift Added Message.”

Customize the Gift Added Message: Enter the message you want to display when a gift is added to the cart automatically.

Utilize placeholders to display relevant information. The available placeholders are:

  • {gift_products}: Displays information about the gift products.
  • {base_products}: Shows information about the base products.
  • {required_products}: Displays information about the required products.
  • {required_categories}: Shows information about the required categories.

Save the Rule:

After customizing the message, save the rule.

Remember to customize the message according to your preferences and the information you want to convey to your customers. Once you’ve saved the rule, the specified message will be displayed to customers when a gift is added to their cart automatically based on the rule conditions you’ve set.