Support » Plugin: Quantities and Units for WooCommerce » Rule being applied to all Customers instead of just Wholesale Customers

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Nick Verwymeren

    (@greatwitenorth)

    I know there’s been issues in the past with that plugin. I have a copy of 2.1.3 and there definitely some issues with the plugin trying to use undefined variables and outputting errors. Also I believe there a problem with the way the author of that plugin is retrieving roles. He’s using the role slug in some instances, and the name in others which causes inconsistent behaviour. Hopefully the author will fix these issues.

    Nick – can you recommend another plugin that will force buying a product in a certain quantity based on a user’s role?

    Plugin Author Nick Verwymeren

    (@greatwitenorth)

    Quantites and Units should be able to do this. After further investigating, I’ve found that role based rules were not working like you said. I’m going to issue an update later today to fix this. Keep an eye out for 1.0.10.

    Plugin Author Nick Verwymeren

    (@greatwitenorth)

    1.0.10 has been released. Please let me know if this sorts out the issue you were having.

    Yes, this release fixes the user role issue. Thank you! However, now I get the following message when a wholesale user tries to check out:

    Maximum product count exceeded
    You must have a maximum of products in your cart. You currently have 6 products.

    I set a maximum of 6000 and a minimum of 6 with incremental steps of 6. Have I set something up wrong?

    thanks for your help

    Plugin Author Nick Verwymeren

    (@greatwitenorth)

    ok this is strange. I’m having trouble reproducing it on my local test site. I’ve set a max to 10 and I was successful checking out with 10, 2 and 8 quantity. Do you have a link I could checkout?

    Yes: http://lightlelodge.com

    This is my test site. The wholesale customer account is:

    id: lkparrish
    pw: blahblahblahblah

    I force wholesalers to buy in quantities of 6 for everything.

    Plugin Author Nick Verwymeren

    (@greatwitenorth)

    I don’t believe this error is coming from Q&U. This error message isn’t even in the plugin code. So I think there may be another plugin on your site limiting the overall cart quantity.

    I installed another Wholesale Prices plugin and now everything is working as it should. Thank you for your support. 5 stars!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Rule being applied to all Customers instead of just Wholesale Customers’ is closed to new replies.