has_items() ) : foreach ( $wishlist_items as $item ) : /** * @var $item \YITH_WCWL_Wishlist_Item */ global $product; $product = $item->get_product(); $availability = $product->get_availability(); $stock_status = isset( $availability['class'] ) ? $availability['class'] : false; if ( $product && $product->exists() ) : ?>
get_image() ); ?> get_title(), $product ); ?> is_type( 'variation' ) ) { /** * @var $product \WC_Product_Variation */ echo wc_get_formatted_variation( $product ); } ?> get_formatted_product_price() ); } if ( $show_price_variations ) { echo alpus_strip_script_tags( $item->get_price_variation() ); } ?> get_quantity() ); ?> ' . apply_filters( 'yith_wcwl_out_of_stock_label', esc_html__( 'Out of stock', 'alpus' ) ) . '' : '' . apply_filters( 'yith_wcwl_in_stock_label', esc_html__( 'In Stock', 'alpus' ) ) . ''; ?>
get_date_added() ) : echo '' . sprintf( esc_html__( 'Added on: %s', 'alpus' ), $item->get_date_added_formatted() ) . ''; endif; ?> get_id() . '" title="' . esc_html__( 'Quick View', 'alpus' ) . '">' . esc_html__( 'Quick View', 'alpus' ) . ''; ?> $show_quantity ? $item->get_quantity() : 1, 'class' => 'btn btn-dark btn-dark btn-md', ) ); ?> 1 ) : ?>