Bug with the quantity selector when quantity 1
-
Good morning,
On the last updates I noticed a bug in the quantity selector.
When the quantity of the product is 1, only the “-” and “+” symbols appear, whereas on the previous versions of Woocommerce the quantity selector was completely hidden.
Did you notice this?
-
Hi @winsa27,
Is the issue occurring in the single product page or the cart page? Also, which theme are you using?
Can you please share a screenshot of the issue, just so that we can understand it better? You can upload the screenshot on?https://snipboard.io?tool and share the URL here.
Please share the following information for further investigation:
- 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.
- Fatal Error Log: A copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
Hi,
The problem is only on the product page.
The template used is Betheme 26.4.0.3 but we also noticed this bug with another version of Betheme.
Here is the link to the screenshot : https://snipboard.io/Ylz8L0.jpg
System status:
` ### WordPress Environment ### WC Version: 7.5.1 REST API Version: ? 7.5.1 WC Blocks Version: ? 9.6.6 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2 WP Multisite: – WP Memory Limit: 256 Mo WP Debug Mode: – WP Cron: ? Language: fr_FR External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.1.17 PHP Post Max Size: 8 Mo PHP Time Limit: 180 PHP Max Input Vars: 5000 cURL Version: 8.0.1 OpenSSL/1.1.1t SUHOSIN Installed: – MySQL Version: 5.7.41 Max Upload Size: 2 Mo Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.5.1 WC Database Prefix: ella_ Taille totale de la base de données: 10.37MB Taille de la base de données: 8.68MB Taille de l’index: 1.69MB ella_woocommerce_sessions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB ella_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_woocommerce_order_itemmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB ella_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_actionscheduler_actions: Données : 0.06MB + Index : 0.11MB + Moteur InnoDB ella_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_actionscheduler_logs: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_comments: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB ella_easywpsmtp_debug_events: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_easywpsmtp_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_calendarCategories: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_calendarEvents: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_calendarReminders: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_calendars: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_coupons: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_customers: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_fields: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_forms: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_items: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB ella_lfb_layeredImages: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_links: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_logs: Données : 1.52MB + Index : 0.00MB + Moteur InnoDB ella_lfb_redirConditions: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_settings: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_steps: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_lfb_variables: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_maxbuttonsv3: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_maxbuttons_collections: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_maxbuttons_collections_trans: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_options: Données : 3.05MB + Index : 0.06MB + Moteur InnoDB ella_postmeta: Données : 2.28MB + Index : 0.06MB + Moteur InnoDB ella_posts: Données : 0.09MB + Index : 0.06MB + Moteur InnoDB ella_revslider_css: Données : 0.13MB + Index : 0.02MB + Moteur InnoDB ella_revslider_css_bkp: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_revslider_layer_animations: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_revslider_layer_animations_bkp: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_revslider_navigations: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_revslider_navigations_bkp: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_revslider_sliders: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_revslider_sliders_bkp: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_revslider_slides: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_revslider_slides_bkp: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_revslider_static_slides: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_revslider_static_slides_bkp: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_snippets: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_term_relationships: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_usermeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB ella_wc_admin_notes: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_wc_admin_note_actions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_wc_customer_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB ella_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB ella_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB ella_wc_product_attributes_lookup: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_wc_product_meta_lookup: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB ella_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB ella_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ella_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB ### Post Type Counts ### attachment: 135 nav_menu_item: 5 page: 16 post: 2 product: 3 product_variation: 7 revision: 6 template: 1 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (11) ### WP Cost Estimation & Payment Forms Builder: par Biscay Charly (loopus) – 10.1.34 Admin Menu Editor: par Janis Elsts – 1.11 Aquila Admin Theme: par Guy Primavera – 3.1.1 Code Snippets: par Code Snippets Pro – 3.3.0 Contact Form 7: par Takayuki Miyoshi – 5.7.4 Disable Admin Notices Individually: par Creative Motion – 1.3.3 Yoast Duplicate Post: par Enrico Battocchi & l’équipe Yoast – 4.5 Easy WP SMTP: par Easy WP SMTP – 2.0.1 MaxButtons: par Max Foundry – 9.5.3 Slider Revolution: par ThemePunch – 6.5.31 WooCommerce: par Automattic – 7.5.1 ### Inactive Plugins (0) ### ### 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) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ? Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Base de la boutique: #157 - /boutique/ Panier: #158 - /panier/ Commander: #159 - /commander/ Mon compte: #160 - /mon-compte/ Conditions générales de vente et d’utilisation: ? La visibilité de la page doit être publique ### Theme ### Name: Betheme Version: 26.4.0.3 Author URL: https://muffingroup.com/ Child Theme: ? – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant WooCommerce Support: ? ### Templates ### Archive Template: Votre thème a un fichier woocommerce.php vous ne serez pas en mesure de substituer le modèle personnalisé woocommerce/archive-product.php étant donné que woocommerce.php a la priorité sur archive-product.php. Ceci vise à prévenir les problèmes d’affichage. Overrides: betheme/woocommerce/archive-product.php betheme/woocommerce/cart/cart-totals.php betheme/woocommerce/cart/cart.php version 4.4.0 est obsolète. La version du noyau est 7.4.0 betheme/woocommerce/cart/cross-sells.php betheme/woocommerce/cart/mini-cart.php betheme/woocommerce/checkout/form-checkout.php betheme/woocommerce/content-product.php betheme/woocommerce/content-single-product.php betheme/woocommerce/loop/loop-end.php betheme/woocommerce/loop/loop-start.php betheme/woocommerce/loop/no-products-found.php betheme/woocommerce/loop/pagination.php betheme/woocommerce/myaccount/downloads.php betheme/woocommerce/notices/error.php betheme/woocommerce/notices/success.php betheme/woocommerce/single-product/add-to-cart/external.php version 3.4.0 est obsolète. La version du noyau est 7.0.1 betheme/woocommerce/single-product/meta.php betheme/woocommerce/single-product/product-image.php betheme/woocommerce/single-product/product-thumbnails.php betheme/woocommerce/single-product/related.php betheme/woocommerce/single-product/sale-flash.php betheme/woocommerce/single-product/tabs/description.php betheme/woocommerce/single-product/tabs/tabs.php betheme/woocommerce/single-product/title.php betheme/woocommerce/single-product/up-sells.php betheme/woocommerce/single-product-reviews.php Outdated Templates: ? Apprenez comment mettre à jour ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience product-variation-management settings Daily Cron: ? Next scheduled: 2023-03-31 16:57:04 +02:00 Options: ? Notes: 43 Onboarding: skipped ### Action Scheduler ### Terminé: 89 Oldest: 2023-03-01 13:39:25 +0100 Newest: 2023-03-31 11:47:00 +0200 échoué: 2 Oldest: 2023-03-28 15:15:16 +0200 Newest: 2023-03-28 16:56:45 +0200 En attente: 1 Oldest: 2023-03-31 13:33:50 +0200 Newest: 2023-03-31 13:33:50 +0200 ### Status report information ### Generated at: 2023-03-31 11:49:14 +02:00 `
Awaiting feedback from you.
-
This reply was modified 2 years ago by
winsa27.
Hi @winsa27 ,
Thanks for clarifying!
I have tested this on my staging site (which uses the default Storefront theme) and am unable to reproduce this, as the quantity selector is not being displayed when a product has a Stock quantity of
1
, as seen in the screenshot below:This may be the cause of the theme you are currently using on your site, since you have mentioned this being an issue in another version of Betheme.
To confirm, you can temporarily switch your theme to a default theme, such as Storefront, and see if this resolves the issue.
If it does, I’d suggest reaching out to the developers of the Betheme for further help with this issue as support related to third-party plugins and themes is outside our scope of support.
You can reach out to Betheme support directly, here.
Cheers!
Hi,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Indeed, it comes from the template and it will be corrected in the next versions: https://forum.muffingroup.com/betheme/discussion/comment/233580
Hi @winsa27
I’m glad you were able to find the culprit of your issue here.
Since this is a third-party plugin that we don’t provide support for based on our Support Policy, I recommend that you reach out to the developers of the plugin for further assistance. They will be better equipped to help you resolve any issues you’re experiencing with the plugin.
All the best and hopefully, the issue will be fixed soon.
- The topic ‘Bug with the quantity selector when quantity 1’ is closed to new replies.