Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17002

    Hello,

    I need to add a note under product photos of each product page, explaining that it is a sample image and the final product may be different. Where can you add this text in the template?

    thank you very much

    #93857

    I think you can do this with the add_to_cart hook – add following code to the bottom of functions.php and adjust the content of the msg string:

    add_action( 'avia_add_to_cart', 'avia_disclaimer_notice', 10, 2 );
    function avia_disclaimer_notice($post, $product)
    {
    $msg = 'Product color may vary.';
    echo $msg;
    }

    #93858

    Thanks a lot, Dude, works perfect!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘It is possible to add a text below the images on the product page?’ is closed to new replies.