• Resolved Andrew Sampson

    (@sammoda82)


    Hi there
    I want the basket not to show on over 60 pages on our website.
    I know how to add individual pages to the section called Hide Basket Pages, But adding 60 pages there is a lot!
    Is it possible to override the coding to exclude everything except WooCommerce pages/categories/etc

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xootix

    (@xootix)

    Hello @sammoda82

    There are two possible ways to deal with this.

    1) You may place a basket icon in your menu bar, provide that menu item a class.
    How to add a class ( 1 – 3 steps )
    Go to side cart settings -> advanced -> Trigger class
    Place your class name here.
    Now your menu icon will trigger the side cart & you can disable the basket completely from the settings.

    2) Using CSS, “archive” class is for shop & category pages

    .xoo-wsc-basket{
    	display: none!important;
    }
    
    .page-id-2 .xoo-wsc-basket , .page-id-3 .xoo-wsc-basket, .archive .xoo-wsc-basket{
    	display: block!important;
    }
    • This reply was modified 4 years, 2 months ago by xootix.
    • This reply was modified 4 years, 2 months ago by xootix.
    Thread Starter Andrew Sampson

    (@sammoda82)

    Thanks for the reply
    The CSS option works perfectly

    Andrew

    Plugin Author xootix

    (@xootix)

    You’re welcome.
    Would really appreciate if you rate the plugin here
    https://wordpress.org/support/plugin/side-cart-woocommerce/reviews/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude all pages except WooCommerce pages from displaying basket’ is closed to new replies.