• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2966

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Checkout
  • Log in

Add Notice On Shipping Method Change Using WP Ajax in WooCommerce

Cart Page Notice When Local Pickup Selected

$35.00

Category: WooCommerce Tags: jQuery, sanitize_key, shipping_method, wc_add_notice, wc_print_notices, wp_ajax_chosen_shipping_method, wp_ajax_nopriv_chosen_shipping_method
  • Description

This PHP code includes jQuery which enables the store owner to display a dynamic message on the cart and checkout pages when each shipping method is selected like this :

Code Installation

Copy & paste the PHP code to the end of your child themes functions.php file or custom functionality plugin OR, install the zip folder as a new plugin.

Styling

Optionally, copy and paste the CSS to the end of your child themes style.css file.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Code written by Brad Dalton specialist for Genesis & WooCommerce.

Advertise · WPEngine · Genesis · Log in

  • Code Snippets
  • Tutorials
  • Videos
  • Tags
  • Account
  • Checkout
  • Cart
  • Hire Me
  • Log in
 

Loading Comments...