Support » Plugin: WooCommerce » Can’t purchase entire quantity of product

  • Resolved curtismchale

    (@curtismchale)


    site: https://www.hondacengkareng.com/produk/face-comp-movable-drive-22110gfm960/

    # Problem

    For the product above (and any product we’ve tested) we can’t purchase the full quantity. Currently, that sits at 130. I can purchase 129 of them, but not 130 of them. This also means that if there is a single item I can’t purchase it but I can purchase a single unit if there is 2 in stock.

    Once the product is added to the cart, you can visit the checkout page but we’re told that the quantity available is actually 1 less than is being shown in the stock fields on the product page.

    I have disabled all plugins except WooCommerce and the issue persists. I have tested it with the StoreFront theme and Twenty Nineteen and the issue persists.

    System status shows that we’re on an older version of WordPress and Woo, but in our staging/development environments, we have the same issue once we upgrade to the latest versions. We can’t do this in production yet because we have more testing to do before we’re ready. The page templates have also been updated in dev with the same result.

    Here are my settings for individual product stock
    https://www.dropbox.com/s/nsu01a9vzz92p6z/Screen%20Shot%202019-05-21%20at%2010.19.07%20AM.png?dl=0

    Here are my settings for store stock
    https://www.dropbox.com/s/iseufseqr543ppx/Napkin%2019-05-21%2C%2010.20.29%20AM.png?dl=0

    System Status:

    
    ### WordPress Environment ###
    
    Home URL: https://www.hondacengkareng.com
    Site URL: https://www.hondacengkareng.com
    WC Version: 3.5.4
    Log Directory Writable: ✔
    WP Version: ❌ 4.9.10 - There is a newer version of WordPress available (5.2)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: id_ID
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.15.12
    PHP Version: 7.2.17-1+ubuntu16.04.1+deb.sury.org+3
    PHP Post Max Size: 128 MB
    PHP Time Limit: 600
    PHP Max Input Vars: 10000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.38-MariaDB-1~xenial
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.5.4
    WC Database Prefix: wp_
    Total Database Size: 1423.21MB
    Database Data Size: 853.52MB
    Database Index Size: 569.69MB
    wp_woocommerce_sessions: Data: 3.02MB + Index: 0.05MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 10.52MB + Index: 3.52MB
    wp_woocommerce_order_itemmeta: Data: 48.59MB + Index: 47.14MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    rsw_master_part: Data: 2.52MB + Index: 3.03MB
    wp_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB
    wp_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB
    wp_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB
    wp_affiliate_wp_payouts: Data: 0.02MB + Index: 0.02MB
    wp_affiliate_wp_referrals: Data: 0.47MB + Index: 0.05MB
    wp_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB
    wp_affiliate_wp_visits: Data: 12.52MB + Index: 1.52MB
    wp_commentmeta: Data: 24.56MB + Index: 19.47MB
    wp_comments: Data: 95.63MB + Index: 59.03MB
    wp_facetwp_index: Data: 8.03MB + Index: 7.08MB
    wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB
    wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB
    wp_gf_entry: Data: 23.55MB + Index: 4.03MB
    wp_gf_entry_meta: Data: 48.59MB + Index: 52.75MB
    wp_gf_entry_notes: Data: 0.05MB + Index: 0.03MB
    wp_gf_form: Data: 0.02MB + Index: 0.00MB
    wp_gf_form_meta: Data: 0.27MB + Index: 0.00MB
    wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB
    wp_gf_form_view: Data: 11.52MB + Index: 8.03MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_lockdowns: Data: 0.02MB + Index: 0.00MB
    wp_login_fails: Data: 0.02MB + Index: 0.00MB
    wp_ngg_album: Data: 0.02MB + Index: 0.00MB
    wp_ngg_gallery: Data: 0.02MB + Index: 0.00MB
    wp_ngg_pictures: Data: 0.23MB + Index: 0.02MB
    wp_om_hits_log: Data: 0.02MB + Index: 0.05MB
    wp_om_leads: Data: 6.52MB + Index: 3.69MB
    wp_options: Data: 21.45MB + Index: 11.22MB
    wp_pmxi_files: Data: 0.02MB + Index: 0.00MB
    wp_pmxi_history: Data: 0.02MB + Index: 0.00MB
    wp_pmxi_images: Data: 0.06MB + Index: 0.00MB
    wp_pmxi_imports: Data: 0.05MB + Index: 0.00MB
    wp_pmxi_posts: Data: 0.02MB + Index: 0.03MB
    wp_pmxi_templates: Data: 0.05MB + Index: 0.00MB
    wp_postmeta: Data: 296.95MB + Index: 182.42MB
    wp_posts: Data: 54.47MB + Index: 20.92MB
    wp_pty_filters: Data: 0.02MB + Index: 0.02MB
    wp_pty_imps: Data: 9.52MB + Index: 7.03MB
    wp_pty_popups: Data: 0.05MB + Index: 0.02MB
    wp_pty_stats: Data: 0.06MB + Index: 0.02MB
    wp_rg_aweber: Data: 0.02MB + Index: 0.02MB
    wp_rg_form: Data: 0.02MB + Index: 0.00MB
    wp_rg_form_meta: Data: 0.27MB + Index: 0.00MB
    wp_rg_form_view: Data: 11.52MB + Index: 8.03MB
    wp_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB
    wp_rg_lead: Data: 23.55MB + Index: 3.03MB
    wp_rg_lead_detail: Data: 30.56MB + Index: 41.17MB
    wp_rg_lead_detail_long: Data: 2.52MB + Index: 0.00MB
    wp_rg_lead_meta: Data: 13.52MB + Index: 16.61MB
    wp_rg_lead_notes: Data: 0.05MB + Index: 0.03MB
    wp_rg_mailchimp: Data: 0.02MB + Index: 0.02MB
    wp_rg_zapier: Data: 0.02MB + Index: 0.02MB
    wp_sharebar: Data: 0.02MB + Index: 0.00MB
    wp_socialslider: Data: 0.02MB + Index: 0.00MB
    wp_termmeta: Data: 0.16MB + Index: 0.17MB
    wp_terms: Data: 0.05MB + Index: 0.03MB
    wp_term_relationships: Data: 5.27MB + Index: 3.44MB
    wp_term_taxonomy: Data: 0.09MB + Index: 0.03MB
    wp_thesis_terms: Data: 0.02MB + Index: 0.00MB
    wp_usermeta: Data: 74.63MB + Index: 60.09MB
    wp_users: Data: 5.52MB + Index: 4.55MB
    wp_wcpdf_invoice_number: Data: 0.23MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_wfBadLeechers: Data: 0.02MB + Index: 0.00MB
    wp_wfBlocks: Data: 0.02MB + Index: 0.02MB
    wp_wfBlocksAdv: Data: 0.02MB + Index: 0.00MB
    wp_wfConfig: Data: 0.02MB + Index: 0.00MB
    wp_wfCrawlers: Data: 0.02MB + Index: 0.00MB
    wp_wfFileMods: Data: 1.52MB + Index: 0.00MB
    wp_wfHits: Data: 2.52MB + Index: 0.34MB
    wp_wfHoover: Data: 0.02MB + Index: 0.02MB
    wp_wfIssues: Data: 0.02MB + Index: 0.00MB
    wp_wfLeechers: Data: 0.23MB + Index: 0.00MB
    wp_wfLockedOut: Data: 0.02MB + Index: 0.00MB
    wp_wfLocs: Data: 0.02MB + Index: 0.00MB
    wp_wfLogins: Data: 0.02MB + Index: 0.02MB
    wp_wfNet404s: Data: 0.02MB + Index: 0.02MB
    wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB
    wp_wfScanners: Data: 0.02MB + Index: 0.00MB
    wp_wfStatus: Data: 0.08MB + Index: 0.03MB
    wp_wfThrottleLog: Data: 0.02MB + Index: 0.02MB
    wp_wfVulnScanners: Data: 0.02MB + Index: 0.00MB
    wp_wpc_comments_subscription: Data: 0.02MB + Index: 0.05MB
    wp_wpc_phrases: Data: 0.02MB + Index: 0.02MB
    wp_wpc_users_voted: Data: 0.02MB + Index: 0.06MB
    wp_wpdatacharts: Data: 0.02MB + Index: 0.00MB
    wp_wpdatatables: Data: 0.02MB + Index: 0.00MB
    wp_wpdatatables_columns: Data: 0.16MB + Index: 0.00MB
    wp_yarpp_keyword_cache: Data: 0.02MB + Index: 0.00MB
    wp_yarpp_related_cache: Data: 0.02MB + Index: 0.03MB
    wp_yoast_seo_links: Data: 0.17MB + Index: 0.05MB
    wp_yoast_seo_meta: Data: 0.41MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    acf: 15
    acf-field: 51
    acf-field-group: 18
    attachment: 15237
    catalogs: 1742
    display_type: 7
    displayed_gallery: 2
    envira: 30
    faq: 27
    follow_up_email: 3
    gal_display_source: 5
    lightbox_library: 7
    logo: 10
    nav_menu_item: 85
    optin: 6
    page: 313
    post: 276
    product: 6273
    product_variation: 290
    reviews: 1023
    revision: 1975
    scheduled-action: 26943
    shop_coupon: 15
    shop_order: 32298
    shop_order_refund: 322
    testimonials: 91
    wcam: 5
    wpseo_crawl_issue: 40
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (65) ###
    
    Gravity Forms: by rocketgenius – 2.4.5
    Advanced Custom Fields: Repeater Field: by Elliot Condon – 2.1.0
    Advanced Custom Fields: by Elliot Condon – 5.7.10
    Akismet Anti-Spam: by Automattic – 4.1
    Algolia Search for WooCommerce: by Algolia – 0.9.0 – Not tested with the active version of WooCommerce
    Logo Rotator: by Bill Erickson – 1.0
    Black Studio TinyMCE Widget: by Black Studio – 2.6.5
    Gallery Carousel Without JetPack: by Syed Balkhi – 0.7.5
    CodeStyling Localization: by Heiko Rabe – 1.99.30
    Core Functionality: by Bill Erickson & Jared Atchison – 1.1.0
    Disable Cart Fragments: by LittleBizzy – 1.1.1 – Not tested with the active version of WooCommerce
    Envira Gallery: by Envira Gallery Team – 1.8.5.2
    Epeken-All-Kurir Plugin - Full Version: by www.epeken.com – 1.1.8.5.10.5
    Epeken Shipping Ambil Di Toko: by www.epeken.com – 1.0
    Epeken-Gojek Plugin - Full Version: by www.epeken.com – 1.1.5.1
    FacetWP: by FacetWP
    LLC – 3.2.3
    
    Google Analytics by MonsterInsights eCommerce tracking addon: by The MonsterInsights Team – 5.5.2
    Genesis Connect for WooCommerce: by StudioPress – 1.0 – Not tested with the active version of WooCommerce
    Genesis Simple Sidebars: by StudioPress – 2.1.0
    Genesis Title Toggle: by Bill Erickson – 1.8.0
    Genesis Translations: by ThemeMix
    Remkus de Vries – 2.8.0
    
    Google Analytics by MonsterInsights Pro: by MonsterInsights – 5.5.2
    Gravity Forms + Custom Post Types: by spivurno – 3.1.13
    Gravity Forms - Placeholders add-on: by Joan Piedra – 1.2.1
    Gravity Forms Help Scout Add-On: by rocketgenius – 1.5
    Gravity Forms Zapier Add-on: by rocketgenius – 3.1
    Honda - Bike Selector: by SFNdesign
    Curtis McHale – 1.0
    
    Honday Bike Taxonomy: by SFNdesign
    Curtis McHale – 1.0
    
    Honda - Custom After Add to Cart Button Messages: by SFNdesign
    Curtis McHale – 1.0
    
    Honda Popular Product Slider: by SFNdesign
    Curtis McHale – 1.0
    
    HondaCKG Bike Filter: by Radoslav Kolarov – 1.0.0
    HondaCKG Bike Updater: by Radoslav Kolarov – 1.0.0
    HondaCKG Catalog Parts: by Radoslav Kolarov – 1.1.0
    HondaCKG Discontinued Products: by Radoslav Kolarov – 1.0.0
    HondaCKG Market Links: by Radoslav Kolarov – 1.0.0
    HondaCKG Stock Updater: by Radoslav Kolarov – 1.0.0
    Image Widget: by Modern Tribe
    Inc. – 4.4.7
    
    Max Mega Menu: by megamenu.com – 2.5.3.2
    Members: by Justin Tadlock – 2.1.0
    Metorik Helper: by Metorik – 1.0.5 – Not tested with the active version of WooCommerce
    Midtrans - WooCommerce Payment Gateway: by Midtrans – 2.10.0
    mobble: by Scott Evans – 1.6
    OneSignal Push Notifications: by OneSignal – 1.16.9
    Q2W3 Fixed Widget: by Thomas Maier
    Max Bond – 5.1.6
    
    Search by Algolia – Instant & Relevant results: by Algolia – 2.11.3
    SFNdesign - WooCommerce Featured Categories with Images: by SFNdesign
    Curtis McHale – 1.0 – Not tested with the active version of WooCommerce
    
    Shortcode Exec PHP: by Marcel Bokhorst – 1.51
    ShortPixel Image Optimizer: by ShortPixel – 4.12.5
    Typekit Fonts for WordPress: by OM4 – 1.9.0
    WooCommerce AJAX Cart: by Moises Heberle
    Alex Szilagyi (contributor) – 1.2.8
    
    WooCommerce Indonesia Bank: by AgenWebsite – 1.0.2 – Not tested with the active version of WooCommerce
    WooCommerce Konfirmasi Pembayaran: by AgenWebsite – 1.0.3 – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.2.6
    WooCommerce Product Image Flipper: by jameskoster – 0.4.2 – Not tested with the active version of WooCommerce
    WooCommerce Waitlist: by WooCommerce – 1.8.3 – 2.0.13 is available – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.5.4 – 3.6.3 is available
    WooDiscuz - WooCommerce Comments: by gVectors Team (A. Chakhoyan
    G. Zakaryan
    H. Martirosyan) – 2.2.1 – Not tested with the active version of WooCommerce
    
    Yoast SEO Premium: by Team Yoast – 5.2
    WP Crontrol: by John Blackbourn & contributors – 1.6.2
    WP-DBManager: by Lester 'GaMerZ' Chan – 2.79.2
    WP Migrate DB Pro Media Files: by Delicious Brains – 1.4.9
    WP Migrate DB Pro: by Delicious Brains – 1.8.1
    WP-Sweep: by Lester 'GaMerZ' Chan – 1.1.0
    wpDataTables: by TMS-Plugins – 2.3.2
    Yoast SEO: WooCommerce: by Team Yoast – 3.4 – Not tested with the active version of WooCommerce
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: IDR (Rp)
    Currency Position: left_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    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: #10662 - /shop/
    Cart: #10258 - /cart/
    Checkout: #10259 - /checkout/
    My account: #10661 - /account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Honda Cengkareng
    Version: 1.0.0
    Author URL: http://www.billerickson.net
    Child Theme: ✔
    Parent Theme Name: Genesis
    Parent Theme Version: 2.9.1
    Parent Theme Author URL: https://www.studiopress.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: honda-cengkareng/woocommerce/cart/cart-shipping.php version 3.2.0 is out of date. The core version is 3.5.0
    honda-cengkareng/woocommerce/cart/cart.php
    honda-cengkareng/woocommerce/content-widget-product.php version 3.3.0 is out of date. The core version is 3.5.2
    honda-cengkareng/woocommerce/emails/customer-completed-order.php version 2.5.0 is out of date. The core version is 3.5.0
    honda-cengkareng/woocommerce/emails/customer-note.php version 2.5.0 is out of date. The core version is 3.5.0
    honda-cengkareng/woocommerce/emails/customer-on-hold-order.php version 2.5.0 is out of date. The core version is 3.5.0
    honda-cengkareng/woocommerce/emails/customer-processing-order.php version 2.5.0 is out of date. The core version is 3.5.4
    honda-cengkareng/woocommerce/loop/orderby.php
    honda-cengkareng/woocommerce/loop/pagination.php
    honda-cengkareng/woocommerce/loop/rating.php
    honda-cengkareng/woocommerce/loop/result-count.php
    honda-cengkareng/woocommerce/product-searchform.php
    honda-cengkareng/woocommerce/single-product/add-to-cart/grouped.php version 3.3.0 is out of date. The core version is 3.4.0
    honda-cengkareng/woocommerce/single-product/meta.php
    honda-cengkareng/woocommerce/single-product/product-attributes.php
    honda-cengkareng/woocommerce/single-product/up-sells.php
    
    Outdated Templates: ❌
    					
    					
    						Learn how to update
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support RK

    (@riaanknoetze)

    Hi there,

    I’ve just had a look at your site but wasn’t able to replicate that on my side. Here’s what I’m seeing:

    Single Product Page


    Link to image: https://cld.wthms.co/iyjVjy

    Cart Page


    Link to image: https://cld.wthms.co/RN2RtH

    Are there any specific steps we should be following here to see that in action?

    curtismchale

    (@curtismchale)

    Every step you showed so far works as I expect, but when you click “Proceed to checkout” you get an error that there isn’t enough of the product in stock and you can’t fill out the checkout form.

    If you take away a single product, you can see the checkout form fine.

    Plugin Support RK

    (@riaanknoetze)

    Thanks for that – I was looking at the cart page instead of the checkout page. When clicking “Proceed to Checkout”, I’m seeing the following:


    Link to image: https://cld.wthms.co/T3cbXn

    The exact error can be seen in the WooCommerce code at: https://github.com/woocommerce/woocommerce/blob/d7090929e2aa9bb8a712483c6e311b4bf4843d64/templates/checkout/cart-errors.php#L21

    I’m wondering about that template override you have in place (seen in the system status report): Can you share a copy of the system status report of your staging site where you’re only using TwentyNineteen and WooCommerce with nothing else activated?

    Plugin Support RK

    (@riaanknoetze)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    curtismchale

    (@curtismchale)

    But it’s not resolved, I don’t work weekends so I didn’t work. I’ll be back at this tomorrow, please mark it as NOT resolved because it’s not at all yet.

    curtismchale

    (@curtismchale)

    I updated to latest WC as of today and we appear to be good now. Not sure why but I’ll take it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t purchase entire quantity of product’ is closed to new replies.