Variable products not display Quantity box
-
Hello,
Kindly iam facing issue with Variable product. on the single product page its not display the quantity box to the customer to increase the quantity
https://ibb.co/ys8c0vv
-
Hey there ??
Thanks for reaching out!
It looks like the quantity selector is not being displayed on the single product page for Variable products, correct?
We’d be happy to take a closer look, please can you clarify the following:
- Has this been an ongoing issue or one that recently surfaced? If the latter, do you recall any changes made to the site before this first popped up?
- Is this issue present with all variable products, or only specific products?
- Does this only occur with variable products, or do other product types also experience this issue (i.e, simple, downloadable)?
Additionally, can you please share the following with us here:
- System Status Report: navigate to WooCommerce → Status. Select
Get system report
and thenCopy for support
. - Fatal Error log:?Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.
Cheers!
hello,
1- first time we used variable on this site.
2- yes for all variable products.
3- for simple products is appear . only happening with variable products4- logs:
WordPress Environment WordPress address (URL): https://kotorby.ca-kw.com Site address (URL): https://kotorby.ca-kw.com WC Version: 8.6.1 REST API Version: ? 8.6.1 WC Blocks Version: ? 11.8.0-dev Action Scheduler Version: ? 3.7.1 Log Directory Writable: ? WP Version: 6.4.3 WP Multisite: ? WP Memory Limit: 12 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – Server Environment Server Info: LiteSpeed PHP Version: 7.4.33 PHP Post Max Size: 12 GB PHP Time Limit: 480 PHP Max Input Vars: 5000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 5.5.5-10.11.6-MariaDB-cll-lve Max Upload Size: 3 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.6.1 WC Database Prefix: wp_43_ Total Database Size: 84.02MB Database Data Size: 56.82MB Database Index Size: 27.20MB wp_43_woocommerce_sessions: Data: 1.41MB + Index: 0.02MB + Engine InnoDB wp_43_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_43_woocommerce_order_items: Data: 0.30MB + Index: 0.09MB + Engine InnoDB wp_43_woocommerce_order_itemmeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB wp_43_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_43_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_actionscheduler_actions: Data: 0.34MB + Index: 0.45MB + Engine InnoDB wp_43_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_actionscheduler_logs: Data: 0.31MB + Index: 0.20MB + Engine InnoDB wp_43_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_comments: Data: 2.52MB + Index: 1.11MB + Engine InnoDB wp_43_dokan_announcement: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_delivery_time: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_43_dokan_follow_store_followers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_43_dokan_orders: Data: 0.16MB + Index: 0.13MB + Engine InnoDB wp_43_dokan_product_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_refund: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_report_abuse_reports: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_43_dokan_reverse_withdrawal: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_43_dokan_rma_conversations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_rma_request: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_rma_request_product: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_shipping_tracking: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_dokan_shipping_zone_locations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_table_rate_shipping: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_43_dokan_vendor_balance: Data: 0.31MB + Index: 0.00MB + Engine InnoDB wp_43_dokan_withdraw: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_easywpsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_easywpsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_ewwwio_images: Data: 1.52MB + Index: 0.47MB + Engine InnoDB wp_43_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_43_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_43_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_litespeed_url: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_43_litespeed_url_file: Data: 0.06MB + Index: 0.08MB + Engine InnoDB wp_43_options: Data: 10.50MB + Index: 0.17MB + Engine InnoDB wp_43_postmeta: Data: 13.52MB + Index: 9.98MB + Engine InnoDB wp_43_posts: Data: 1.52MB + Index: 0.55MB + Engine InnoDB wp_43_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_43_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_revslider_sliders: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_43_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_revslider_slides: Data: 4.52MB + Index: 0.02MB + Engine InnoDB wp_43_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_sg_action: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_sg_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_sg_schedule: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_43_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_43_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_trp_dictionary_ar_en_us: Data: 1.52MB + Index: 1.86MB + Engine InnoDB wp_43_trp_gettext_ar: Data: 1.52MB + Index: 0.84MB + Engine InnoDB wp_43_trp_gettext_en_us: Data: 1.52MB + Index: 0.67MB + Engine InnoDB wp_43_trp_gettext_original_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_43_trp_gettext_original_strings: Data: 1.52MB + Index: 0.47MB + Engine InnoDB wp_43_trp_original_meta: Data: 0.14MB + Index: 0.19MB + Engine InnoDB wp_43_trp_original_strings: Data: 1.52MB + Index: 1.52MB + Engine InnoDB wp_43_wcpdf_invoice_number: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_43_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp_43_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_43_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_wc_customer_lookup: Data: 0.14MB + Index: 0.11MB + Engine InnoDB wp_43_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_43_wc_orders_meta: Data: 0.08MB + Index: 0.13MB + Engine InnoDB wp_43_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_43_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_wc_order_product_lookup: Data: 0.27MB + Index: 0.25MB + Engine InnoDB wp_43_wc_order_stats: Data: 0.22MB + Index: 0.22MB + Engine InnoDB wp_43_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_43_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_wfpklist_template_data: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_43_woodmart_wishlists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_woodmart_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_wpc_accesslocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_wpc_login_fails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_43_yoast_indexable: Data: 0.16MB + Index: 0.09MB + Engine InnoDB wp_43_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_43_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_43_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_43_yoast_prominent_words: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_43_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sitemeta: Data: 1.20MB + Index: 0.06MB + Engine InnoDB wp_usermeta: Data: 3.52MB + Index: 1.92MB + Engine InnoDB wp_users: Data: 0.14MB + Index: 0.14MB + Engine InnoDB Post Type Counts attachment: 710 cms_block: 2 custom_css: 1 dokan_announcement: 1 elementor_library: 5 global_product_addon: 2 language_switcher: 5 nav_menu_item: 36 page: 17 portfolio: 9 post: 3 product: 142 product_variation: 11 revision: 66 shop_coupon: 7 shop_order: 1705 woodmart_layout: 1 woodmart_sidebar: 2 wp_block: 1 yaymail_template: 15 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (33) Admin Menu Editor Pro: by Janis Elsts – 2.22 Bookeey Payment Gateway: by Coders Wall – 5.2.0 Click to Chat: by HoliThemes – 3.33 Dokan: by weDevs – 3.9.9 Dokan Pro: by weDevs – 3.9.10 Easy WP SMTP: by Easy WP SMTP – 2.2.0 Elementor: by Elementor.com – 3.19.2 LiteSpeed Cache: by LiteSpeed Technologies – 6.1 Max upload filesize: by Yinlong – 1.1.0 TranslatePress - Multilingual: by Cozmoslabs Razvan Mocanu Madalin Ungureanu Cristophor Hurduban – 2.7.2 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.7.0 Checkout Field Editor for WooCommerce (Pro): by ThemeHigh – 3.5.0 CURCY - WooCommerce Multi Currency Premium: by VillaTheme – 2.2.3 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.7.7 WooCommerce PDF Invoices & Packing Slips + mPDF: by WP Overnight – 2.4.2 Woo Product Add-ons: by Woo – 6.6.0 WooCommerce: by Automattic – 8.6.1 Woodmart Core: by – 1.0.41 Yoast SEO: by Team Yoast – 22.1 Prime Mover: by Codexonics – 1.9.6 User Switching: by John Blackbourn & contributors – 1.7.3 Classic Editor: by WordPress Contributors – 1.6.3 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.13.2 NS Cloner - Site Copier: by Never Settle – 4.4.2 Wordfence Security: by Wordfence – 7.11.3 LiteSpeed Cache: by LiteSpeed Technologies – 6.1 Yoast SEO: by Team Yoast – 22.1 Woodmart Core: by – 1.0.41 Code Snippets Pro: by Code Snippets Pro – 3.5.1 Smush Pro: by WPMU DEV – 3.15.4 WP-Optimize Premium - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.3.0 WP-DBManager: by Lester 'GaMerZ' Chan – 2.80.9 Inactive Plugins (8) Advanced Dynamic Pricing for WooCommerce: by AlgolPlus – 4.6.1 Booking Calendar: by wpdevelop oplugins – 9.9.1 MyFatoorah - WooCommerce: by MyFatoorah – 2.2.6 PayLe Payment Gateway for WooCommerce: by PayLe – 1.3.1 Site Kit by Google: by Google – 1.120.0 Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.30 Variation Swatches for WooCommerce - Pro: by Emran Ahmed – 2.0.26 Woocommerce Sadad Payment Gateway: by [email protected] – 1.0.1 Must Use Plugins (1) prime-mover-cli-plugin-manager.php: by – Settings API Enabled: – Force SSL: – Currency: KWD (?.?) Currency Position: left 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 Woo.com: – Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – WC Pages Shop base: #7 - /shop/ Cart: #8 - /cart/ Checkout: #9 - /checkout/ My account: #10 - /my-account/ Terms and conditions: ? Page not set Theme Name: Woodmart Child Version: 1.0.0 Author URL: https://xtemos.com Child Theme: ? Parent Theme Name: Woodmart Parent Theme Version: 7.4.3 Parent Theme Author URL: https://themeforest.net/user/xtemos WooCommerce Support: ? Templates Overrides: woodmart/woocommerce/archive-product.php woodmart/woocommerce/cart/cart-item-data.php woodmart/woocommerce/cart/cart.php woodmart/woocommerce/cart/cross-sells.php woodmart/woocommerce/cart/mini-cart.php woodmart/woocommerce/checkout/form-checkout.php woodmart/woocommerce/checkout/thankyou.php woodmart/woocommerce/content-product-cat.php woodmart/woocommerce/content-product.php woodmart/woocommerce/content-single-product.php woodmart/woocommerce/content-widget-product.php woodmart/woocommerce/global/breadcrumb.php woodmart/woocommerce/global/form-login.php woodmart/woocommerce/global/quantity-input.php woodmart/woocommerce/loop/add-to-cart.php woodmart/woocommerce/loop/loop-end.php woodmart/woocommerce/loop/loop-start.php woodmart/woocommerce/loop/no-products-found.php woodmart/woocommerce/loop/orderby.php woodmart/woocommerce/loop/pagination.php woodmart/woocommerce/loop/sale-flash.php woodmart/woocommerce/myaccount/form-login.php woodmart/woocommerce/product-searchform.php woodmart/woocommerce/single-product/add-to-cart/grouped.php woodmart/woocommerce/single-product/add-to-cart/variable.php woodmart/woocommerce/single-product/meta.php woodmart/woocommerce/single-product/product-attributes.php woodmart/woocommerce/single-product/product-image.php woodmart/woocommerce/single-product/product-thumbnails.php woodmart/woocommerce/single-product/rating.php woodmart/woocommerce/single-product/related.php woodmart/woocommerce/single-product/sale-flash.php woodmart/woocommerce/single-product/tabs/description.php woodmart/woocommerce/single-product/tabs/tabs.php woodmart/woocommerce/single-product/title.php woodmart/woocommerce/single-product/up-sells.php woodmart/woocommerce/single-product-reviews.php woodmart/woocommerce/single-product.php Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked 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: customize-store minified-js new-product-management-experience product-pre-publish-modal settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-02-24 05:46:11 +00:00 Options: ? Notes: 186 Onboarding: skipped Action Scheduler Complete: 1,026 Oldest: 2024-01-23 21:34:12 +0000 Newest: 2024-02-23 20:18:11 +0000 Failed: 73 Oldest: 2023-02-14 21:31:53 +0000 Newest: 2024-02-09 23:42:54 +0000 Pending: 2 Oldest: 2024-02-24 17:46:45 +0000 Newest: 2024-02-24 17:46:45 +0000 Status report information Generated at: 2024-02-23 23:46:57 +03:00
fatal-error
2024-02-04T13:04:31+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WeDevs\DokanPro\VendorDiscount\Helper::is_vendor_order_discount_coupon() must be an instance of WC_Coupon, null given, called in /home/u101061630/domains/ca-kw.com/public_html/wp-content/plugins/dokan-pro/includes/VendorDiscount/Hooks.php on line 181 and defined in /home/u101061630/domains/ca-kw.com/public_html/wp-content/plugins/dokan-pro/includes/VendorDiscount/Helper.php:101
Stack trace: 0 /home/u101061630/domains/ca-kw.com/public_html/wp-content/plugins/dokan-pro/includes/VendorDiscount/Hooks.php(181): WeDevs\DokanPro\VendorDiscount\Helper::is_vendor_order_discount_coupon(NULL) 1 /home/u101061630/domains/ca-kw.com/public_html/wp-includes/class-wp-hook.php(324): WeDevs\DokanPro\VendorDiscount\Hooks->maybe_delete_coupon(‘\xD9\x8A\xD8\xB1\xD8\xAC\xD9\x89 \xD8\xA5\xD8\xAF\xD8\xAE…’, 111, NULL) 2 /home/u101061630/domains/ca-kw.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘\xD9\x8A\xD8\xB1\xD8\xAC\xD9\x89 \xD8\xA5\xD8\xAF\xD8\xAE…’, Array) ?? /home/u101061630/domains/ca-kw.com/public_html/wp-content/plugins/dokan-pro/includes/VendorDiscount/Helper.php ?? ????? 101Hi @shaar7,
The error log you’ve shared indicates an issue related to the Dokan Pro plugin, specifically the Vendor Discount feature. The function
is_vendor_order_discount_coupon()
is expecting an instance ofWC_Coupon
as an argument, but it’s receivingnull
.To resolve this issue, please contact with the Dokan Pro support here.
Additionally, can you run a conflict test to help you identify the cause of the variable product’s quantity filed issue? More info: https://woo.com/document/how-to-test-for-conflicts/
Let us know how that goes for you.
Hi @shaar7,
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!
If you have further questions, please feel free to open a new topic.
Thanks!
- The topic ‘Variable products not display Quantity box’ is closed to new replies.