WooCommerce WordPress
May 3, 2020

Disable Payments on WooCommerce

You are using WooCommerce for your eCommerce website.

A thing is you want to disable payment on your website, but disabling in WooCommerce payment setting WooCommerce > Settings > Payments will not work and display There are no payment methods available.

Add this code to functions.php file of theme.

Related Post


How to Create Repeater Elements Using Visual Composer API

Learn how to create repeater fields for custom element of Visual Composer & WP Bakery. To achieve this, we need to write 2 functions. First one for create new element, Second one for add shortcode. function will be hooked to these specific action: vc_before_init The code Displaying Fields Values on the Frontend with shortcode. Visual […]

How to Change WordPress Post excerpt length

For Change post excerpt length add following code in your current themes functions.php file.

WordPress Register Form Without Plugin

Are you need simple register form without plugin for your WordPress website? Yes, Then i have created [wc_register_form] shortcode with quick simple code. So you can add register form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put [wc_register_form] shortcode where you need register form. So you need to follow […]

How to create custom widgets in wordpress

Include the following code file to your current themes functions.php file Here is the code for sidebar register.

Redirect to Checkout after add to cart WooCommerce

Redirecting the user to the checkout page when they’ve added a product to their cart. This may come in handy if you only sell one product / one product per time. The filter woocommerce_add_to_cart_redirect makes it easy to redirect user to custom page. Code goes in function.php file of your active child theme (or active […]

Enable / Disable “Ship to a Different Address” WooCommerce

To make the default “Ship to Different Address” checkbox checked in WooCommerce Checkout page, add below code on functions.php file. Disable “Ship to A Different Address” on WooCommerce Checkout, add below code on functions.php file.


Leave a Reply

Your email address will not be published. Required fields are marked *