WordPress.org

Support

Update Cart issue

  • Hello, I am running a WooCommerce e-shop with the following versions:
    Wordpress 3.8.1
    WooCommerce 2.1.2

    I don’t know if this issue was also in the past, but I noticed it now. When I add a product in the cart everything is fine and the discount as set from the “Woocommerce Bulk Discount” plugin is properly applied. But, if I choose to “Update Cart” without having done any changes (added more products or increased a product’s amount) then for some reason it reapplies the discount to the already discounted price.

    So, if I have a product which costs, let’s say, $100 and I have 10% discount on this product with the plugin, on each “Update Cart” or “Cart” page refresh it drops by $10 every time and it sets as the original price the previous discounted price.

    If you select though “Proceed to Checkout” everything is normal, so in the end no Order is messed up, BUT it’s very confusing for a customer who might do this action.

    I am letting you know in case you are making a plugin update in order to include a fix for that as well!

    Cheers

    https://wordpress.org/plugins/woocommerce-bulk-discount/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello – I am noticing the same problem – if I update cart, it applies the discount again. Was there a solution to this?

    Thanks

    Plugin Author renp

    @rene-puchinger

    Hi. This issue appeared using Bulk Discount version lower than 2.2 and WooCommerce 2.1.x. In other words, Bulk Discount was not compatible with WooCommerce 2.1.x.

    Today I uploaded new version 2.2 of Bulk Discount which resolves this issue.

    In case of any other problems related to this update, please report them here.

    Great – thanks!

    Only thing is now, I’m not seeing discounted price next to old price?
    It is showing (INCL. xx% DISCOUNT) next to subtotal, but not discounted price of item next to original price.

    I guess not the end of the world, but would be perfect if that was possible…

    Many thanks
    S

    Plugin Author renp

    @rene-puchinger

    Scweb,

    This should work as well – see the screenshot http://awesomescreenshot.com/0242e4sm85

    Can you provide a link to your store so that I can see the problem?

    It was OK yesterday – but I’m sure it’s something I’ve done wrong!

    I did remove plugin and re-install….

    Black and White Pluko Hair Wax 50ml Tub

    Thank you

    Plugin Author renp

    @rene-puchinger

    I think that the problem might be actually with your theme. In WooCommerce 2.1 there are lots of changes on code level. Try to find something like this code snippet in your theme code:

    add_filter( 'woocommerce_cart_item_price_html', ...)

    For WooCommerce 2.1 compatibility the filter name must be ‘woocommerce_cart_item_price’ (i.e. without the suffix ‘_html’).

    Yay! Thank you

    Hi, i also face this problem on WooCommerce Cart widget.
    I am using WooCommerce 2.1.9 and Bulk Discount 2.2

    Is there any workaround?

    I noticed when the filter_item_price function is called the discount is already applied to the $price variable, but i don’t know where or when it was applied.

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Update Cart issue’ is closed to new replies.
Skip to toolbar