• Resolved wilsmithwp

    (@wilsmithwp)


    Hi there, i just deleted another wishlist plugin for woocommerce because yours looks much better and is easier to handle. (((-l

    It works everywhere, on single post, on a filter engine results, everywhere ok.
    But,
    I am using woocommerce and when adding the shortcode to the product in the loop, it shows 2x the heart.
    1x with the link to the product detail page and 1x with the link for adding the product to the favorites list.
    Then also all other links in the product are gone. So the title of the product and thumbnail are not clickable anymore.
    I tried to hide 1 heart, that works, but the links do not return to the product items.
    Hope you have seen this before.
    Cannot show you the website because i am building it offline on my own webserver.
    Greetz and have a good X-mas
    Wil

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter wilsmithwp

    (@wilsmithwp)

    Ow, maybe i can ask this in another way.
    Let’s say i place an image of a heart.
    Hoe can i add the same function (add product to favorites list) to this image?
    Maybe i can solve it that way.
    Thanx!
    Wil

    Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @wilsmithwp

    Thank you for your rating and your question.

    Unfortunately, it is difficult to add the same function (add product to favorites list) to that <img>.

    This is because this function is written out as an HTML tag with dynamic elements in the shortcode.

    Can you upload the code of the loop part of the problem to this topic?

    If I can see both the PHP source code and the HTML elements of the output result, I may be able to figure out the cause.

    The problem with the link may be that the <a> is not closed, or there is an <a> inside an <a>.

    It may be similar to this problem.

    Happy holidays!

    Thread Starter wilsmithwp

    (@wilsmithwp)

    Yes, i think this was the problem.
    I do not know exactly what i did, but i added the code in another part of the product loop, i again got 2 icons and 1 of those i could hide (display:none). Resulted in 1 link and icon that was ok. After that i added a new link to the title of the product in the loop (because all links were gone). And the problem is solved… for now.
    Seems to be working.

    Happy hollidays!
    problem solved.

    Thread Starter wilsmithwp

    (@wilsmithwp)

    Resolved.

    Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @wilsmithwp

    I’m glad to hear that.
    Thanks, you too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘icon shows 2x in woocommerce product loop’ is closed to new replies.