has_items() ) : foreach ( $wishlist_items as $item ) : /** * Each of the wishlist items * * @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' ) ) { /** * Product is a Variation * * @var $product \WC_Product_Variation */ echo wp_kses_post( wc_get_formatted_variation( $product ) ); } ?> get_formatted_product_price() ); } if ( $show_price_variations ) { echo wp_kses_post( $item->get_price_variation() ); } ?> current_user_can( 'update_quantity' ) ) : ?> get_quantity() ); ?> ' . esc_html( apply_filters( 'yith_wcwl_out_of_stock_label', __( 'Out of stock', 'ayyash' ) ) ) . '' : '' . esc_html( apply_filters( 'yith_wcwl_in_stock_label', __( 'In Stock', 'ayyash' ) ) ) . ''; ?> get_date_added() ) : // translators: date added label: 1 date added. echo '' . esc_html( sprintf( __( 'Added on: %s', 'ayyash' ), $item->get_date_added_formatted() ) ) . ''; endif; ?> $show_quantity ? $item->get_quantity() : 1 ) ); ?> 1 ) : ?>