How to disable shipping and payment in Woocommerce?

In the settings of Woocommerce delivery is deactivated (including each delivery method), you also disable payment methods.
On the checkout page (in our case, applications) are hidden fields address 1, address 2, country, region (there is only city). Outlets in all countries, address customer default geolocation.

When ordering popping up "invalid payment method", but it is disabled as delivered.

I just need to issue orders/requests to the email notification was falling and the Manager then he would be contacted.
July 12th 19 at 17:01
4 answers
July 12th 19 at 17:03
so you can probuvati

add_filter('woocommerce_cart_needs_payment', 'disabled_payment');
disabled_payment function () {
return false;
}
July 12th 19 at 17:05
Still says "invalid payment method.", in the settings put a tick only in "Enable YITH WooCommerce Catalog Mode", the other checkboxes are not set to set because the buttons and the checkout/application need. Just when making a request/order you wish to notify the administrator and he will contact the client and helps with the selection of goods. No delivery and payment at the time of registration should not be. - harry_Runte commented on July 12th 19 at 17:08
You may want to duplicate: On the checkout page (in our case, applications) are hidden fields address 1, address 2, country, region (there is only city). Outlets in all countries, address customer default geolocation. + I in the layout concealed a choice of payment and delivery, as they are not needed. - harry_Runte commented on July 12th 19 at 17:11
I don't need to completely remove the possibility of registration of orders / purchase requisitions. Just in the order it is not necessary to specify any payment method or shipping method. You need after ordering, just send an e-mail. - harry_Runte commented on July 12th 19 at 17:14
July 12th 19 at 17:07
tell me in what module or code you can disable the checkout page when buying goods in woocommerce? module https://wordpress.org/plugins/yith-woocommerce-cat... nepodhodit, he have all items disables the buttons and payment pages...
directory mod premium there is a separate menu disable the buttons and pages for products it does not fit, you must on the item page or when you choose the product to deactivate the payment. - harry_Runte commented on July 12th 19 at 17:10
July 12th 19 at 17:09
duck and that there are no solutions free how to make a directory on WP without the basket and that was about as comfortable in Woocommerce? I want to consider free and paid will be plan B.
you can write the plugin themselves or stupid in styles to hide - harry_Runte commented on July 12th 19 at 17:12

Find more questions by tags WordPress