Created
April 27, 2020 13:56
-
-
Save sarangs07/409447f97ced33261cebf6b6992a7fd4 to your computer and use it in GitHub Desktop.
Disable the Autocomplete zipcode on the CartFlows Checkout page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* How to add the custome code. | |
* | |
* Please follow below instructions: | |
* 1. Copy the below code. | |
* 2. Open your child theme's functions.php file. | |
* 3. Paste the copied code at the very bottom of it & save the file OR upload it on your server/hosting. | |
*/ | |
// Disable the Autocomplete zipcode. | |
add_filter( 'cartflows_autocomplete_zip_data', 'wa_disable_autocomplete_zipcode' ); | |
function wa_disable_autocomplete_zipcode(){ | |
return 'no'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment