Hide payment area when no shipping method available in Woocommerce - woocommerce

how can I hide all information inside red box (Paypal,Credit Card,Term and Condition,Subscribe(mailchimp),proceed to Paypal button and Privacy policy) when no shipping method available in Woocommerce?
Thank you
see this image

Related

WooCommerce disable checkout based on shipping info that was added

I'm looking for a way to disable the checkout button for all available payment methods based on what information was just added as the shipping address. I tried using the hook woocommerce_checkout_process but I can't disable the checkout methods with this hook and it sort-of lets people checkout (just the order does not goes through) and only shows the message after the credit card information has been added and the user has clicked the checkout button. Any suggestions how I can do this?

Woocommerce - How to hide the "pay button url" on the 'my account order' page for selected payment gateway. Example: show pay button only for paypal

I have 2 WooCommerce problems
Under my-account, orders: I would like to hide the payment button for certain payment methods.
For example, only visible for paypal.
In the order email is also a "pay link" integrated.
Here also make visible only for paypal.
Any suggestions?

Display tax in woocommerce cart widget product same like checkout page

I want to display tax on woocommerce shop page side bar cart widget product list same like checkout page.
Current checkout page -> http://nimb.ws/kbn6mL
Shop page side bar woocommerce cart widget -> http://nimb.ws/JVfMtH
So if anyone knows this solution then please help me.
Please check your woocomerce tax setting tab that you have selected Display tax totals as single total then it will show you on cart page.
https://s.nimbus.everhelper.me/share/1178235/8f9h105gwa5mz3cle7vv
As you can see Woocommerce itself displays only cart subtotal on cart widget or mini cart, there will be no setting for this to enable/disable for displaying not only tax but shipping as well. So if you want to add tax and shipping related data on mini cart widget then you can add your functionality on this hook 'woocommerce_widget_shopping_cart_before_buttons' by fetching data from the WC->cart

Woocommerce payment process

The question regarding online payment, using the Woocommerce /
There is a goods page.
How on the same page to show Woocommerce checkout, so you can pay for the goods on the same page of the same product?
There is a plug-in from Woocommerce but expensive.
Can I use some hooks or somehow ajax to bring this page, a payment page?
This is what looks like on the product page, when you click on the type of payment, fields for the selected payment type should appear.
And when you click on MAKE A RESERVATION there should be a payment, everything should work Woocommerce in the same country, without transitions.
http://prntscr.com/gwvgtl

Display WooCommerce Flat Rate Shipping Options on Cart page

I'm building a WooCommerce site and I have a need to display shipping options on the cart page vs the checkout page.
Shipping is flat rate across a single country and not dependent on user location.
Is there a way to accomplish this task?
Cheers!
Go to the General tab in Woocommerce Settings.
Set the shop base address to be the Default Customer Location
If you only have a flat rate and your shop's base address is under it, that's the one that will be displayed by default.
Make sure you have done this
On Woocommerce -> Settings-> Shipping and make sure that you check the boxes
Enable shipping
Enable the shipping calculator on the cart page
Save setting and Configure shipping rates as well, hope it will help

Resources