If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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
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.';
The topic ‘It is possible to add a text below the images on the product page?’ is closed to new replies.