• Resolved Lucii1708

    (@lucienne1708)


    Hi,

    We’re experiencing an issue with the cart page in WooCommerce. When adding products to the cart using the standard WooCommerce blocks, the item quantity automatically changes to 10, regardless of any adjustments made. It remains fixed at 10.

    However, when we switch to using the WooCommerce shortcode ([woocommerce_cart]), the cart stays empty, no matter how many products are added.

    Interestingly, this issue doesn’t occur when we’re logged in.

    The following we already tried, but it did not help:
    – we deactivated all plugins
    – we have changed to standard theme of WordPress
    – we removed all standard woocommerce pages and added new ones.
    – We removed transients in the tools page
    – We used the shortcode [woocommerce_cart] instead of the blocks in the page editor.
    – We removed the divi editor at the products page
    – AJAX add to cart buttons on archives is enabled.
    – We updatet all perma links

    status report:

    WordPress Environment<br><br>WordPress address (URL): https://stichtingbforyou.nl<br>Site address (URL): https://stichtingbforyou.nl<br>WC Version: 9.2.3<br>Legacy REST API Package Version: De Legacy REST API plugin is niet ge?nstalleerd op deze site.<br>Action Scheduler Version: ? 3.8.1<br>Log Directory Writable: ?<br>WP Version: 6.6.1<br>WP Multisite: –<br>WP Memory Limit: 128 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: nl_NL<br>External object cache: – Server Environment<br><br>Server Info: Flywheel/5.1.0<br>PHP Version: 7.4.33.6<br>PHP Post Max Size: 300 MB<br>PHP Time Limit: 178<br>PHP Max Input Vars: 10000<br>cURL Version: 7.68.0<br>OpenSSL/1.1.1f<br><br>SUHOSIN Installed: –<br>MySQL Version: 5.7.44-google<br>Max Upload Size: 300 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database<br><br>WC Database Version: 9.2.3<br>WC Database Prefix: wp_<br>Totale database grootte: 133.97MB<br>Database gegevens grootte: 88.56MB<br>Database index grootte: 45.41MB<br>wp_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_dnsmpd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>wp_donate_mollie: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_donate_mollie_donors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_donate_mollie_subscriptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_et_bloom_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_fooevents_check_in: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_options: Data: 7.23MB + Index: 0.13MB + Engine InnoDB<br>wp_postmeta: Data: 14.23MB + Index: 2.88MB + Engine InnoDB<br>wp_posts: Data: 22.50MB + Index: 0.59MB + Engine InnoDB<br>wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilemods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wfknownfilelist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfls_role_counts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfstatus: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wonderplugin_carousel: Data: 0.03MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgdprc_access_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgdprc_consents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgdprc_delete_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgdprc_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wsal_metadata: Data: 25.53MB + Index: 32.05MB + Engine InnoDB<br>wp_wsal_occurrences: Data: 16.05MB + Index: 7.03MB + Engine InnoDB<br>wp_yoast_indexable: Data: 0.20MB + Index: 0.09MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.38MB + Index: 0.30MB + Engine InnoDB Post Type Counts<br><br>attachment: 1687<br>custom_css: 1<br>customize_changeset: 5<br>dflip: 3<br>et_header_layout: 1<br>et_pb_layout: 57<br>event_magic_tickets: 27<br>flamingo_contact: 61<br>flamingo_inbound: 107<br>nav_menu_item: 33<br>oembed_cache: 1<br>page: 63<br>popup: 6<br>popup_theme: 8<br>post: 192<br>product: 4<br>project: 24<br>revision: 1525<br>shop_coupon: 1<br>shop_order_placehold: 17<br>team: 55<br>wp_font_face: 33<br>wp_font_family: 12<br>wp_global_styles: 2<br>wp_navigation: 1<br>wpcode: 4 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (21)<br><br>Divi Torque Lite: door DiviEpic – 4.0.5<br>3D FlipBook : Dflip Lite: door DearHive – 2.3.32<br>Autocomplete WooCommerce Orders: door QuadLayers – 3.3.3<br>Complianz | GDPR/CCPA Cookie Consent: door Really Simple Plugins – 7.1.0<br>Divi Extended Column Layouts: door Sean Barton - Tortoise IT – 1.6<br>Doneren met Mollie: door Wobbie.nl – 2.10.5<br>Divi All In One: door Divi Web Design – 1.0.0<br>IFrame Shortcode: door Flyn San – 1.0.5<br>FooEvents voor WooCommerce: door FooEvents – 1.19.32<br>Google Analytics for WordPress by MonsterInsights: door MonsterInsights – 9.0.1<br>GTranslate: door Translate AI Multilingual Solutions – 3.0.6<br>Indeed My Team (shared on wplocker.com): door indeed – 2.6<br>WPCode Lite: door WPCode – 2.2.1<br>KK Custom Form/CRM: door James King – 0.3.3<br>Kntnts Eladdon: door – 1.0.58<br>Mollie Payments for WooCommerce: door Mollie – 7.8.0<br>Redirection: door John Godley – 5.5.0<br>Simple Custom CSS: door John Regan – 4.0.6<br>WooCommerce: door Automattic – 9.2.3<br>Yoast SEO: door Team Yoast – 23.4<br>WP Galerij Custom Links: door johnogg – 1.12 Inactive Plugins (0) Dropin Plugins ()<br><br>db-error.php: db-error.php Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: EUR (€)<br>Currency Position: left_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 dagen<br>Level threshold: –<br>Log directory size: 478 KB WC Pages<br><br>Winkelbasis: #12717 - /winkel/<br>Winkelwagen: #12718 - /winkelwagen/ - Bevat de [woocommerce_cart] shortcode<br>Afrekenen: #12719 - /afrekenen/ - Bevat het woocommerce/checkout blok<br>Mijn account: #12720 - /mijn-account/<br>Algemene voorwaarden: ? Pagina niet ingesteld Theme<br><br>Name: Divi<br>Version: 4.27.1<br>Author URL: https://www.elegantthemes.com<br>Child Theme: ? – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt<br>raden we het gebruik van een sub thema aan. Zie: Hoe maak je eensub thema<br><br>WooCommerce Support: ? Templates<br><br>Overrides: – Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br><br>Daily Cron: ? Next scheduled: 2024-09-05 14:53:48 +01:00<br>Options: ?<br>Notes: 66<br>Onboarding: completed Action Scheduler<br><br>Afgerond: 100<br>Oldest: 2024-08-05 15:59:40 +0000<br>Newest: 2024-09-05 11:11:42 +0000<br><br>Mislukt: 3<br>Oldest: 2024-07-15 14:56:36 +0000<br>Newest: 2024-09-05 10:45:38 +0000<br><br>In afwachting: 1<br>Oldest: 2024-09-05 17:23:50 +0000<br>Newest: 2024-09-05 17:23:50 +0000 Status report information<br><br>Generated at: 2024-09-05 12:14:59 +01:00<br>

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @lucienne1708,

    Thank you for reaching out.

    I understand you’re facing issues with the WooCommerce cart page when logged out.

    It looks like you’ve already tried a few good troubleshooting steps, so let’s try some more.

    Since the issue doesn’t occur when you’re logged in, it might be related to a caching issue. Please ask your hosting provider to clear any server side cache and check if the issue persists.

    I tried adding the ticket to my cart as a guest and the cart item displayed correctly. Are you able to share a screen recording replicating the issues for us? You can use a recording software of your choice and then share the direct link here for us.

    Thanks.

    Thread Starter Lucii1708

    (@lucienne1708)

    Hello,

    You can view the details in this video:https://www.loom.com/share/ba96eeccda8a433dba66a74a780123b2?sid=52516f74-670f-4454-8364-a6486fbf4c8e

    Here’s what’s happening:

    1. Automatic Product in Cart without having a product added to the cart:
      When visiting the checkout page, without having a product added to the cart, a product is automatically added to the cart with a predefined amount. If you proceed further, you cannot complete the checkout because no products were manually added. After removing the product from the cart, the cart appears empty. However, when refreshing the page, the same product reappears with its initial amount.
    2. Issue with Product Amounts:
      When adding a product from the store (e.g.,?https://stichtingbforyou.nl/product/benefietconcert-b-for-you/) to the cart and navigating to the cart page, the amount shown does not match the expected value. Interestingly, when proceeding to the checkout page, the correct amount is displayed.
    3. Cart and Checkout Inconsistency:
      If you return to the cart page and modify the quantity, the updated amount is correctly reflected on the checkout page. However, this inconsistency between the cart and checkout amounts can be confusing.

    Could you please help us resolve these issues? Let me know if you need any additional information.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Lucii1708,

    Thank you for your reply.

    I checked your site and noticed a JS error.
    This error could be causing a domino effect problem and breaking the JS functionality.

    It is not yet clear what is causing this error.
    It could be a 3rd party plugin or the theme.

    For further troubleshooting, I suggest you deactivate all the plugins except WooCommerce and then switch to the Twenty Twenty-four theme. Then allow me to inspect the site.

    If that is not feasible for the live site then I suggest creating a staging site. You may use the WP Staging plugin to create one.

    Let me know once you have completed these steps so I can check the site again.
    Looking forward to your response. ??

    Best regards.

    Thread Starter Lucii1708

    (@lucienne1708)

    Hey,

    we deactivated all plugins and changed the theme into a WordPress theme. Only woocommerce is activated.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Lucii1708,

    Thank you for your reply.

    I rechecked the site but did not see any changes you mentioned.
    Just to make sure, I am checking this site.

    Here is a screenshot:

    Looking forward to your response. ??

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘problem cart page’ is closed to new replies.