Created
June 3, 2020 17:21
-
-
Save git-bhanu/2fa1221c13fc65562a3a86bcc8434cf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('woocommerce_before_checkout_form_cart_notices', 'add_custom_coupon_message'); | |
function add_custom_coupon_message( ){ ?> | |
<div class="class-disclaimer"> | |
<div class="dicon"> | |
<img src="https://online.crushfitnessindia.com/wp-content/uploads/2020/04/Group-1398.svg"> | |
</div> | |
<div class="text"> | |
<h3>Pay as much as you want- Only for Group Fitness Classes</h3> | |
<p>Just enter the amount you want to pay in multiples of <span style="font-weight: bold">10</span> in the <span style="font-weight: bold">'Coupon Code field'</span> at checkout. </p> | |
<p>For example, if you want to pay INR 40 for a class, enter <span style="font-weight: bold">40</span> in <span style="font-weight: bold">'Coupon Code field'</span> and the price for the class will change to INR 40 plus GST</p> | |
<p>For 100% discount use coupon code- 'FREE', we hope you would support us in these COVID-19 times and use this code only if absolute neccessary.</p> | |
</div> | |
</div> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment