Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Dante
  • #90796
    myglassstudio
    Member
    Post count: 46

    I am trying to find a way how to remove the basket (cart option) from the whole website and keep it enable only in some specific pages (for example: http://glasstimes.org/online-shop/plates/).

    In the theme options -> header options , I have only the general on/off

    (Show cart aux option
    Check this to show the WooCommerce cart dropdown in the header.) option, as you can see in the attachment file.

    but, how is this possible to disable for the whole website and enable it only for some pages?

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #90811
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid that’s not possible sorry, you could hide it on certain pages with css, but will have to hide it individually for each page

    – Kyle

    #90820
    myglassstudio
    Member
    Post count: 46

    First Kyle thank you for your unbelievable fast response, this is super fast! ๐Ÿ™‚

    Second,

    is it possible to help me and give me an example (let’s say for this page: http://glasstimes.org/professionals/)

    and I will thing after what to do or not to do… for this issue I have.

    Thank you!

    #90830
    myglassstudio
    Member
    Post count: 46

    After your advise I created a RAW HTML Element and put the following code for this page http://glasstimes.org/professionals/about-us/:

    <style type=”text/css”>
    #main-nav .menu > li.shopping-bag-item {

    display: none;
    }
    </style>

    of, course this works only for this page, but I am wondering if you have a better idea to say:
    display none; the li.shopping-bag-item for the pages with the ID 15175, 15176 , etc…

    and to put it all together in the CSS/JS theme options?

    Is this possible?

    #90831
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to get the page class of the page, which you will find if you right click > view source and find the .page-id-12150 #main-nav .menu > li.shopping-bag-item {
    display: none;
    }

    – Kyle

    #90832
    myglassstudio
    Member
    Post count: 46

    thank you , you save my day!

    ๐Ÿ™‚

    #90835
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    – Kyle

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register