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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Checkout
  • Cart
  • Videos

Conditional Datepicker for WooCommerce Checkout Page

$75.00

Demo Video
Category: WooCommerce
  • Description

This code adds a jQuery datepicker to the checkout page in WooCommerce which :

  • Excludes customers from selecting weekends for delivery
  • Disable the delivery date picker for a specific date
  • Disable the datepicker for products from a specific category
  • Conditionally displays when flat rate or free shipping is selected and hides when local pickup is chosen
  • Adds the delivery date to your order emails sent to customers and site admins

Exclude Weekends from datepicker for deliveries

Disable Datepicker by Date

Set the date on line 34.

Disable or Enable Datepicker by Category

Set the category slug on line 39.

Installation

Install the zip folder as a new plugin or copy & paste the code from the file to the end of your child themes functions file or custom functionality plugin.

You may also like…

  • Add Delivery or Shipping Date Picker To WooCommerce

    Delivery Date Picker for WooCommerce

    $75.00
    Add to cart

Primary Sidebar

Cart

Code written by Brad Dalton specialist for WooCommerce with more than 10 years of experience.

Advertise · WPEngine · Genesis · Log in

  • Code Snippets
  • Tutorials
  • Videos
  • Account
  • Checkout
  • Cart
 

Loading Comments...
 

You must be logged in to post a comment.