Created
July 30, 2018 06:59
-
-
Save pejantantangguh/cf322185b1cb81923d0b8c8816fa349c to your computer and use it in GitHub Desktop.
Adding notes on selected shipping method woo
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
<?php $chosen_methods = WC()->session->get( 'chosen_shipping_methods' ) ;?> | |
<?php $chosen_shipping = $chosen_methods[0];?> | |
<?php if ($chosen_shipping == 'local_pickup:26') : ?> | |
<p><small>Collect your order and enjoy a 30% voucher off your next in store purchase of artwork</small></p> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment