Ok, you need to do a couple of things. Not just in one location. 2 steps.
Step 1:
In the main themes folder, in this case, wp-content/themes/davinci/
Edit front-page.php
Find <!-- TOP SELLING PRODUCTS -->, this is the start of the area for the sections, and I just added a Featured Products by duplicating it (copy & paste) and edit some codes. Note the bold coding below, they are what you need to change to set up the title link and content link of the sections properly.
PHP:
<!-- FEATURED PRODUCTS -->
<div class="content-from-cat">
<div class="container">
<h3 class="title-cat text-uppercase">
<a href="<?php echo $home_url?>/pc-gaming/?orderby=orders">
<?php _e( 'Featured Products', 'ami3' ); ?>
</a>
</h3>
<?php get_template_part( 'products/main', 'featured' ) ?>
</div>
</div>
<!-- TOP SELLING PRODUCTS -->
<div class="content-from-cat">
<div class="container">
<h3 class="title-cat text-uppercase">
<a href="<?php echo $home_url?>/product/?orderby=orders">
<?php _e( 'Top Selling Products', 'ami3' ); ?>
</a>
</h3>
<?php get_template_part( 'products/main', 'topselling' ) ?>
</div>
</div>
Step 2:
Notice the "
<?php get_template_part( 'products/main', 'featured' ) ?>" on the new section? It means it will load the template in products folder with the name featured on it. So now, you need to go to wp-content/themes/Davinci/products/
and make a copy of the main-topselling.php and rename the copy to main-featured.php, you can name it whatever you want, just make sure it matches the change you made in the sections above. The theme will look for something called main-xxxxx.php, as specified.
Go to this file and find the following, change it, and you should be done. You can add as many sections as you want, just one section, one file in the products folder.
PHP:
$args = array(
'post_type' => 'product',
'posts_per_page' => 8,
'_orderby' => 'promotionVolume',
'_order' => 'DESC',
'post__not_in' => $GLOBAL['id_post_show']
);
Change it to
$args = array(
'post_type' => 'product',
'posts_per_page' => 8,
'_orderby' => 'promotionVolume',
'_order' => 'DESC',
'product_cat' => 'pc-gaming',
'post__not_in' => $GLOBAL['id_post_show']
);
Make a backup of these changes so you can quickly put them back next time the theme updates.