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


Display Total Product Sold Quantity to WooCommerce Page

Currently your customers have no idea how many quantity or downloads have been ordered from your WooCommerce site. So in order to apply this change, you can add below code into your child theme’s functions.php file. This snippet code show you how to display total product sold quantity WooCommerce page.

How to Change WordPress Post excerpt length

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

WordPress Forgot Password Form Without Plugin

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

Add Product to Cart if Cart Empty Woocommerce

We can add product to WooCommerce cart using add_to_cart() function with $product_id. Code goes in function.php file of your active child theme (or active theme).

Enable SVG Support in WordPress

For Enable svg support you’ll need to add the following code to your current themes functions.php file.

Add an Empty Cart button in WooCommerce

WooCommerce default not provide Empty Cart button but we can two simple steps to add Empty Cart button on cart page. The first one is to add below code in your functions.php file (this file is located in your theme folder): Second step is to add Empty Cart Button after Apply Coupon button. This code […]


Leave a Reply

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