Adding HTML and icons under product block
-
Hello,
Can you please tell me how and where I could add some HTML code in the part under product detail block?
In red on the attached picture.
Thanks
Best regards
Attachments:
You must be
logged in to view attached files.
Hello,
You need to use an Extra content block on the product page: https://xtemos.com/docs/woodmart/product-page-options/#local_settings and set “After content”
If you have any questions please feel free to contact us.
Best Regards
Hello Elise and thanks for replying.
But is it possible to add it by default on each product?
Kind regards
Well, I did the test but the block appears under the product block (in orange in the attached pic).
I need to get in the blue part, on all products. How can I do it?
Thanks!
Attachments:
You must be
logged in to view attached files.
Hello,
Please insert the credentials into the Private content below the message area. I will submit the request to our development department.
Best Regeards
Hello,
Please insert this code into the functions.php of the child theme:
add_action(
'woocommerce_single_product_summary',
function() {
?>
<div class="">
<?php echo do_shortcode( '[html_block id="6915"]' ); ?>
</div>
<?php
},
100
);
Replace the ID of the HTML block for yours. https://gyazo.com/5e60f1ea9a13d1d8c0c0ff076119fb03
Best Regards
Thanks Elise, it’ what I needed!
You can close this.
You are welcome! We are here to help.
Wish you a wonderful day!
The topic ‘Adding HTML and icons under product block’ is closed to new replies.