<?php

if ( ! defined( 'ABSPATH' ) ) {
	// Exit if accessed directly.
	exit;
}
?>
<div <?php wc_product_class( $item_classes ); ?>>
	<div class="qodef-e-product-inner">
		<?php if ( has_post_thumbnail() ) { ?>
			<div class="qodef-e-product-image">
				<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/mark', '', $params ); ?>
				<div class="qodef-e-product-image-holder">
					<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/image', '', $params ); ?>
				</div>
				<div class="qodef-e-product-image-inner qodef-image-content">
					<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/link' ); ?>
					<div class="qodef-image-content-inner">
						<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/category', '', $params ); ?>
						<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/title', '', $params ); ?>
						<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/price', '', $params ); ?>
						<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/rating', '', $params ); ?>
						<?php qi_addons_for_elementor_template_part( 'plugins/woocommerce/shortcodes/product-list', 'templates/post-info/add-to-cart', '', $params ); ?>
						<?php
						// Hook to include additional content inside product list item image.
						do_action( 'qi_addons_for_elementor_action_product_list_item_additional_image_content', $params );
						?>
					</div>
				</div>
			</div>
		<?php } ?>
	</div>
</div>
