• Resolved dpgb

    (@dpgb)


    When an item is added to the cart it doesn’t update in the cart. You have to refresh the page for the cart to update…

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there, @dpgb! Thanks for contacting us. I’m happy to help you.

    I checked your website and faced the same issue.

    There are a few things that might be causing this.

    The first step to figure out is to make sure that the Cart and Checkout pages are not being cached. You can check that with your host.

    Also, if you have any caching plugins, please disable them and see if the issue persists.

    If this does not work, please let us know so we can continue to assist you. When you do, please share the System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.

    Have a wonderful day!

    Sepi

    (@sepicompanywork)

    maybe ajax is disable for your site, maybe you need to change theme and test again.

    Thread Starter dpgb

    (@dpgb)

    Hi yeah unfortunately still an issue, Ajax is enabled, did work fine until recently. Here is the report: 
    
    
    
    
     WordPress Environment
    
    WordPress address (URL): https://www.thedeadpigeon.com
    Site address (URL): https://www.thedeadpigeon.com
    WC Version: 8.4.0
    REST API Version: ? 8.4.0
    WC Blocks Version: ? 11.6.2
    Action Scheduler Version: ? 3.7.0
    Log Directory Writable: ?
    WP Version: 6.4.2
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: – Server Environment
    
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 2 GB
    PHP Time Limit: 300
    PHP Max Input Vars: 4000
    cURL Version: 8.1.2
    OpenSSL/1.1.1t-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.26-MariaDB-log
    Max Upload Size: 2 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database
    
    WC Database Version: 4.3.2
    WC Database Prefix: wp_
    Total Database Size: 1178.50MB
    Database Data Size: 755.55MB
    Database Index Size: 422.95MB
    wp_woocommerce_sessions: Data: 8.02MB + Index: 1.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 17.55MB + Index: 5.52MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 296.77MB + Index: 111.22MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.23MB + Index: 0.27MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 5.02MB + Index: 10.92MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 4.02MB + Index: 3.03MB + Engine InnoDB
    wp_bv_activities_store: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_cf_forms: Data: 2.52MB + Index: 0.02MB + Engine InnoDB
    wp_cf_form_entries: Data: 9.52MB + Index: 13.06MB + Engine InnoDB
    wp_cf_form_entry_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cf_form_entry_values: Data: 21.55MB + Index: 20.55MB + Engine InnoDB
    wp_cf_pro_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_queue_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_queue_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_tracking_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 33.56MB + Index: 21.09MB + Engine InnoDB
    wp_defender_audit_log: Data: 8.52MB + Index: 8.58MB + Engine InnoDB
    wp_defender_email_log: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_defender_lockout: Data: 3.52MB + Index: 2.44MB + Engine InnoDB
    wp_defender_lockout_log: Data: 1.52MB + Index: 0.61MB + Engine InnoDB
    wp_defender_quarantine: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_defender_scan_item: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_easywpsmtp_debug_events: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_easywpsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_jckwds: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 6.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_nd_rst_booking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 5.25MB + Index: 1.25MB + Engine InnoDB
    wp_postmeta: Data: 261.80MB + Index: 185.38MB + Engine InnoDB
    wp_posts: Data: 24.53MB + Index: 10.53MB + Engine InnoDB
    wp_smush_dir_images: Data: 1.52MB + Index: 0.17MB + Engine InnoDB
    wp_stock_log: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.30MB + Index: 0.17MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_vxc_zoho_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_vxc_zoho_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 2.52MB + Index: 1.73MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.48MB + Index: 0.48MB + Engine InnoDB
    wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 22.55MB + Index: 17.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 6.52MB + Index: 4.55MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 1.52MB + Index: 0.66MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.19MB + Index: 0.33MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wdap_backups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wdap_collection: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_gc_activity: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_gc_cards: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wpfb_gettwitter_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpr_rocket_cache: Data: 0.19MB + Index: 0.27MB + Engine InnoDB
    wp_wpr_rucss_used_css: Data: 1.42MB + Index: 0.44MB + Engine InnoDB Post Type Counts
    
    acf-field-group: 1
    attachment: 1009
    bc_checkout: 1
    cffrtb_field: 2
    custom_css: 2
    df_menu_item: 1
    et_footer_layout: 1
    et_header_layout: 7
    et_pb_layout: 450
    et_template: 8
    et_theme_builder: 1
    exwo_glboptions: 17
    exwoofood_scbd: 34
    gift_card: 512
    nav_menu_item: 12
    nd_rst_cpt_1: 1
    page: 27
    popupbuilder: 4
    post: 3
    product: 1409
    product_variation: 619
    rtb-booking: 2828
    shop_coupon: 139
    shop_order: 59248
    shop_order_refund: 277
    wdf_scan: 1 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (26)
    
    Divi BodyCommerce: by Divi Engine – 8.1.5.1
    Divi Switch: by Gritty – 2.1
    Easy WP SMTP: by Easy WP SMTP – 2.2.0
    Facebook for WooCommerce: by Facebook – 3.1.6
    WooCommerce Delivery Slots by Iconic: by Iconic – 1.24.1
    Mailchimp for WooCommerce: by Mailchimp – 3.5
    Service Area Postcode Checker: by second2none – 2.0.8
    Shipday Integration for WordPress (WooCommerce): by – 1.8
    Sort WooCommerce Products in Cart and Order: by Kartik Parmar – 1.3
    Star CloudPRNT for WooCommerce: by lawrenceowen
    athompson1
    gcubero
    fmahmood – 2.0.3
    
    Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder: by Supreme Modules – 2.5.3
    Divi Supreme Pro: by Divi Supreme – 4.9.87
    Variation Price Display Range for WooCommerce: by WPXtension – 1.3.11
    WC Hide Shipping Methods: by Rynaldo Stoltz – 1.5
    WooCommerce Food: by Ex-Themes – 3.2.4
    Checkout Field Editor for WooCommerce (Pro): by ThemeHigh – 3.6.0
    WooCommerce Stripe Gateway: by WooCommerce – 7.8.1
    WooCommerce Shipping & Tax: by WooCommerce – 2.4.2
    WooCommerce Smart Coupons: by StoreApps – 4.20.1
    Stock Manager for WooCommerce: by StoreApps – 3.0.0
    WooCommerce: by Automattic – 8.4.0
    Defender Pro: by WPMU DEV – 4.4.1
    WP Rocket: by WP Media – 3.15.6
    Smush Pro: by WPMU DEV – 3.12.6
    WPMU DEV Dashboard: by WPMU DEV – 4.11.18
    YITH WooCommerce Gift Cards: by YITH – 4.7.0 Inactive Plugins (0) Dropin Plugins (1)
    
    advanced-cache.php: advanced-cache.php Must Use Plugins (1)
    
    StackCache: by Stack CP – Settings
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    gift-card (gift-card)
    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: #86183 - /food-order/
    Basket: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: #99 - /checkout/
    My account: #100 - /my-account/
    Terms and conditions: ? Page not set Theme
    
    Name: Divi Powerful Child Theme
    Version: 1.2.0
    Author URL: https://divi.help
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.23.4
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ? Templates
    
    Overrides: /home/sites/1a/5/5e3fb4ced8/public_html/wp-content/plugins/woo-exfood/templates/content-shortcodes/mini-cart.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
    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-external-affiliate
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2024-01-03 01:41:21 +00:00
    Options: ?
    Notes: 198
    Onboarding: completed Action Scheduler
    
    Canceled: 1
    Oldest: 2023-12-21 19:03:24 +0000
    Newest: 2023-12-21 19:03:24 +0000
    
    Complete: 13,244
    Oldest: 2023-12-30 07:13:58 +0000
    Newest: 2024-01-02 13:00:29 +0000
    
    Failed: 39
    Oldest: 2021-06-15 17:17:30 +0100
    Newest: 2021-06-15 17:17:30 +0100
    
    Pending: 35
    Oldest: -0001-11-29 23:58:45 -0001
    Newest: 2024-01-02 18:53:06 +0000 Status report information
    
    Generated at: 2024-01-02 13:03:00 +00:00
    
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @dpgb,

    I’ve checked your system status reports, and it looks like your theme is overriding the default mini cart template. I’d suggest reaching out to your theme developer for further help. They’ll be able to address the Cart Fragments script or Ajax issue.

    In the meantime, you may try adding this code snippet to your child theme’s functions.php and see whether it resolves or not:

    function enqueue_wc_cart_fragments() { wp_enqueue_script( 'wc-cart-fragments' ); }
    add_action( 'wp_enqueue_scripts', 'enqueue_wc_cart_fragments' );

    Since this is a third-party theme which we don’t provide support for (please see our Support Policy), it would be best to reach out to the theme’s developers for further assistance. I am sure they will have no problem supporting you there.

    Thanks!

    Hey there ??,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – feel free to create a new topic if you need any further help. ??

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cart not updating’ is closed to new replies.