Pawan Kumawat

Disable plugin update in WordPress

While it’s generally not recommended to disable plugin updates in WordPress due to security and functionality improvements, there might be specific cases where you need to prevent certain plugins from updating. Keep in mind that doing so may leave your site vulnerable to security issues and may cause compatibility problems with future WordPress versions.

Add same product to cart twice instead of changing quantity in Cart Page.

How to add the same product twice to cart instead of changing quantity in WooCommerce   In normal case when we increase quantity of product in WooCommerce cart it simply increase quantity of same product that’s one product with incremented quantity. But In some of cases, We like to have product in WooCommerce added in the cart as separate items and not as the same item with the changed quantity. Basically we need to display separate cart items for product quantity > 1. We can do that with pasting the code To the functions.php of theme.   This Is Done Basically In Two Steps:   Step 1: Split product quantities into multiple cart items.   In This Hooks Basically, when we are adding a new product to cart ,we have added a unique key to each cart item meta. that’s why the same product become distinct product each time. For

Categories