• I have put the WooCommerce Cart Widget in my right sidebar with the option to Hide if empty, except that it shows. I have also tried installing “Display Widgets” and have ticked off to Hide on Shop and Store pages, but still it shows up.

    Can you please help me to hide the empty cart.

    The store page in general is https://plantbest.com/store/ The shop page is https://plantbest.com/shop/

    All pages show empty cart.
    Thank you.

    
    '### WordPress Environment ###
    
    Home URL: https://plantbest.com
    Site URL: https://plantbest.com
    WC Version: 2.6.8
    Log Directory Writable: ?
    WP Version: 4.6.1
    WP Multisite: �
    WP Memory Limit: 256 MB
    WP Debug Mode: �
    WP Cron: ?
    Language: en_CA
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.28
    PHP Post Max Size: 8 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 10000
    cURL Version: 7.19.7
    NSS/3.21 Basic ECC
    
    SUHOSIN Installed: �
    MySQL Version: 5.6.34
    Max Upload Size: 8 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.8
    : 
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?
    
    ### Active Plugins (34) ###
    
    WeePie Framework: by WeePie Plugins � 1.2.9
    Akismet: by Automattic � 3.2
    All 404 Redirect  to Homepage: by Fakhri Alsadi � 1.4
    Anti-Spambot Email Shortcode: by Robert Peake � 1.1
    Aspexi Facebook Like Box Slider HD: by Aspexi � 2.1.3
    BackWPup: by Inpsyde GmbH � 3.3.4
    iThemes Security: by iThemes � 5.7.1
    Category Posts in Custom Menu: by Diana Koenraadt � 1.2.2
    Custom Favicon: by Harish Chouhan � 1.0.3
    Display Widgets: by Strategy11 � 2.05
    Email Log: by Sudar � 1.9.1
    Form Maker Pro: by WebDorado � 2.9.17
    Google Analytics by MonsterInsights: by MonsterInsights � 5.5.4
    GP Premium: by Thomas Usborne � 1.2.62
    Hierarchical HTML Sitemap: by Alexandra Vovk � 1.1
    Easy HTTPS (SSL) Redirection: by Tips and Tricks HQ � 1.5
    iThemes Sync: by iThemes � 1.7.1
    Lightweight Grid Columns: by Tom Usborne � 0.7
    Post Types Order: by Nsp Code � 1.9
    Reveal IDs: by Oliver Schl�be � 1.4.6.2
    Search Everything: by Zemanta � 8.1.6
    Secure HTML5 Video Player: by Lucinda Brown
    Jinsoo Kang � 3.14
    
    Simple Custom CSS: by John Regan
    Danny Van Kooten � 3.3
    
    Spacer: by Justin Saad � 3.0.4
    TablePress: by Tobias B�thge � 1.7
    TinyMCE Advanced: by Andrew Ozz � 4.4.1
    UPS (BASIC) WooCommerce Shipping: by WooForce � 1.1.7
    WeePie Custom List Bullets: by WeePie Plugins � 2.1
    WooCommerce: by WooThemes � 2.6.8
    Yoast SEO: by Team Yoast � 3.8
    WP Rocket: by WP Media � 2.8.23
    WP-SpamShield: by Scott Allen � 1.9.9.8
    SmartCrawl: by WPMU DEV � 1.7.7
    WPMU DEV Dashboard: by WPMU DEV � 4.2
    
    ### Settings ###
    
    Force SSL: ?
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    
    ### WC Pages ###
    
    Shop Base: #5027 - /shop/
    Cart: #5028 - /cart/
    Checkout: #5029 - /checkout/
    My Account: #5030 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: GeneratePress Child
    Version: 0.1
    Author URL: https://edge22.com
    Child Theme: ?
    Parent Theme Name: GeneratePress
    Parent Theme Version: 1.3.40
    Parent Theme Author URL: https://tomusborne.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: �
    

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ma3ry

    (@ma3ry)

    Please ignore this post. User error. Sorry!

    Thread Starter ma3ry

    (@ma3ry)

    Wrong again. There is a problem. Now when I add to the cart, nothing shows up. I wish I could edit these posts or attach screenshots to describe better the problem.

    In the first case where I said user error it was because I had tried to put through an order without having completed the shipping set up, so there were items left in the cart, although the cart showed empty.

    Then I went into View Cart and actually did empty the cart of the items that were there and the widget did indeed disappear, which is why I said, “user error”.

    However when I added products again, this time the cart shows in the widget space with the title of Cart, but there are no items in it.

    Sorry to be such a bother. I’m just trying to figure it out and it doesn’t appear to be working as I’m expecting it to.

    @ma3ry I did try adding and removing some things from your cart and the sidebar widget appeared and disappeared as expected.

    Thread Starter ma3ry

    (@ma3ry)

    Quite right! All is working perfectly today. Perhaps there was a glitch in the internet yesterday.

    Sorry to have bothered you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide Cart If Empty Doesn’t Work’ is closed to new replies.