In order to fix it, you need to add an event for the AJAX calls. I also added .off() so the value won’t add itself multiple times after every AJAX call.
# The Problem Important Article to read: How to solve the diagonal submenu hover problem #How to fix: 1. Use position: relative on the parent/mainmenu item. 2. Use position: absolute on the submenu/child item. 3. Toggle submenu visibility on parent hover. In this example our parent class/div/item is woocommerce.menu-cart-holder and child item is .mini-cart So, […]
# Add this code in js # On the product page minimum product can be 1, not 0. Issue fix. Add this code in JS