Search the site:

Home Blog Code Snippets

Category: Code Snippets

How to automatically Complete WooCommerce orders when they go to the Processing status

Every e-commerce site requires tracking and managing orders which can be quite a daunting task for the administrator, considering the amount of orders that an average high-traffic e-commerce website receives per day. When it comes to WooCommerce, an order gets created as soon as the Checkout process is completed. According to where the order is […]

How to display “You Save x%” below sale prices for simple and variable products in WooCommerce

We all know how discounts lure customers and increase sales. But showing that you are selling an item for a lesser price isn’t sufficient these days, with all retailers & ecommerce websites offering discounts at the same time. When only the old and new prices are displayed, the customer is left to do the math […]

How to add charges or discounts for different payment methods in WooCommerce

We see on ecommerce websites that with each payment method you choose while checking out, there is often a service charge or even a discount associated. It is also noteworthy that the service charge for Cash-on-Delivery is higher than that for alternative payment methods. This is to increase the chances of pre-payments. Pre-payments help to […]

How to rename the Add to Cart button if the product is already added to cart in WooCommerce

You may have encountered while shopping on e-commerce websites how sometimes, a product gets added more than once to the shopping cart by accident, thereby increasing the quantity of the same product. Many times, this quantity and price may even be overlooked during the Checkout process, and you may get caught in a different hassle […]

from purchased

Subscribe Now