Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #658698

    alorraine
    Participant

    Hey you lovely cats.

    I’ve searched, there are many answers, but none have helped me.

    In my wee shop, I’d like a WooCommerce ShopManager to be able to add products that automagically appear on a certain page. Achieved this with [product_category category=”showcase”]

    All good so far, but the hover ‘Add to Cart’ button appears on the product image. I’d like to force end users to go into the product page, add to cart from there and continue a linear purchase route.

    In the (absolutely WONDERFUL) ThemeX support, and other places, I’ve found this code ” .woocommerce ul.products li.product .add-to-cart-button-inner, .woocommerce-page ul.products li.product .add-to-cart-button-inner{ display: none; } ” but it doesn’t work for me. I cannot work out why, and wondered if you could assist me please. Login follows..

    #658703

    alorraine
    Participant
    This reply has been marked as private.
    #659029

    Lely
    Moderator

    Hello There,

    Thanks for posting in and giving us your admin credentials. You’re structure might be different. Please use the following CSS instead:

    .page-id-682 a.button.add_to_cart_button.product_type_simple {
        display: none;
    }

    Hope this helps.

    #659295

    alorraine
    Participant

    Look at your cape blowing in the wind – HERO!

    The code you supplied worked in the page’s Custom CSS, but not in the Theme Custom CSS – nevertheless – it worked for me. I should have asked ages ago.

    Thanks for your help – the forums and support you guys give is the best I’ve experienced online, for anything.

    x

    #659300

    Thai
    Moderator

    Glad it worked 🙂

    If you need anything else, please let us know.