Hello Omri,
Actually, Woocommerce is restricted some HTML tags to sanitize the input and output.
Booster is dependent on the Woocommerce structure and that’s why the saved code is deleted from the code and not shown in the product tab.
But don’t worry, I have a solution. on this. Can you please follow the below steps to fix this issue?
Go to Admin > Booster > Emails & Misc. > Custom PHP Module
Enable Custom PHP Module
Add the below code into the “Custom PHP” block.
if ( ! function_exists( ‘wcj_add_allowed_html_custom’ ) ) {
function wcj_add_allowed_html_custom( $allowed_html, $context ) {
$allowed_extra_html = array(
‘iframe’ => array(
‘width’ => true,
‘height’ => true,
‘src’ => true,
‘frameborder’ => true,
‘allow’ => true,
‘allowfullscreen’ => true,
),
);
$allowed_merged_html = array_merge_recursive( $allowed_html, $allowed_extra_html );
return $allowed_merged_html;
}
add_filter( ‘wp_kses_allowed_html’, ‘wcj_add_allowed_html_custom’, PHP_INT_MAX, 2 );
}
Save the settings
Check the Product tag settings/configuration and the output.
This will work for you.
Let me know if it is working for you or not. 🙂
Thanks,
Booster.io – Support Team