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

WP SITES

2892

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Checkout

Close Add To Cart Popup Modal After Specific Time – WooCommerce

$75.00

Demo Video
Category: WooCommerce Tags: fadeIn, fadeOut, jQuery, on, setTimeout, wp_enqueue_script
  • Description

This code enables you to close the popup modal which displays when you click the add to cart button in the Lukani theme for WooCommerce and any other theme which includes this feature or javascript/jQuery popup windows.

By default, the add to cart popup displays until the close icon is clicked however you add a timer so it fades out after any number of milliseconds.

Note : This code will also work with Bootstrap JS Modal in any WordPress theme.

What’s Included

  1. 1 year code updates
  2. Free installation & setup for absolute beginners

Installation

There’s 2 steps.

Step 1 – Add the PHP code to the end of your child themes functions file.

Step 2 – Upload the file named atc.js to your child themes root directory making sure the path matches the path in the PHP code.

Primary Sidebar

Guaranteed code

Written by Brad Dalton specialist for WooCommerce. Read More…

Advertise · WPEngine · Genesis · Log in

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

Loading Comments...
 

You must be logged in to post a comment.