Forum Replies Created
-
AuthorPosts
-
MarošParticipant
Yes, we are using custom cart widget.
We use function WC()->cart->get_cart_subtotal() to get the total.
Is there any way to get the correct price in there?
Thanks for your answer!
MarošParticipantHello,
yes the price is correct when you navigate to the cart it updates like it should
BUT
when you add product and stay on the same page the price in the cart in the top-bar updates incorrectly, by the default price of the product.Do you see the issue? Any suggestions what might be causing this?
MarošParticipantBut regardless my Custom woocommerce files, there is still one issue:
The cart is not updating correctly on the product page
– when I’m adding a variation that I already have in cart then it updated correctly
– when I go to My cart page it also updates
– but otherwise when I add a product it updates only by the default product price, not total of all selected variationsI’ve been trying a lot of things to make it work but still no luck.. do you have any suggestions what might be the culprit?
Thanks for your answer!
MarošParticipantOK, I found out that some custom Woocommerce theme files are interfering with cart functionality, it seems to be working now 🙂
MarošParticipantHi and thanks for your response.
I setup variable product correctly, disabled almost all plugins, and issue persist: it can’t add to cart.
You can see my product here: https://devshop.aquacity.sk/produkt/novy-testovaci-produkt/
I’m running newest Woocommerce 3.5.7 and WordPress 5.1.1, PPOM & PPOM PRO 17.0
Any idea why it doesn’t work like it should be?
- This reply was modified 5 years, 1 month ago by Maroš.
MarošParticipantI would like to update my question:
I realized that “add to cart” button doesn’t work with Variable products:
Is Variation Quantities not supported within Variable products? -
AuthorPosts