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.
- 1 year code updates
- Free installation & setup for absolute beginners
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.