problem on choosing quantity of products
-
i’m managing a WP site of a mill. they sell their flour.
if a customer select a product he can only choose from values that goes from 1 to 10 so is impossible to buy, for example, 30 item of the same product.
i tired to click 4 time 10 in the product page, the chart badge says that there are 40 items in it but when i proceed to the checkout the payment amount is only for 10 items.
i home i’ve made it clear…The page I need help with: [log in to see the link]
-
Hey @linea11 – just to make sure, do I understand it correctly, when I add 10 of this product to the cart, I shouldn’t be able to repeat this?
First of all, I’m not sure how you’ve set the limitations to be 10, but that’s definitely another plugin or some custom code, so this is technically not a WooCommerce core issue.
Second, what you’re looking to do is possible with Min/Max Quantities, a paid plugin on WooCommerce.com.
I hope that helps!
Hi, thank for the reply. I didn’t manage the site from the beginning…i found the work done by a previous team. the problem is that a customer can’t buy more of 10 pieces of the same item. if he select 4 time 10 the chart say that there are 40 items but when checking out it only charge (and sells) 10 items. i didn’t set the limitation (as i said before) and in the backend there is no way to modify this value. i’m not very into custom code….
Hey @linea11, oh, so you actually do not want the limitations. Thanks for clarifying that.
So this is not part of WooCommerce core, which means that some bit of code on the site is preventing this from working as it should. For this, there are roughly two options:
- A plugin is used.
- Custom code is added.
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response. This’ll likely help us to narrow it down. We look forward to your reply!
Thanks again for the reply.
here’s the System Status report### WordPress Environment ### Home URL: https://www.molinosanpaolo.it Site URL: https://www.molinosanpaolo.it WC Version: 3.5.5 Log Directory Writable: ? WP Version: ? 5.1 - è disponibile una versione più recente di WordPress (5.2) WP Multisite: – WP Memory Limit: ? 40 MB - Consigliamo di impostare la memoria di almeno 64MB. Per i dettagli: Come aumentare la memoria assegnata a PHP WP Debug Mode: – WP Cron: ? Language: it_IT External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 5.6.40 - We recommend using PHP version 7.2 or above for greater performance and security. Come aggiornare la versione di PHP PHP Post Max Size: 25 MB PHP Time Limit: 900 PHP Max Input Vars: 3000 cURL Version: 7.64.1 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 5.6.41-84.1-log Max Upload Size: 25 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.5.5 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Total Database Size: 63.64MB Dimensione dati database: 37.33MB Dimensione indice database: 26.31MB wp_woocommerce_sessions: Dati: 1.02MB + Indice: 0.04MB wp_woocommerce_api_keys: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_attribute_taxonomies: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_downloadable_product_permissions: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_order_items: Dati: 0.01MB + Indice: 0.01MB wp_woocommerce_order_itemmeta: Dati: 0.04MB + Indice: 0.03MB wp_woocommerce_tax_rates: Dati: 0.00MB + Indice: 0.01MB wp_woocommerce_tax_rate_locations: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_shipping_zones: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_shipping_zone_locations: Dati: 0.00MB + Indice: 0.01MB wp_woocommerce_shipping_zone_methods: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_payment_tokens: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_payment_tokenmeta: Dati: 0.00MB + Indice: 0.00MB wp_woocommerce_log: Dati: 0.00MB + Indice: 0.00MB wp_commentmeta: Dati: 0.00MB + Indice: 0.01MB wp_comments: Dati: 0.02MB + Indice: 0.01MB wp_eg_grids: Dati: 0.00MB + Indice: 0.00MB wp_eg_item_elements: Dati: 0.00MB + Indice: 0.00MB wp_eg_item_skins: Dati: 0.52MB + Indice: 0.01MB wp_eg_navigation_skins: Dati: 0.03MB + Indice: 0.00MB wp_icl_content_status: Dati: 0.00MB + Indice: 0.00MB wp_icl_core_status: Dati: 0.00MB + Indice: 0.00MB wp_icl_flags: Dati: 0.00MB + Indice: 0.00MB wp_icl_languages: Dati: 0.00MB + Indice: 0.01MB wp_icl_languages_translations: Dati: 0.10MB + Indice: 0.10MB wp_icl_locale_map: Dati: 0.00MB + Indice: 0.00MB wp_icl_message_status: Dati: 0.00MB + Indice: 0.00MB wp_icl_mo_files_domains: Dati: 0.00MB + Indice: 0.00MB wp_icl_node: Dati: 0.00MB + Indice: 0.00MB wp_icl_reminders: Dati: 0.00MB + Indice: 0.00MB wp_icl_strings: Dati: 4.87MB + Indice: 4.19MB wp_icl_string_packages: Dati: 0.02MB + Indice: 0.00MB wp_icl_string_pages: Dati: 16.80MB + Indice: 19.61MB wp_icl_string_positions: Dati: 0.00MB + Indice: 0.00MB wp_icl_string_status: Dati: 0.00MB + Indice: 0.00MB wp_icl_string_translations: Dati: 1.91MB + Indice: 0.83MB wp_icl_string_urls: Dati: 0.11MB + Indice: 0.13MB wp_icl_translate: Dati: 1.64MB + Indice: 0.10MB wp_icl_translate_job: Dati: 0.01MB + Indice: 0.01MB wp_icl_translations: Dati: 0.07MB + Indice: 0.14MB wp_icl_translation_batches: Dati: 0.00MB + Indice: 0.00MB wp_icl_translation_status: Dati: 1.07MB + Indice: 0.02MB wp_links: Dati: 0.00MB + Indice: 0.00MB wp_logger_ginger: Dati: 0.23MB + Indice: 0.03MB wp_onclick_popup_plugin: Dati: 0.00MB + Indice: 0.00MB wp_options: Dati: 2.21MB + Indice: 0.08MB wp_postmeta: Dati: 1.67MB + Indice: 0.57MB wp_posts: Dati: 3.79MB + Indice: 0.22MB wp_pps_countries: Dati: 0.01MB + Indice: 0.00MB wp_pps_modules: Dati: 0.00MB + Indice: 0.00MB wp_pps_modules_type: Dati: 0.00MB + Indice: 0.00MB wp_pps_popup: Dati: 0.62MB + Indice: 0.00MB wp_pps_popup_show_categories: Dati: 0.00MB + Indice: 0.00MB wp_pps_popup_show_pages: Dati: 0.00MB + Indice: 0.00MB wp_pps_statistics: Dati: 0.00MB + Indice: 0.00MB wp_pps_subscribers: Dati: 0.00MB + Indice: 0.00MB wp_pps_usage_stat: Dati: 0.00MB + Indice: 0.00MB wp_revslider_css: Dati: 0.14MB + Indice: 0.00MB wp_revslider_layer_animations: Dati: 0.00MB + Indice: 0.00MB wp_revslider_navigations: Dati: 0.00MB + Indice: 0.00MB wp_revslider_sliders: Dati: 0.09MB + Indice: 0.00MB wp_revslider_slides: Dati: 0.24MB + Indice: 0.00MB wp_revslider_static_slides: Dati: 0.00MB + Indice: 0.00MB wp_termmeta: Dati: 0.01MB + Indice: 0.02MB wp_terms: Dati: 0.01MB + Indice: 0.03MB wp_term_relationships: Dati: 0.02MB + Indice: 0.04MB wp_term_taxonomy: Dati: 0.01MB + Indice: 0.01MB wp_usermeta: Dati: 0.04MB + Indice: 0.03MB wp_users: Dati: 0.00MB + Indice: 0.01MB wp_wc_download_log: Dati: 0.00MB + Indice: 0.00MB wp_wc_webhooks: Dati: 0.00MB + Indice: 0.00MB ### Post Type Counts ### attachment: 674 is_search_form: 1 nav_menu_item: 43 page: 46 popup_theme: 6 post: 71 product: 120 revision: 921 shop_order: 36 vc_grid_item: 4 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (29) ### WPML Multilingual CMS: by OnTheGoSystems – 4.2.3 Advanced Custom Fields Multilingual: by OnTheGoSystems – 1.1 Ivory Search: by Ivory Search – 4.1.7 Share Buttons by AddThis: by The AddThis Team – 6.1.8 All In One SEO Pack: by Michael Torbert – 2.12 Breadcrumb NavXT: by John Havlik – 6.2.1 Contact Form 7: by Takayuki Miyoshi – 5.1.1 Essential Grid: by ThemePunch – 2.0.9.1 Ginger - EU Cookie Law: by Manafactory – 4.2 Google XML Sitemaps: by Arne Brachhold – 4.1.0 Highgrade Essentials: by HighGrade – 1.3.1 Highgrade Extender for Visual Composer: by HighGrade – 2.4 WPBakery Page Builder: by Michael M - WPBakery.com – 5.6 Limit Login Attempts: by Johan Eenfeldt – 1.7.1 List category posts: by Fernando Briano – 0.79 Popup by Supsystic: by supsystic.com – 1.9.44 Revolution Slider: by ThemePunch – 5.4.8 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.6 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.2.4 Open Graph for Facebook, Google+ and Twitter Card Tags: by Webdados – 2.2.5 WooCommerce Blocks: by Automattic – 1.4.0 WooCommerce P.IVA e Codice Fiscale per Italia: by dot4all – 2.1.7 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.9 – 1.6.14 è disponibile WooCommerce Multilingual: by OnTheGoSystems – 4.4.2.1 WooCommerce: by Automattic – 3.5.5 – 3.6.3 è disponibile WP Fastest Cache: by Emre Vona – 0.8.9.1 WPML Media: by OnTheGoSystems – 2.5.1 WPML String Translation: by OnTheGoSystems – 2.10.2 WPML Translation Management: by OnTheGoSystems – 2.8.2 ### Settings ### API Enabled: ? Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Shop base: #278 - /shop/ Carrello: #279 - /carrelo/ Cassa: #280 - /checkout/ Il mio account: #281 - /my-account/ Termini e condizioni: #1132 - /termini-e-condizioni/ ### Theme ### Name: Sage Version: 1.9 Author URL: https://highgradelab.com Child Theme: ? – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente ti consigliamo di utilizzare un child theme. Vedi: Come creare un child theme WooCommerce Support: ? ### Templates ### Overrides: sage/woocommerce/archive-product.php versione 2.0.0 è obsoleta. La versione attuale è 3.4.0 sage/woocommerce/cart/cart-empty.php versione 2.0.0 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/cart/cart-shipping.php versione 2.5.0 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/cart/cart-totals.php sage/woocommerce/cart/cart.php versione 2.3.8 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/cart/cross-sells.php versione 1.6.4 è obsoleta. La versione attuale è 3.0.0 sage/woocommerce/cart/shipping-calculator.php versione 2.0.8 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/checkout/form-billing.php versione 2.1.2 è obsoleta. La versione attuale è 3.0.9 sage/woocommerce/checkout/form-checkout.php versione 2.3.0 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/checkout/form-coupon.php versione 2.2 è obsoleta. La versione attuale è 3.4.4 sage/woocommerce/checkout/form-shipping.php versione 2.2.0 è obsoleta. La versione attuale è 3.0.9 sage/woocommerce/checkout/review-order.php versione 2.3.0 è obsoleta. La versione attuale è 3.3.0 sage/woocommerce/checkout/thankyou.php versione 2.2.0 è obsoleta. La versione attuale è 3.2.0 sage/woocommerce/content-single-product.php versione 1.6.4 è obsoleta. La versione attuale è 3.4.0 sage/woocommerce/global/form-login.php versione 2.1.0 è obsoleta. La versione attuale è 3.3.0 sage/woocommerce/global/quantity-input.php versione 2.5.0 è obsoleta. La versione attuale è 3.4.0 sage/woocommerce/myaccount/form-edit-account.php versione 2.5.1 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/myaccount/form-edit-address.php versione 2.1.0 è obsoleta. La versione attuale è 3.4.0 sage/woocommerce/myaccount/form-login.php versione 2.2.6 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/myaccount/my-address.php versione 2.2.0 è obsoleta. La versione attuale è 2.6.0 sage/woocommerce/myaccount/my-orders.php sage/woocommerce/order/order-details.php versione 2.5.3 è obsoleta. La versione attuale è 3.5.2 sage/woocommerce/single-product/add-to-cart/variable.php versione 2.5.0 è obsoleta. La versione attuale è 3.5.5 sage/woocommerce/single-product/product-image.php versione 2.0.14 è obsoleta. La versione attuale è 3.5.1 sage/woocommerce/single-product/product-thumbnails.php versione 2.3.0 è obsoleta. La versione attuale è 3.5.1 sage/woocommerce/single-product/related.php versione 1.6.4 è obsoleta. La versione attuale è 3.0.0 sage/woocommerce/single-product/review.php versione 2.5.0 è obsoleta. La versione attuale è 2.6.0 sage/woocommerce/single-product/tabs/description.php sage/woocommerce/single-product/up-sells.php versione 1.6.4 è obsoleta. La versione attuale è 3.0.0 sage/woocommerce/single-product-reviews.php versione 2.3.2 è obsoleta. La versione attuale è 3.5.0 sage/woocommerce/single-product.php Outdated Templates: ? Scopri come aggiornare
You have a lot of errors on the site. Outdated page templates and I’m not seeing a add to cart button. The one error I’m seeing is your missing an event listener which makes me believe this is a problem with your theme. I suggest reverting to a default theme to test. If everything works with the default theme you’ll know it’s your theme.
@linea11 – as @serafinnyc mentions; I would start with the theme as well (please make sure to make a good backup beforehand and if possible use staging, see the URL at the bottom for more details):
?- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
- The topic ‘problem on choosing quantity of products’ is closed to new replies.