Cart bug!
-
item total does not update when choosing a different donation amount in cart, so something is buggy in the cart update function
-
Hi there,
I’ve tested with WooCommerce 2.6.2 and haven’t been able to replicate this issue. Can you please test with the latest version of the plugin (1.0.5) and let me know whether you’re still experiencing this problem with a default amount set on the donation?Hi,
I have installed the update, still not working … using the mh-magazine-lite theme for ex.
I have tried it with several themes already, in 70% of the cases the item total and further on the valus in cart are not updated.Now I know some themes are modifying stuff, but it’s still weird that your plugin is not working with so many of them.
Can you please tell which function from original woocomm is responsible for that (calculating item totals in cart)?
Is it possible to copy the original woocomm files somehow in theme directory to eventually override the eventual modifications made by theme? If so, which ones?Thx
Hi
Any news with this?
Somethinh is either missing or is not quite right in the update cart function you are using; I checked woo files in themes, the cart function does not seem to have been changed there….Thx
Hi there,
The plugin hooks into standard WooCommerce functions to set the price when loading the cart. The hook for cart item price retrieval is woocommerce_get_cart_item_from_session, and for changing the price in the cart, woocommerce_update_cart_action_cart_updated. Any chance I could get access to a development site with the theme(s) you’re running into issues with so I can do some tests to try to get to the bottom of this?Hi,
Even after last update this weird behavior is still there; I can’t make login credentials public here, that would be nuts.Fact is that, on the cart page, the “total” corresponding to the donation product line is NOT updating with the dynamic value entered by the user. No matter what the user enters, the “total” on that line remains stuck to the standard value entered in the settings (be it 0, or 10 or whatever).
The general TOTAL gets updated correctly though, so the problem is only with the donation product line in cart (see screen)
Hi there,
I’ve been unable to replicate this issue on our development site which runs the default Twenty Sixteen theme, so my guess is that it’s a theme-specific issue due to your theme not properly retrieving the cart item price (looks like it’s going to the product price instead of the in-cart price).I certainly wouldn’t advise you to post login credentials publicly, but if you would like me to troubleshoot further on your site setup, you can reach me directly at [email protected].
Hello, i have the same issue. On the Product line is the standard value I set on the product. Say I sett 10 that is shown even if the user enters 30. The total is correct, but on the invoice the value is 10.
Hey there,
Just to clarify, is the donation amount incorrect on the WooCommerce order page (WooCommerce > Orders in the admin), or on a PDF invoice that you’re generating using a third party plugin?
Here is a image of the cart. The value set is 50 I ( the user ) set the donation to 100.
So the total is right but the unit price is stil the initial value set on set donation product.
Hey there,
Any chance I could take a look at the backend of your site? I’m thinking maybe your theme isn’t pulling the price correctly when displaying the price in cart (i.e. it’s retrieving the product’s regular price rather than the price in cart). If you’d like me to investigate, you can email login details to [email protected].HI, sendt you a user to the backup site any findings?
Hello,
The account you sent does not appear to have access to the theme editor (Appearance > Editor), so I didn’t have a look at your theme’s code. However, from what I can see by testing it looks like the theme’s cart page is incorrectly retrieving the product’s regular price (default donation amount) rather than the overriden amount set in the cart. This would appear to be a theme-specific issue, not related to our plugin.
The topic ‘Cart bug!’ is closed to new replies.