Enable sold Product archive image link - by frankandmaven

This topic has 4 replies, 2 voices, and was last updated 5 years, 8 months ago ago by Olga Barlow

  • Avatar: frankandmaven
    frankandmaven
    Participant
    August 8, 2018 at 19:42

    Right now, when a product is marked as sold, I have it still visible on the archive pages. I would like to have the product image link to work as well. Is there a way to have the link still be clickable on sold products? I’ve tried changing z-indexes and using javascript to link, but both options aren’t working (js adds “undefined” to url, and z-index just isn’t working). Do you have a solution? Thank you for any help you can provide!

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 9, 2018 at 09:35

    Hello,

    Add the following code in child theme style.css

    .products-loop .outofstock .product-image-wrapper {
        pointer-events: unset;
    }

    Regards

    Avatar: frankandmaven
    frankandmaven
    Participant
    August 9, 2018 at 16:17

    Thank you!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 10, 2018 at 17:03

    You are welcome!

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.