Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2917694
Moving the button on product loop
Closed

Comments

  • Adam Wassall started the conversation

    Hello

    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. 

    Thanks

  •  767
    Janilyn replied

    Hi Adam,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Adam,

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

    add_action( 'woocommerce_before_shop_loop_item_title', function () {
        echo do_shortcode( '[woosw]' );
    }, 12 );
    

    Best regards,
    Dustin