• Hey,

    I’m developing a site locally (on the WP 5.0 release candidate if that matters).
    I installed the latest version of OceanWP from the WordPress repository.
    I installed Woocommerce, and a cart icon was added to my main menu.

    I wanted to disable this icon, so I went to the Customizer, to Woocommerce > Menu Cart, then chose Disabled on All Devices in the Visibility dropdown.

    The icon disappeared only on desktop. In Tablet and Mobile it still shows.

    Could this be a bug?

    • This topic was modified 5 years, 12 months ago by udidol.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi,

    Try to add the below code in the Customize > Custom CSS section and let me know it works or not.

    .wcmenucart-hide {
       display: none !important;
    }

    It will only work after disabling the cart from the customize > woocommerce > menu cart (select disabled on all devices).

    Thread Starter udidol

    (@udidol)

    I don’t want to hide it via CSS.
    I want the whole element to not be rendered in the DOM.

    From what I gather, this is a setting saved by the Customizer in the database, and there’s an if statement somewhere that determines whether the element is rendered or not.

    I think there is a bug there, the Customizer setting does not change the site behavior.

    Okay, I’ll pass your query to theme author.

    5months past and this problem remains, in OceanWP we can only hide the shopping cart by addtional css code:(
    I think it is the problem with woocommerce, not the theme.

    I also have the exactly same problem, I cannot disable the mobile cart icon through Customize.

    @shinnmoon and @ricdam sorry for the delay, this issue has been fixed in the theme but I’ll check it again. Thank you for pointing on it.

    Hi Amit.

    Are there any news? We′re on the latest release of OceanWP – but can′t hide the symbol yet.

    Same problem cannot seem to hide the cart icon,

    @nickptty, @shenom have you checked it on the live site after publishing the settings? Also, clear cache to view the site. I just checked the settings and it is working fine.

    (@apprimit)Solved the problem thanks,

    Glad to hear that!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘cart icon cannot be removed with customizer’ is closed to new replies.