Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @wjyeshealth ,

    You can fill in the box “Above text” to display that text in the desired position.

    Best regards.

    Hi @wjyeshealth,

    Add this inside the function file:

    add_action( ‘woocommerce_after_add_to_cart_button’, ‘after_add_to_cart_btn’ );
    function after_add_to_cart_btn(){ $txt1 = “Frequently bought together”;
    print “<h2>” . $txt1 . “</h2>”;
    }

    Is it possible to use the “above add to cart button” instead of “after”?

    Tried to change the code, but nothing happened.

    The theme I’m using has a problem and need to use the text above the cart button

    View post on imgur.com

    Thread Starter wjyeshealth

    (@wjyeshealth)

    Hi @wpclever ,

    Thanks but is there another means that allows me to apply it, to all my products instead of individual products.

    Hi @fabmartz ,

    I tried using the provided snippet you provided but seems like its not working, I am using elementor page builder to create my single product pages.

    Regards,
    Wen Jun.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Option to add “Frequently Bought Together Text”’ is closed to new replies.