Support » Plugin: WPC Smart Wishlist for WooCommerce » Move the button in lopp

  • adam198



    I am want to move the button on the product loop without changing the template if possible. Is this possible to do in the functions?

    ​I have want to use something like this
    add_action( 'woocommerce_before_shop_loop_item_title', WPCleverWoosw::add_button(), 12 );​

    ​But that does not work.

Viewing 1 replies (of 1 total)
  • Plugin Author WPClever


    Hi @adam198

    Please use the shortcode [woosw], e.g:

    add_action( 'woocommerce_before_shop_loop_item_title', function () {
    	echo do_shortcode( '[woosw]' );
    }, 12 );
Viewing 1 replies (of 1 total)
  • The topic ‘Move the button in lopp’ is closed to new replies.