Support » Plugin: WooCommerce » Add to Cart feature is not working | Your cart is currently empty

  • Resolved drvijayg

    (@drvijayg)


    Hi All,

    Please help my website’s Add to Cart feature is not working properly. Shopping Cart is showing “Your cart is currently empty” even after clicking on “Add to Cart” button.

    The same is working fine while I’m logged in to the admin panel.

    Woocomerce System Status Report

    
    ### WordPress Environment ###
    
    Home URL: http://www.divamm.com
    Site URL: http://www.divamm.com
    WC Version: 3.2.6
    Log Directory Writable: ✔
    WP Version: 4.9.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.0.27
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: ❌ 5.5.56 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.2.6
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.
    Total Database Size: 22.92MB
    Database Data Size: 16.58MB
    Database Index Size: 6.34MB
    wp_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_b_testimo_slide: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.06MB + Index: 0.09MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 4.03MB + Index: 1.06MB
    wp_paytm_donation: Data: 0.02MB + Index: 0.02MB
    wp_pmxi_files: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_imports: Data: 0.00MB + Index: 0.00MB
    wp_postmeta: Data: 8.38MB + Index: 4.28MB
    wp_posts: Data: 3.34MB + Index: 0.56MB
    wp_revslider_css: Data: 0.09MB + Index: 0.00MB
    wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_sliders: Data: 0.03MB + Index: 0.00MB
    wp_revslider_slides: Data: 0.23MB + Index: 0.00MB
    wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB
    wp_soo_wishlists: Data: 0.00MB + Index: 0.00MB
    wp_soo_wishlists_items: Data: 0.00MB + Index: 0.00MB
    wp_strong_views: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.14MB + Index: 0.06MB
    wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB
    wp_usermeta: Data: 0.05MB + Index: 0.03MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.01MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.02MB
    
    ### Post Type Counts ###
    
    attachment: 1679
    custom_css: 2
    mc4wp-form: 2
    nav_menu_item: 168
    page: 61
    portfolio: 15
    post: 27
    product: 476
    revision: 107
    shop_order: 18
    testimonial: 4
    testimonial_rotator: 1
    testimonials-widget: 2
    tss_data: 2
    tss_slider: 1
    wpcf7_contact_form: 3
    wpm-testimonial: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (22) ###
    
    Akismet Anti-Spam: by Automattic – 4.0.1
    Contact Form 7: by Takayuki Miyoshi – 4.9.2
    Facebook Widget: by Milap Patel – 4.2.2
    Hello Dolly: by Matt Mullenweg – 1.6
    WPBakery Page Builder: by Michael M - WPBakery.com – 5.4.4
    Kirki Toolkit: by Aristeides Stathopoulos – 3.0.22
    MailChimp for WordPress: by ibericode – 4.1.12
    Meta Box: by MetaBox.io – 4.12.6
    WooCommerce paytm gateway: by Paytm – 0.2 – Not tested with the active version of WooCommerce
    Slider Revolution: by ThemePunch – 5.4.6.3.1
    Sober Addons: by UIX Themes – 1.3.6
    Soo Product Filter: by SooThemes – 1.0.5 – Not tested with the active version of WooCommerce
    Soo Wishlist: by SooPlugins – 1.0.6 – Not tested with the active version of WooCommerce
    WooCommerce Variation Swatches: by ThemeAlien – 1.0.3 – Not tested with the active version of WooCommerce
    Facebook Open Graph, Google+ and Twitter Card Tags: by Webdados – 2.1.6.3
    WooCommerce Permalink Manager: by premmerce – 1.1.2 – Not tested with the active version of WooCommerce
    Woocommerce CSV Import: by Allaerd Mensonides – 3.3.6 – Not tested with the active version of WooCommerce
    WooCommerce Currency Switcher: by realmag777 – 1.2.1 – Not tested with the active version of WooCommerce
    WooCommerce PayU India (PayUmoney & PayUbiz): by _KDC-Labs – 2.1.1 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.2.6 – 3.3.1 is available
    Yoast SEO: by Team Yoast – 6.2
    WP Instagram Widget: by Scott Evans – 2.0.0
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: INR (Rs)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 1
    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: #4 - /shop/
    Cart: #5 - /cart/
    Checkout: #6 - /checkout/
    My account: #7 - /my-account/
    Terms and conditions: #2993 - /terms-conditions/
    
    ### Theme ###
    
    Name: Sober
    Version: 2.0.2
    Author URL: http://uix.store
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: sober/woocommerce/cart/cart-shipping.php
    sober/woocommerce/cart/cart.php
    sober/woocommerce/cart/mini-cart.php
    sober/woocommerce/checkout/form-checkout.php
    sober/woocommerce/checkout/form-coupon.php
    sober/woocommerce/checkout/form-login.php
    sober/woocommerce/checkout/review-order.php
    sober/woocommerce/global/form-login.php
    sober/woocommerce/global/quantity-input.php version 2.5.0 is out of date. The core version is 3.2.0
    sober/woocommerce/global/wrapper-end.php
    sober/woocommerce/global/wrapper-start.php
    sober/woocommerce/loop/add-to-cart.php
    sober/woocommerce/loop/price.php
    sober/woocommerce/loop/result-count.php
    sober/woocommerce/myaccount/dashboard.php
    sober/woocommerce/myaccount/form-edit-account.php
    sober/woocommerce/myaccount/form-login.php version 2.6.0 is out of date. The core version is 3.2.0
    sober/woocommerce/myaccount/my-address.php
    sober/woocommerce/notices/error.php
    sober/woocommerce/notices/success.php
    sober/woocommerce/order/form-tracking.php version 1.6.4 is out of date. The core version is 3.2.0
    sober/woocommerce/single-product/add-to-cart/external.php
    sober/woocommerce/single-product/add-to-cart/grouped.php
    sober/woocommerce/single-product/add-to-cart/simple.php
    sober/woocommerce/single-product/add-to-cart/variable.php
    sober/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    sober/woocommerce/single-product/product-image.php
    sober/woocommerce/single-product/product-thumbnails.php
    sober/woocommerce/single-product/related.php
    sober/woocommerce/single-product/review-meta.php
    sober/woocommerce/single-product/tabs/additional-information.php
    sober/woocommerce/single-product/tabs/tabs.php
    sober/woocommerce/single-product/up-sells.php
    sober/woocommerce/single-product-reviews.php version 2.3.2 is out of date. The core version is 3.2.0
    
    Outdated Templates: ❌Learn how to update
    

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The add to cart function on your site isn’t working for me either. Looking over your status, I see that you are using both an outdated WordPress and an outdated WooCommerce. I suggest starting with updating both of them.

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @drvijayg,

    Cross testing for you on my test installs using the latest version of WooCommerce and the free Storefront theme the add to cart functionlaity is working as expected.

    This indicates that something on your site other than our WooCommerce plugin is having a negative effect and causing this behavior which you are experiencing possibly like @sweigold indicated due to the outdated plugins or a theme which like in your case is overriding a lot of the WooCommerce plugins template files from the theme itself.

    Update all of your products and if the behavior persists disable all plugins aside from WooCommerce and change to a theme like Twenty Seventeen or Storefront to test for software conflicts.

    Thread Starter drvijayg

    (@drvijayg)

    Thanks guys for the help, will do the suggested things and update here shortly.

    Plugin Support Luminus Alabi a11n

    (@luminus)

    Automattic Happiness Engineer

    @drvijayg,

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add to Cart feature is not working | Your cart is currently empty’ is closed to new replies.