Add a custom section in WooCommerce Single Product page using custom fields and shortcodes
===
**Goal: To add a new custom section to the WooCommerce Single Product page using custom fields and shortcodes**

Steps:
1) Setup a custom template that can use a short code e.g. "Templatera" or "Content Blocks"

2) Open the FTP client and find the WooCommerce template file `content-single-product.php` on the child theme directory `XStore Child > content-single-product.php`

3) locate the `Upsell` section containing this lines of code
```php
<?php
if(etheme_get_option('upsell_location') == 'after_content') woocommerce_upsell_display();
?>
```
4) insert this snippet before the upsell section:
```php
<!-- #JVG# Insert custom template hosting TIME MASTER SLIDER SECTION -->
<?php echo do_shortcode(get_post_meta( get_the_ID(), 'tm_slider_video', true )); ?>
<!-- #JVG# Insert custom template hosting TIME MASTER SLIDER SECTION -->
```
5) setup a new custom field by adding it on the product backend and you can now use the template post ID as noted earlier:

6) Save changes and inspect new setup
Final output

###### tags: `shortcode` `custom fields` `echo do_shortcode` `echo` `templates` `templatera` `post meta` `custom` `custom section`