';
echo '
';
do_action( 'ocean_before_archive_product_image' );
if ( class_exists( 'OceanWP_WooCommerce_Config' ) ) {
OceanWP_WooCommerce_Config::add_out_of_stock_badge();
}
woocommerce_show_product_loop_sale_flash();
if ( function_exists( 'wc_get_template' ) ) {
wc_get_template( 'loop/thumbnail/featured-image.php' );
}
do_action( 'ocean_before_archive_product_add_to_cart_inner' );
woocommerce_template_loop_add_to_cart();
do_action( 'ocean_after_archive_product_add_to_cart_inner' );
if ( get_theme_mod( 'ocean_woo_quick_view', true )
|| class_exists( 'TInvWL_Wishlist' ) ) {
echo '';
do_action( 'ocean_before_archive_woo_entry_buttons' );
if ( get_theme_mod( 'ocean_woo_quick_view', true ) ) {
echo '- ' . apply_filters( 'ocean_woo_quick_view_button_html', '' ) . '
'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
if ( class_exists( 'TInvWL_Wishlist' ) ) {
echo '- ' . do_shortcode( '[ti_wishlists_addtowishlist]' ) . '
';
}
do_action( 'ocean_after_archive_woo_entry_buttons' );
echo '
';
}
do_action( 'ocean_after_archive_product_image' );
echo '';
echo '';
do_action( 'ocean_before_archive_product_categories' );
echo wp_kses_post( wc_get_product_category_list( $product->get_id(), ', ', '- ', '
' ) );
do_action( 'ocean_after_archive_product_categories' );
do_action( 'ocean_before_archive_product_title' );
echo '- ';
do_action( 'ocean_before_archive_product_title_inner' );
echo '' . esc_html( get_the_title() ) . '';
do_action( 'ocean_after_archive_product_title_inner' );
echo '
';
do_action( 'ocean_after_archive_product_title' );
do_action( 'ocean_before_archive_product_inner' );
echo '- ';
do_action( 'ocean_before_archive_product_price' );
woocommerce_template_loop_price();
do_action( 'ocean_after_archive_product_price' );
echo '
';
if ( $product->get_rating_count() ) {
echo '- ';
do_action( 'ocean_before_archive_product_rating' );
woocommerce_template_loop_rating();
do_action( 'ocean_after_archive_product_rating' );
echo '
';
}
do_action( 'ocean_after_archive_product_inner' );
do_action( 'ocean_before_archive_product_description' );
if ( ( oceanwp_is_woo_shop() || oceanwp_is_woo_tax() )
&& get_theme_mod( 'ocean_woo_grid_list', true ) ) {
$length = get_theme_mod( 'ocean_woo_list_excerpt_length', '60' );
echo '- ';
if ( ! $length ) {
echo wp_kses_post( strip_shortcodes( $post->post_excerpt ) );
} else {
echo wp_trim_words( strip_shortcodes( $post->post_excerpt ), $length ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
echo '
';
}
do_action( 'ocean_after_archive_product_description' );
echo '
';
if ( function_exists( 'wc_get_template' ) ) {
wc_get_template( 'owp-archive-product-thumbnails.php' );
}
echo '';
do_action( 'ocean_after_archive_product_item' );