/**
* TenaZ - Compliance disclaimer beneath customer reviews on product pages.
*
* Reviews are imported from Google and republished here, which makes the
* claims inside them TenaZ's responsibility. This line frames them correctly:
* individual experiences, not a promise of results, Category D, SAHPRA wording.
*/

if ( ! function_exists( 'tenaz_review_disclaimer_html' ) ) {
function tenaz_review_disclaimer_html() {
if ( ! is_product() ) {
return '';
}
global $product;
if ( ! $product || ! is_a( $product, 'WC_Product' ) || (int) $product->get_review_count() < 1 ) { return ''; } return '

'
. 'Reviews reflect individual customer experiences and are not a promise of results. '
. 'Individual results vary. TenaZ products are Category D Complementary Medicines. '
. 'They have not been evaluated by the South African Health Products Regulatory Authority '
. '(SAHPRA) and are not intended to diagnose, treat, cure or prevent any disease. '
. 'Use as part of the NODIET Method© and a healthy, balanced lifestyle. Speak to your '
. 'healthcare practitioner about medication or medical conditions.'
. '

';
}
}

/* Append beneath the Reviews tab content. */
add_filter( 'woocommerce_product_tabs', function ( $tabs ) {
if ( empty( $tabs['reviews']['callback'] ) ) {
return $tabs;
}
$original = $tabs['reviews']['callback'];
$tabs['reviews']['callback'] = function () use ( $original ) {
call_user_func( $original );
echo tenaz_review_disclaimer_html();
};
return $tabs;
}, 98 );

/* Fallback for templates that render reviews outside the tab (e.g. Elementor). */
add_action( 'woocommerce_review_after_comment_text', function () {
static $done = false;
if ( $done ) {
return;
}
$done = true;
}, 99 );

Start your transformation

 

Start your wellness journey with TenaZ

Ready to begin? Book a free online wellness consultation with a TenaZ coach. Through the NODIET Method, our wellness coaching and complementary medicines are designed to complement a balanced diet and an active lifestyle. Simply complete the form above and a coach will be in touch to support you, side by side.

TenaZ products are classified as Category D Complementary Medicines and have not been evaluated by SAHPRA. They are not intended to diagnose, treat, cure or prevent any disease. Use as part of the NODIET Method© and a healthy lifestyle. Results vary from person to person. Always consult your healthcare practitioner before starting any complementary medicine programme, especially if you are pregnant, breastfeeding, on chronic medication, or have a medical condition.

Shopping Basket