Categories
Woocommerce

How to add, remove or customize any link from My Account menu in woocommerce

When you install Woocommerce on your website, it will automatically create My Account page for you. If you visit the My Account Page, you will see a customer account related menu links in it. Check out the screenshot below : Why change the My Account menu? There are scenarios when you may not need some

Categories
Woocommerce

Remove old items from cart when new items are added in woocommerce

Lets say you want users to click a buy now button and it should add a particular product with certain quantity to the cart by removing all other items. That’s when you will need this code handy. Just paste it in your functions.php file