Unverified
Hide if Local Pickup is not selected, change Address (CSS version)
This CSS should be used with the: https://codesnippets.cloud/snippet/Unkillhank/Hide-users-Address-if-Local-Pickup-is-not-selected-(PHP-version) This is the CSS combination to display a unique address, if the "other" shipping options are selected. I'm using the plugin “WooCommerce Advanced Shipping” by “Jeroen Sormani”
CSS
Voted: 0 by 0 user(s)
Copy the code, into your awesome snippets tool ;) Use the CSS option and save. Change the css ID's to yours. Look for #shipping_method_0_97676:checked + label:after And change “#shipping_method_0_97676” to yours. This is the matching PHP code for the css: https://codesnippets.cloud/snippet/Unkillhank/Hide-users-Address-if-Local-Pickup-is-not-selected-(PHP-version)
Scroll down to see more snippets from this codevault.
The author has indicated that this snippet is compatable up to wordpress version: 6.1
Free & Pro
Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.
Pro Only (Coming Soon)
You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.
Last modified:
21/01/2023
This snippet has the following status:
Unverified
This snippet has not been verified, use with caution and at your own risk. See details provided by author in sidebar and click below to find out more.
0
1 year ago
I love this snippet! Commenting on my snippet is no different than you taking selfies, LOL eat it!
Please see some snippets below related to this snippet..
WooCommerce
AI Verified
Added: 2 years ago
Last Updated: 1 year ago
It can happen that the shopping cart does not update immediately when you add products. This is due to the transmission of the products to the shopping cart via Ajax. So that this happens safely, ther...
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
In this article, we will learn to change the place order button text with our own custom text.
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
This snippet allows you to display custom content above the product meta. Product meta being the SKU, categories and tags the product belongs to. You may wish to output more important meta data using...
These are some popular snippets from this users codevault..
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
This is to “Hide the user's Address if Local Pickup is not selected” I'm using the plugin “WooCommerce Advanced Shipping” by “Jeroen Sormani”, but it doesn't seem to matter. It's currently working wit...
WooCommerce
Unverified
Added: 1 year ago
Last Updated: 1 year ago
This CSS should be used with the: https://codesnippets.cloud/snippet/Unkillhank/Hide-users-Address-if-Local-Pickup-is-not-selected-(PHP-version) This is the CSS combination to display a unique add...
Category
Snippet Status