<div class="qodef-pls-holder <?php echo esc_attr($holder_classes) ?>">
    <ul class="qodef-pls-inner">
        <?php if($query_result->have_posts()): while ($query_result->have_posts()) : $query_result->the_post(); ?>
            <li class="qodef-pls-item">
                <div class="qodef-pls-image">
                    <a itemprop="url" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
                        <?php peggi_select_get_module_template_part('templates/parts/image-simple', 'woocommerce', '', $params); ?>
                    </a>    
                </div>
                <div class="qodef-pls-text">
                    <?php peggi_select_get_module_template_part('templates/parts/title', 'woocommerce', '', $params); ?>
    
                    <?php peggi_select_get_module_template_part('templates/parts/rating', 'woocommerce', '', $params); ?>
    
                    <?php peggi_select_get_module_template_part('templates/parts/price', 'woocommerce', '', $params); ?>
                </div>
            </li>
        <?php endwhile; else: ?>
            <li class="qodef-pls-messsage">
                <?php peggi_select_get_module_template_part('templates/parts/no-posts', 'woocommerce', '', $params); ?>
            </li>
        <?php endif;
            wp_reset_postdata();
        ?>
    </ul>
</div>