Apraksts
Some shipping methods in WooCommerce just don’t need a shipping address. It can even be confusing for your customers to fill in a shipping address when they select a method like the local pick up method. Why would they be asked for that information if it doesn’t make sense?
This plugin hides the shipping address form fields at the checkout page when your customers select a shipping method that doesn’t require that information. You can turn this feature on and off for each shipping method individually at their settings pages. As a bonus, on the main shipping settings page you can select the effect of hiding and showing the form fields.
This plugin should work with any WooCommerce installation, since it hooks up to the core functionality of WooCommerce. Note that at least version 2.2.0 of WooCommerce is required. If the shipping address fields are not hiding/showing, please check your theme files first to see if they are overruling the standard WooCommerce checkout pages. If that is the case, please contact the creator of that theme first.
The plugin language is English. Dutch language files are included. Feel free to send your translation to me, so I can include it in the plugin.
Proudly presented to you by Web Whales.
Ekrānuzņēmumi
Uzstādīšana
- Download the archive and unzip it in /wp-content/plugins, upload the archive at Plugins > Add New > Upload Plugin or install via Plugins > Add New > Search for the plugin name in the search bar.
- Activate the plugin through the Plugins menu in WordPress
- Update the plugin settings in your WooCommerce settings at WooCommerce > Settings > Shipping and the individual shipping method settings pages.
BUJ
- Will this plugin work with my theme?
-
As long as your theme doesn’t overrule the default checkout page parts OR your theme has the same div classes and input field name attributes (which most themes have), this plugin will definitely work with your theme.
- The shipping address fields at the checkout page are not hiding/showing when I change the shipping method
-
This plugin responds to the WooCommerce builtin AJAX calls that are made when you change the shipping method. It also relies on the original input field name attributes and the div that’s wrapped around the shipping address fields (the one with class woocommerce-shipping-fields). As long as you see that div along with the input name attributes, this plugin should work fine. If that is the case, please contact me so we can work it out.
- Does this plugin work with shipping zones?
-
Yes, this plugin has been updated to work with the new shipping zone methods. It has also backward compatibility for older versions and for legacy shipping methods.
Atsauksmes
Autori un izstrādātāji
“WooCommerce Hide Checkout Shipping Address” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “WooCommerce Hide Checkout Shipping Address” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.3
- Updated: Support for shipping zones for WooCommerce 2.6 and later
1.2.5
- Fixed: In some cases the show/hide effect setting was hidden from the WooCommerce Shipping Settings
- Updated the tested-up-to tag to 4.5
1.2.4
- Fixed: Removed function in function causing a PHP error
1.2.3
- Fixed: Removed anonymous functions for PHP versions earlier than 5.3.0
1.2.2
- Fixed: PHP notice about calling the register_uninstall_hook incorrectly
1.2.1
- Fixed: PHP scope error when running on PHP version 5.3.x or older
1.2
- Fixed: PHP scope error when running on PHP version 5.3.x or older
- Improved: Code style is now fully compatible with WP code style guide
1.1
- Added: Support for the review order page
- Added: The container of the shipping fields has an extra class “shipping-fields-hidden” when the fields are hidden
- Improved: This plugin now removes shipping fields information from the order completely
1.0
First release