I have the following code, which is adding some HTML to the product page, according to the product and its fields, attributes, etc.
add_action(\'woocommerce_p