WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Bulk Discount
2.0.11 Product Issues (25 posts)

  1. pairadyce
    Member
    Posted 8 months ago #

    Nice plugin.

    I installed the most recent version but when I went to modify the individual product attributes, the variable fields were not present (min qty and % discount). I tried deactivating various plug-ins to see if there was something in conflict but nothing was. I downgraded to 2.0.10 and the fields appeared.

    Also while working on 2.0.10 I have a client who has a variable product (t-shirts) so the customers to the site may select 1 purple shirt - M, 1 teal shirt - L. When these items are separate line items in the cart the discount is not applied. When it is one line item it works but that would not let people select different variations. Also when there are multiple lines it (on that should work and one that shouldn't get discounted), the discount is not applied at all.

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

  2. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    Thanks for your message. I'll correct the first issue ASAP.

    I'll look at your question with variable products afterwards.

  3. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    The issue should be resolved now - just download version 2.0.11 again.

    Regarding your question about product variations, there is a setting under WooCommerce > Bulk Discount called 'Treat product variations separately'. You need to have this option unchecked. Then the discount should apply even for product variations on separate lines.

    Please let me know if this works for you.

  4. pairadyce
    Member
    Posted 8 months ago #

    Thanks for fixing the first issue, shows up now!

    Regarding the second issue, I have the box unchecked but it's not yielding the results I'm thinking I should get. The product settings are minimum order of 2 for 20% discount. If I have 1 variable with 2 units ordered it works, but if I have 2 variables with 1 unit orders, it does not. I'm guessing that is by the current version design?

    I saw a similar question recently asked so hopefully it will be possible in a future version to base the discount on the total number of units in the cart and not by product.

  5. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    Regarding the variable products, it's strange that you are experiencing this plugin behaviour. If you have the appropriate settings checkbox unchecked and if you have a variable product with two variations as you write, it should count the discount together. Can you set WP_DEBUG to true in wp-config.php and see if there are any warnings or notices? Or can you possibly record a screen capture animation so that I see the steps to reproduce the situation?

  6. maxi_kaz
    Member
    Posted 8 months ago #

    First I would like to thanks Rene for this very nice plugin :)
    I also have variable products and percentage discount works grate but I have problem with flat discount ;(
    My box "Treat product variations separately" is unchecked.
    The product settings are minimum order of 2 for $10 discount. If I have 1 variable with 2 units ordered it works ($10 discounts), but if I have 2 variables with 1 unit orders it gives $20 discounts instead of $10.
    Could you help me with that?

  7. pairadyce
    Member
    Posted 8 months ago #

    Rene,

    I set debug to true and did not get an warnings or notices. I recorded a video showing what I am seeing. Hopefully it make sense but from what I can tell maybe this is not a functionality that you built yet. I show how it work if there are 2 units for 2 separate items but not 1 unit for 2 separate items.

    https://www.dropbox.com/s/28v9c2f06dpc57b/Rene%20Video.avi

    Thanks for the responses by the way!! I will drop a donation from my next invoice from the client.

  8. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    pairadyce,

    Thanks for the video, now I see the situation. It's strange because the plugin is supposed to work as you would expect. I've tried to do something very same and it works for both percentage and flat discount.

    To be able to reproduce the error, can you specify which exact version of WordPress, WooCommerce, and Bulk Discount did you use in the video? Also, which browser and PHP version did you use?

  9. pairadyce
    Member
    Posted 8 months ago #

    WordPress 3.6.1
    Woo Commerce 2.0.18
    Bulk Discount 2.0.11

    I am using Firefox 24 but I have also checked on Google Chrome with the same results. PHP 5.3

  10. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    pairadyce,

    This looks like versions are not the problem. Can you try to disable all other woocommerce extensions on your localhost (or a testing site) to see if there is no collision with other extensions?

  11. pairadyce
    Member
    Posted 8 months ago #

    Sure, give me a couple days to run through it thoroughly and I'll update you this weekend and let you know the plugins as well.

  12. maxi_kaz
    Member
    Posted 8 months ago #

    Rene
    what about my problem ;(
    My box "Treat product variations separately" is unchecked.
    The product settings are minimum order of 2 for 5 zł discount. If I have 1 variable with 2 units ordered it works (5 zł discounts), but if I have 2 variables with 1 unit orders it gives 5 zł discounts each and total 10 zł discounts instead of 5zł.
    https://dl.dropboxusercontent.com/u/9074933/same_variable2units.png
    https://dl.dropboxusercontent.com/u/9074933/2variables2units.png

    Could you help me with that?

  13. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    maxi_kaz,

    I thought your issue was the same as pairadyece's. But now when you've given this example, I can confirm that by design the result you obtain is something I intended.

    There are indeed many possibilities of how discounts can be applied. The possibility you write about has not been implemented (yet). I'm planning to write a list of new features for myself, that users requested and it will hopefully lead to new refined release.

  14. maxi_kaz
    Member
    Posted 8 months ago #

    Rene
    Thank you for your answer because I thought that is bug :) and I spent some hours trying configure right my Woo installation and another plugin ;)

    In my opinion it obvious that if you giving flat discount it should be the same for each variation, in percentage discount you have same percentage for each variation. Please correct me if you think I am wrong.

    Please, could you be so kind and treat this as a bug and fix it next release.

  15. pairadyce
    Member
    Posted 8 months ago #

    Rene, I tried disabling my plug-ins with the same results, I am stuck!

    Here is what is currently running:
    Akismet by Automattic version 2.5.9,
    All In One SEO Pack by Michael Torbert version 2.0.4,
    Contact Us page - Contact people LITE by A3 Revolution version 1.1.2.1,
    Easy Contact Forms by ChampionForms.com version 1.4.7,
    Features by WooThemes version 1.3.0,
    Get page IDs by Ionut Staicu version 1.0.1,
    Image Widget by Modern Tribe, Inc. version 4.0.8,
    Jetpack by WordPress.com by Automattic version 2.5,
    Newsletter by Stefano Lissa version 3.4.3,
    Page Links To by Mark Jaquith version 2.9.3,
    Quick Page/Post Redirect Plugin by Don Fischer version 5.0.3,
    Spiderpowa Embed PDF by Jimmy Hu version 1.0,
    Testimonials by WooThemes version 1.4.1,
    The Events Calendar by Modern Tribe, Inc. version 3.1,
    WooCommerce Accepted Payment Methods by jameskoster version 0.4,
    WooCommerce Bulk Discount by Rene Puchinger version 2.0.12,
    WooCommerce Print Invoices & Delivery Notes by Steve Clark, Triggvy Gunderson, David Decker version 2.0.2,
    WooCommerce Product Add-ons by WooThemes version 2.4.2 – 2.4.3 is available,
    WooCommerce Product Gift Wrap by Mike Jolley version 1.0.1,
    WooCommerce Sequential Order Numbers by SkyVerge version 1.3,
    WooCommerce Sold Out Products by Gerhard Potgieter version 1.0.4,
    WooCommerce by WooThemes version 2.0.18,
    WooThemes Updater by WooThemes version 1.1.3

  16. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    maxi_kaz,

    I will add this functionality to the next version. I will retain the old way of applying the discount as well - there will be possible to configure which way to treat the variable products.

  17. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    pairadyce,

    I'd really like to help you with the issue you are experiencing, but I need to reproduce the issue on my localhost. I tried different settings and it's still working as intended on my side.

  18. maxi_kaz
    Member
    Posted 8 months ago #

    Thank you Rene :)
    When could we expect new version? of course I'll be happy to send donation :)

  19. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    I'm quite busy at the moment so I can't tell exactly when will new version be available, but indeed there is going to be a new version with few minor features including the one discussed here.

  20. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    New version 2.1 of Bulk Discount adds another option for product variations to apply discount to product variations as if they were one product. This should help.

  21. maxi_kaz
    Member
    Posted 8 months ago #

    Hi Rene I tested plugin. I checked new check-box ("You need to have this option checked to apply discounts to variations as if they were one product.") but nothing has changed ;(

  22. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    Hi maxi_kaz,

    - Do you use Flat discount? (This feature doesn't apply for Percentage discount).
    - You need to enable Bulk Discount on each individual product (there is a new feature which makes disabling Bulk Discount on product level more reasonable). This needs to be done only once - for example after upgrading to version 2.1.
    - Did you clear the WooCommerce sessions after making changes in global settings?

    The result should then look like this: http://awesomescreenshot.com/0c11y7mx38

    This means that the flat discount is applied only to the first product variation in cart.

  23. maxi_kaz
    Member
    Posted 8 months ago #

    Hi Rene
    There is one answer for all your questions - YES :)
    When I am adding two different variations to cart nothing happens ;(, if I add two identical variations discount is working, if I add two identical variations and one different discount plugin works tricky :( https://dl.dropboxusercontent.com/u/9074933/2variables3units.png

  24. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    maxi_kaz,

    What are the variable product bulk discount settings? Which WordPress and WooCommerce versions are you using?

  25. Rene Puchinger
    Member
    Plugin Author

    Posted 8 months ago #

    I checked the issue again and there are indeed some problems. I reverted the feature to the state as it was before.

    This means the administrator can choose to apply discounts to variations either individually or by a shared quantity. In the latter case, the quantity is determined by the sum of individual quantities in the cart, but the discount in applied to EACH of the variation lines in the cart.

    In future I'll probably dig into this feature again to add the option that maxi_kaz is requesting.

Reply

You must log in to post.

About this Plugin

About this Topic