WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Bulk Discount
Update Cart issue (9 posts)

  1. cmagnet
    Member
    Posted 5 months ago #

    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/

  2. scweb
    Member
    Posted 5 months ago #

    Hello - I am noticing the same problem - if I update cart, it applies the discount again. Was there a solution to this?

    Thanks

  3. Rene Puchinger
    Member
    Plugin Author

    Posted 5 months ago #

    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.

  4. scweb
    Member
    Posted 5 months ago #

    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

  5. Rene Puchinger
    Member
    Plugin Author

    Posted 5 months ago #

    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?

  6. scweb
    Member
    Posted 5 months ago #

    It was OK yesterday - but I'm sure it's something I've done wrong!

    I did remove plugin and re-install....

    http://www.uk-barber-supplies.co.uk/product/black-and-white-pluko-hair-wax-50ml-tub/

    Thank you

  7. Rene Puchinger
    Member
    Plugin Author

    Posted 5 months ago #

    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').

  8. scweb
    Member
    Posted 5 months ago #

    Yay! Thank you

  9. the91end
    Member
    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic