• Resolved lydiarose

    (@lydiarose)


    hi,

    Since the last update, my wishlist button is duplicating.
    You can see it twice on the shop page – It’s set as custom code and the code, located in functions, is:

    add_action( 'woocommerce_before_shop_loop_item_title', 'showshopwishlistbutton', 97 );
     
    function showshopwishlistbutton () {
    echo do_shortcode( '[ti_wishlists_addtowishlist loop=yes]' );
      
    }

    Thanks
    Lydia

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lydiarose

    (@lydiarose)

    Hi,

    was there any update on this? It seems the code was duplicating, I’ve put one as display:none for now, but seems like a shoddy fix.

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @lydiarose

    Please, check that the catalog button position still set to the shortcode value. if it’s correct it should be an issue with your theme or some plugin that overrides WooCommerce templates and ‘woocommerce_before_shop_loop_item_title’ action fired twice.

    P.S. We can’t see the issue on your website (maybe because of cache for guests not rebuilt) OR you already solved it.

    Plugin Author templateinvaders

    (@templateinvaders)

    We are now closing this topic and mark it as resolved due to inactivity. If you have further questions please, fill free to re-open it at any time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wishlist Button Duplicated’ is closed to new replies.