Bryan Purcell
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] Quantity Rules not workingWhat features are you looking for? What types of restrictions or allowances are you looking to provide to wholesalers?
Forum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] Quantity Rules not workingI just posted a new update that should fix the site-wide rules issues you’re seeing (2.1.9)
Can you please try it out and let me know if it resolves the problem.
thanks,
BryanForum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] Quantity Rules not workingAre you using a custom database prefix, by chance? I just fixed a bug that was causing problems when there was a custom database prefix (2.1.8)
No, not at this time. I’ll put this on the todo list for a future release!
I like the idea!
Forum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] Need to Apply to Cart Totals OnlyThis feature isn’t part of the plugin at this time – There’s a gist available here that might be able to help:
Forum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] Plugin Doesn't Work – Sigh!Looking into this now! You’re saying that the rules only work for guests, not logged-in users?
Hey There – I just pushed an update that fixed an issue we were seeing with the roles. Can you please give it a try and let me know if you’re still seeing the issue?
thanks!
BryanForum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] The rule doesnt workHey Guys – just pushed the update w/ a fix for the role selection we were seeing, and a guest option. Can you please give it a try and let me know how it’s working?
thanks!
BryanForum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] Quantity rule for visitorsHey Guys – just pushed the update w/ a fix for the role selection we were seeing, and a guest option. Can you please give it a try and let me know how it’s working?
thanks!
BryanForum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] Quantity rule for visitorsHey Coolhat –
Yeah – this feature is finished. I’m just sorting out some plugin repo access issues so I can push it up as an update.
Forum: Plugins
In reply to: [WooCommerce Advanced Product Quantities] The rule doesnt workHey Guys – thanks for your patience with this. I’m reading an update, and will have a fix for this pushed (Along with an option for Guest users) later in the week!
It seems like all this is saying is that someone tried to add a non-product, or an invalid product to the cart. What we don’t know is how that could have happened, but this validation code would fail. My question is, why doesn’t it fail earlier? I would think we shouldn’t get to this validation filter if the product id is invalid. this filter hook provides an id, and I’d say a precondition for this validation method *should be* that the product id is a valid id, which would never fail when we use get_product to retrieve. Are people complaining about the errors? maybe we could put in something to check if the result of get_product is false, and if so, error log the product_id ?
Are you on the latest version of WC?
It looks like the code should be checking to make sure a valid product is found, and not just assuming it’s found, which is what it’s doing now. I’ll update the plugin so it won’t choke when this issue pops up. But from what I can tell, it looks like a bug in WC.
I’d like to check to see if the plugin is causing this issue. Can you try to deactivate the Advanced Product Quantities Plugin and let me know if the issue persists?
Can you try to disable the ACQ and let me know if the issue persists?