• Resolved notlicht

    (@notlicht)


    Hi,
    at first, thanks for the great plugin… but i still have a problem with the “add to cart”-Button… Nothing happen when i click on it…

    In debugger, i see this code:

    <span rel=”nofollow” href=”/notlicht-direkt/wishlist/?add-to-cart=4275&remove_from_wishlist_after_add_to_cart=4275″ data-quantity=”1″ data-product_id=”4275″ data-product_sku=”6210301″ class=”button”>In den Warenkorb</span>

    it seems to be a

    <span>

    instead of

    < a >

    ?
    Thanks for your help!

    https://wordpress.org/plugins/yith-woocommerce-wishlist/

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

    (@yithemes)

    Hi notlicht,

    Wishlist simply uses loop/add-to-cart.php template to print add to cart button
    Can you please check if loop/add-to-cart woocommerce default template is overwritten by your theme?

    Besides, can you please check if your theme overwrites wishlist-view.php or wishlist.php templates?

    Please, let me know
    Have a nice day

    Thread Starter notlicht

    (@notlicht)

    Hi! Thanks for your answer. I found in the settings of my theme “porto” in the “woocommerce”-settings, in the “product archives”-settings, this option:

    Change “A” Tag to “SPAN” Tag

    I just changed this in “no”, now it is working!
    Thank you very much!

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome 🙂

    Have a nice day.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Add to Cart Button instead of’ is closed to new replies.