I'm building an e-commerce store using WordPress and WooCommerce with the Electro theme. I've encountered a strange issue:
When I add a product to the cart and proceed to checkout, the total amount sometimes appears correctly, but other times it shows as zero. If I make any changes on the checkout page, such as updating the shipping price or selecting a different state, the total amount resets to zero. However, when I refresh the checkout page, the correct total amount reappears. This is quite confusing, and I’d appreciate any help in resolving it. Has anyone faced a similar issue or knows how to fix it?