Home Forums WoodMart support forum add html block to single product page

add html block to single product page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43367

    wanila
    Participant

    Hello!

    I want to add an html block to my product page in this section:
    http://s6.uplod.ir/i/00917/31bsym3bx5sc.jpg

    could you please give a code an tell me which file i must edit to show my html block there?
    + my product page style is default

    Thank you.

    #43393

    Artem Temos
    Keymaster

    Hi,

    You can add any HTML or PHP code to that place in the file woodmart/woocommerce/content-single-product.php. If you want to use a shortcode there, try this code

    <?php echo do_shortcode('[my_shortcode]'); ?>

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)