Advertisement
majeedraza

WooCommerce - Add content before order payment

Apr 30th, 2020
525
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. <?php
  2.   // WooCommerce - Add content before order payment
  3.   add_action( 'woocommerce_review_order_before_payment', 'whats_included' );
  4.   function whats_included() {
  5.     print 'What\'s included?';
  6.     print '<ul>';
  7.     print '<li>Pillow</li>';
  8.     print '<li>Pillow Cover (Cotton)</li>';
  9.     print '<li>Care Card</li>';
  10.     print '</ul>';
  11.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement