Hello,
With the new version i can no longer use the function “isa_wc_get_product_max_limit” now called “wc_get_product_max_limit” in my child theme’s functions.php file. This was very handy in the previous version where i could override the “woocommerce_quantity_input” function.
Now site returns the error “PHP Fatal error: Uncaught Error: Call to undefined function wc_get_product_max_limit()”
Can this be fixed?
]]>When limiting a product quantity and trying to add more then the limit to the cart a popup shows up saying “Please select a value that is no more then …” – I need to translate that string but can’t find it on the plugins po file nor in woocommerce. Where’s this popup comming from and how to translate it to German? Thanks
Screenshot: https://mega.nz/file/4VQRBK5K#2iOdFPLdYb5rV8VZIBDmeZq0hW495xRnq81cQiJFITs
Any plans on declaring support?
]]>When I updated the plugin there was an error on missing file. Can you please have it check? From version 1.52 to 1.6
The plugin?woocommerce-max-quantity/woocommerce-max-quantity.php
?has been deactivated due to an error: Plugin file does not exist.
Hi, I am not able to set the text line “You can add a maximum of 60 Booklet BVMW’s to your cart. You already have 60.” into german.
I′ve tried it with Loco Translate, no result is visible in the frontend.
I′ve tried it by editing the files “max-quantity-for-wc-shops.php” and also in file “max-quantity-for-wc-shops.pot” and uploaded it via FTP.
Nothing worked out. No german text showing up in the frontend.
Cache cleared a thousand times.
Does anybody knows, where I can change the text
“You can add a maximum of %1$s %2$s’s to %3$s. You already have %4$s.”
Thanks a lot, nice greetings Sandra
]]>There seems to be an issue with the new update that causes it to disable itself.
Warning: file_get_contents(/home/customer/www/***************.com/public_html/wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php): Failed to open stream: No such file or directory in?/home/customer/www/*******************.com/public_html/wp-includes/functions.php?on line?6651
]]>It appears that this plugin has been abandoned. I am going to fork it and make some changes, in particular get rid of some apostrophes e.g. plural of website is websites
, not website's
If you have other suggestions of tweaks needed, please add them here. I will update with the name of the new version ASAP.
]]>Any suggestions for an alternative plugin that is as simple as this is to use?
]]>Is this plugin still active, if so can it be updated to show it is? Or has it been abandoned?
]]>We are using your plugin:- WooCommerce Max Quantity
we want to know if your plugin is compatible with PHP 8.1 or not.
We would love to know ASAP.
]]>Hello there,
Hope you are doing well.
I am using WooCommerce & WooCommerce Product Bundles paid plugin.
I have set maximum quantity per order 5 and product bundle quantity is 6.
I have set limit 5 using WooCommerce Max Quantity(https://www.ads-software.com/plugins/woocommerce-max-quantity/) plugin.
After doing that I am not able to add 6 units of products in my custom box product.
It’s should be reflect.
How can I set quantity limit?
Thanks.
]]>Hello,
i am using the plugin and restricted the add to cart to 2 pieces.
When i want to add more than 2 pieces to the cart there is a pop up.
Please see following screen.
https://snipboard.io/g9GBxe.jpg
How can i remove the pop up message?
Thank you.
]]>Is it possible to add a maximum quantity for a category, not for product only?
]]>The plugin has a conflict with variable product. When products have stock control enabled, and a maximum quantity of stock is set, you cannot add the product to the basket.
]]>In woocommerce logs I see the following fatal error pop up several times today alone.
2021-02-01T11:28:31+00:00 CRITICAL Uncaught Error: Call to a member function is_sold_individually() on bool in /wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php:83
Stack trace:
#0 /nas/content/live/ecosmetic/wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php(99): isa_wc_get_product_max_limit(280996)
#1 /wp-includes/class-wp-hook.php(287): isa_wc_max_qty_input_args(Array, Object(WC_Product_Simple))
#2 /wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#3 /wp-content/plugins/woocommerce/includes/wc-template-functions.php(1727): apply_filters(‘woocommerce_qua…’, Array, Object(WC_Product_Simple))
#4 /wp-content/plugins/woocommerce/templates/single-product/add-to-cart/simple.php(42): woocommerce_quantity_input(Array)
#5 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/nas/content/li…’)
#6 /wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php on line 83
How can I resolve this issue?
]]>Hello!
Is it possible to set a maximum allowed backorders’ quantity for a product?
If so, would it be possible for an order to be made for only up to the maximum stock quantity and from 0 stock to the maximum allowed backorder quantity?
Then, when maximum allowed backorders are made to change status to ‘Out of stock’ ?
Thanks!
]]>hi,
please quote for changing action by adding to card when item amount already max in cart. I need not just redirecting to item page, I need stay on same page(shop frontpage) and have same notification message.
thank you
]]>Hi,
Hoping you can help.
I am using your plugin with a custom script from Business Bloomer to add a free sample button to my product pages.
https://www.businessbloomer.com/woocommerce-order-free-sample-single-product-page/
You setup a Sample product which is used for all products and the actual product name is appended in the cart.
THe problem is with your plugin enabled it wont let me add 2 of the actual product to the cart even though there is no limit set on the actual product. I have a limit of 4 set on the Sample product which works fine.
But if you try add 2 of Product A to the cart it says only 1 is allowed and I have not set this limit anywhere.
I tried setting the global limit to 10 just in case but it has not fixed the problem.
You can add 4 samples as I have set and the limit works fine. I just cant work out where this limit of 1 is coming from for the other products?
They are not set to be sold individually either.
]]>How can I set different limits on each product variation?
I see I can set it on a variable product but not on each variation, is there a way?
thanks
]]>The plugin was working perfectly, until last woocommerce update. When the user tries to checkout, there is a memory leak, as all the available memory is used up.
Plugin version: 1.5.2
Wordpress version: 5.5 (was happening with last 5.4 too)
Woocommerce version: 4.3.2 (I think it started happening with this version)
Error shown in apache log:
[Thu Aug 13 10:32:35.441682 2020] [proxy_fcgi:error] [pid 31813] [client XX.XXX.XX.XX:0] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1679360 bytes) in /home/XXXX/web/XXXX.com/public_html/wp-includes/wp-db.php on line 1999', referer: https://XXXX.com/finalizar-compra/
Wordpress info:
### wp-core ###
version: 5.5
site_language: es_ES
user_language: es_ES
timezone: Europe/Madrid
permalink: /%postname%/
https_status: true
user_registration: 0
blog_public: 1
default_comment_status: open
multisite: false
user_count: 4
dotorg_communication: true
### wp-paths-sizes ###
wordpress_path: /home/XXX/web/XXX.com/public_html
wordpress_size: 391,43 MB (410439676 bytes)
uploads_path: /home/XXX/web/XXX.com/public_html/wp-content/uploads
uploads_size: 394,37 MB (413523323 bytes)
themes_path: /home/XXX/web/XXX.com/public_html/wp-content/themes
themes_size: 4,52 MB (4740554 bytes)
plugins_path: /home/XXX/web/XXX.com/public_html/wp-content/plugins
plugins_size: 120,40 MB (126244119 bytes)
database_size: 116,89 MB (122568704 bytes)
total_size: 1,00 GB (1077516376 bytes)
### wp-dropins (1) ###
advanced-cache.php: true
### wp-active-theme ###
name: XXX (XXX)
version: 1.0.0
author: XXX
author_website: https://XXX.es
parent_theme: Astra (astra)
theme_features: core-block-patterns, astra_hooks, align-wide, automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, amp, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets, menus
theme_path: /home/XXX/web/XXX.com/public_html/wp-content/themes/XXX
auto_update: Desactivado
### wp-parent-theme ###
name: Astra (astra)
version: 2.5.3
author: Brainstorm Force
author_website: https://wpastra.com/about/
theme_path: /home/XXX/web/XXX.com/public_html/wp-content/themes/astra
auto_update: Desactivado
### wp-plugins-active (28) ###
301 Redirects: version: 2.50, author: WebFactory Ltd, Actualizaciones automáticas desactivadas
ACF Photo Gallery Field: version: 1.6.8, author: Navneil Naicker, Actualizaciones automáticas desactivadas
Advanced Custom Fields: version: 5.8.14, author: Elliot Condon, Actualizaciones automáticas desactivadas
Astra Pro: version: 2.6.3, author: Brainstorm Force, Actualizaciones automáticas desactivadas
Autoptimize: version: 2.7.6, author: Frank Goossens (futtta), Actualizaciones automáticas desactivadas
Bad Behavior: version: 2.2.24, author: Michael Hampton, Actualizaciones automáticas desactivadas
bbPress: version: 2.6.5, author: The bbPress Contributors, Actualizaciones automáticas desactivadas
bbPress Toolkit: version: 1.0.12, author: Pascal Casier, Actualizaciones automáticas desactivadas
Bulk Move: version: 1.3.0, author: Sudar, Actualizaciones automáticas desactivadas
Contact Form 7: version: 5.2.1, author: Takayuki Miyoshi, Actualizaciones automáticas desactivadas
Custom Post Type UI: version: 1.7.5, author: WebDevStudios, Actualizaciones automáticas desactivadas
Custom Query Blocks: version: 4.5.3, author: MediaRon LLC, Actualizaciones automáticas desactivadas
Disable Comments: version: 1.10.3, author: Samir Shah, Actualizaciones automáticas desactivadas
Duplicate Page: version: 4.2, author: mndpsingh287, Actualizaciones automáticas desactivadas
Flamingo: version: 2.2, author: Takayuki Miyoshi, Actualizaciones automáticas desactivadas
Gallery Lightbox Lite: version: 1.0.0.37, author: GhozyLab, Inc., Actualizaciones automáticas desactivadas
GTranslate: version: 2.8.57, author: Translate AI Multilingual Solutions, Actualizaciones automáticas desactivadas
Honeypot for Contact Form 7: version: 1.14.1, author: Nocean, Actualizaciones automáticas desactivadas
Post SMTP: version: 2.0.15, author: Yehuda Hassine, Actualizaciones automáticas desactivadas
Simple Image Sizes: version: 3.2.1, author: Rahe, Actualizaciones automáticas desactivadas
Slider Revolution: version: 6.1.8, author: ThemePunch, Actualizaciones automáticas desactivadas
Smush: version: 3.6.3, author: WPMU DEV, Actualizaciones automáticas desactivadas
Ultimate Addons for Gutenberg: version: 1.16.1, author: Brainstorm Force, Actualizaciones automáticas desactivadas
WooCommerce: version: 4.3.2, author: Automattic, Actualizaciones automáticas desactivadas
WooCommerce Continue Shopping: version: 1.4.3, author: HappyKite, Actualizaciones automáticas desactivadas
WooCommerce Event Ticket: version: 3.0.1, author: XXX, Actualizaciones automáticas desactivadas
WooCommerce Extra Product Sorting Options: version: 2.8.4, author: SkyVerge, Actualizaciones automáticas desactivadas
WP Super Cache: version: 1.7.1, author: Automattic, Actualizaciones automáticas desactivadas
### wp-plugins-inactive (5) ###
Bootstrap Modals: version: 1.3.2, author: Neil Gee, Actualizaciones automáticas desactivadas
Calculated Fields Form: version: 10.0.496, author: CodePeople, Actualizaciones automáticas desactivadas
Query Monitor: version: 3.6.1, author: John Blackbourn, Actualizaciones automáticas desactivadas
Simple Tabs Shortcodes: version: 1.3, author: Krzysztof Grochocki, Actualizaciones automáticas desactivadas
WooCommerce Max Quantity: version: 1.5.2, author: Isabel Castillo, Actualizaciones automáticas desactivadas
### wp-media ###
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1687
imagemagick_version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 https://www.imagemagick.org
file_uploads: File uploads is turned off
post_max_size: 30M
upload_max_filesize: 10M
max_effective_size: 10 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 122 MB
imagick::RESOURCETYPE_DISK: 1073741824
imagick::RESOURCETYPE_FILE: 768
imagick::RESOURCETYPE_MAP: 512 MB
imagick::RESOURCETYPE_MEMORY: 256 MB
imagick::RESOURCETYPE_THREAD: 1
gd_version: 2.2.5
ghostscript_version: 9.26
### wp-server ###
server_architecture: Linux 4.9.0-12-amd64 x86_64
httpd_software: Apache/2.4.43 (Debian) mod_fcgid/2.3.9 OpenSSL/1.1.1g
php_version: 7.4.8 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 60
memory_limit: 256M
max_input_time: 60
upload_max_size: 10M
php_post_max_size: 30M
curl_version: 7.52.1 OpenSSL/1.0.2u
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
### wp-database ###
extension: mysqli
server_version: 10.4.13-MariaDB-1:10.4.13+maria~stretch
client_version: mysqlnd 7.4.8
### wp-constants ###
WP_HOME: https://XXX.com
WP_SITEURL: https://XXX.com
WP_CONTENT_DIR: /home/XXX/web/XXX.com/public_html/wp-content
WP_PLUGIN_DIR: /home/XXX/web/XXX.com/public_html/wp-content/plugins
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_LOCAL_DEV: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined
### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
]]>
Hello. I would like to set a product that is only available from a quantity of 6 pieces and continue to order only in 6 steps.
I still find the setting for 6 pieces minimum. But where do I set the increase in steps of 6?
Pleas help. Thx all
Jenny
This is a great plugin but I cannot for the life of me figure out why when I activate it, this one product only doesn’t work correctly: https://smseafoodmarket.com/product/gift-cards/
All of the other product posts are fine and the plugin works as intended, which is what we need.
Any ideas why this one product page/post is not working? Product image, background image, footer and add to cart button disappear when I add the price to the product. Without a price the post works fine.
No limit is set globally and we have it set for less than 10 products but this is not one of them.
Truly stumped.
Thanks,
]]>Hello
Does anyone know if this plugin is compatible with:
1) WooCommerce Version 4.01
2)WordPress version 5.4
Thank you in advance
]]>As a web developer I’ve used WooCommerce Max Quantity on many sites with the popular Divi theme but when Divi 4.0+ was released this plugin causes a conflict with the new Divi Theme Builder so the builder cannot load any content until your disable WooCommerce Max Quantity. (I’ve reported this to Divi’s developers in case the issue is on their end and can be fixed.) That’s a shame because Divi 4.0 now lets you design any kind of WooCommerce product pages and catalog templates you wish with any page design.
]]>Dear Woocommerce Max Quantity,
Congrats for the plugin. But I would want to change the message that is shown when the customer try to buy a higher amount quantity of product than the limit. Now the message is translated, but as long as it is not on .pot archive i cannot change it.
In addition It would be great if I could place a link there so the customer will know why he cannot buy higher amount of products.
Can you help me?
Thank you in advance.
Raul,
Hi there,
The plugin is working the way that I want it to, but every time it redirects to the individual product page that I try to add to the cart. Users can add products to their cart from a few different pages. The shop page, the cart page and the checkout page or the individual product page. I want someone to get the error message at the top but to stay on the page they are on.
How can I edit the file to make this possible?
Thanks,
Emilie
I’m not sure if this error is coming from your plugin or not, but it’s the last one I’ve got enabled while I test things.
When checking out, a customer’s getting an error that their card type is invalid. error_log gets an error of id was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, Woo_Braintree_Payment_Gateway->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
I disabled all other Woocommerce plugins except yours as a test, but still get the error so I think it’s coming from this plugin.
Any thoughts?
]]>Hello.
I need to know how this plugin will behave in the variable products.
Lets say, I have a product with 10 variations and I set the limit to 1.
I will be able to buy only 1pc of ONE of the variations (1pc of one model) OR I will be able to buy 1pc of EACH variation? (10pcs, one each model).
Thank you.
]]>I have the setting “Redirect to the cart page after successful addition” active in WooCommerce settings. But when I acitvate WooCommerce Max Quantity, this stops working and am not redirected to the cart anymore after successful addition to the cart.
Is this a bug?
Hi,
I just want to check whether this plugin capable to set to limit one unit per customer (Not per order). A reply will be appreaciated.
Thanks.
MOG