Dynamically Add a Coupon Code Bar to Specific Product Pages
When you’re running an online shop you’ve made with Divi and WooCommerce, you’ll occasionally want to show coupon codes on your website to increase the sense of urgency. Across the web, you’ll notice that many online shops share the coupon codes in a bar that’s stuck to the top of the page. Now, with Divi’s Theme Builder, you’re able to automatically add such coupon code bar to products that are eligible for the coupon code.
There are several parts to this tutorial, from setting up the coupon code to creating a separate product template for products in the discount category.