• Hello,<span> </span>

    we would like to customize the position of the RFQ Button.

    What is the code of the button we should paste in the page?

    Thank you.

    Ivo

Viewing 1 replies (of 1 total)
  • Plugin Support Alberto Ruggiero

    (@witcher83)

    Hello @ivo1961

    you could try to use a snippet like this:

    if ( function_exists( 'YITH_YWRAQ_Frontend' ) ) {
    remove_action( 'woocommerce_single_product_summary', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ), 35 );
    add_action( 'woocommerce_single_product_summary', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ), NEW_PRIORITY );
    }

    Where NEW_PRIORITY is the value of the new position. Set a value lesser than 35 to move it up, or greater to move it towards the bottom of the page

Viewing 1 replies (of 1 total)

The topic ‘RFQ Button Code’ is closed to new replies.