877-924-1414

By Bruce, Support Advocate at YayCommerce.com

Introduction: WooCommerce Coupons

WooCommerce Coupons are digital or printable vouchers that offer customers discounts, free shipping, or other promotional benefits. These coupons can be applied to specific products, categories, or the entire shopping cart, providing flexibility for store owners to tailor their promotions to specific marketing goals. Coupons not only entice potential customers to make a purchase but are also an important rewarding factor used to reward loyal customers, fostering a positive relationship between the business and its clientele.

YayPricing – WooCommerce Dynamic Pricing & Discounts

YayPricing is a WordPress plugin designed for WooCommerce-powered websites. This plugin, known as WooCommerce Dynamic Pricing And Discounts, empowers you to fine-tune pricing on your WooCommerce store. With its capabilities, you can establish diverse pricing and discount rules, elevating the overall shopping experience and boosting sales on your platform.

Through this plugin, you can easily devise well-structured campaigns tailored for promotions, special offers, bulk pricing, bundle pricing, deals of the day, flash sales, and more. Its user-friendly features make it a valuable tool for optimizing your pricing strategy and creating compelling sales initiatives.

How to create a WooCommerce Coupon

To create a WooCommerce coupon, start by accessing the WooCommerce dashboard and navigating to the Coupons section. Click on “Add Coupon,” here we will specify the coupon code or autogenerate one, but the main key here is to set a $0 discount code value. Finally publish this coupon and move to the next step.

How to create Buy X Get Y rule using YayPricing

To initiate this process, you need to install the YayPricing plugin, then from your WordPress dashboard, navigate to YayCommerce, proceed to YayPricing, access Product Pricing, and click on “Add Rule”.

From there, choose the “Buy X Get Y” rule.

How to set Pricing for the rule

When setting up the rule, assign a name for internal use only. Opt for the “Free item” option if you intend to offer a complimentary product item, while “Discount” is for reducing cart item prices. Uncheck the “Is repeat” checkbox for a one-time application only. For the Buy products filter, choose “Any” to activate the rule if any product filter criterion is met; alternatively, select “All” if all criteria must be satisfied. In the designated field, add the products, requiring at least one to be in the cart for the free cap offer. Choose “All” to ensure all filter criteria are met for the selected product. Finally, in the Get product section, select the free product item that will be provided for free as part of the promotion.

Next here is to access the settings tab and activate the checkbox to show the offer description in product page. This notice will be shown to the customers we want to see the coupon (only those who see the notice will know the coupon code).

How to set Conditions for the rule

Click on the Conditions tab, click on Add condition button and select the Applied coupons condition from the dropdown. Start typing the coupon code in the provided field and then select the appropriate one which was set earlier.

At this point, save the changes!

Testing – See how it looks like in the frontend

In the frontend of the store, the product page of any products selected for the Buy X will display the notice we set via the Settings tab like shown in the screenshot below;

Now, we can add products to the cart and without applying the coupon code, the cart page will look like this;

Once the coupon code is applied, then the free item would be added to the cart appropriately per the product defined within our Buy X Get Y rule. The cart page will now look like this;

Conclusion

In conclusion, mastering the setup of WooCommerce custom coupon messages is a crucial skill for online retailers. This customization enhances the customer experience, adding professionalism and creativity to promotional efforts. By following the steps outlined, businesses can create a unique brand identity and engage customers effectively. As e-commerce evolves, leveraging WooCommerce custom coupon messages becomes a powerful tool for driving conversions and fostering loyalty. Embracing this feature in WooCommerce and YayPricing plugins opens doors to creative marketing, transforming discounts into meaningful interactions with customers.


Meet Bruce, a passionate advocate for customers’ needs and a skilled communicator. With a background in customer service, Bruce understands the importance of listening to and addressing customer concerns.