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' ) ) : ?> get_attributes(); if ( ! empty( $attributes ) ) : foreach ( $attributes as $name => $value ) : if ( ! taxonomy_exists( $name ) ) { continue; } $term = get_term_by( 'slug', $value, $name ); if ( ! is_wp_error( $term ) && ! empty( $term->name ) ) { $value = $term->name; } ?> get_date_added() ) : ?>
    :
    get_date_added_formatted() ); ?>
    get_formatted_product_price() ); } if ( $show_price_variations ) { echo alpha_strip_script_tags( $item->get_price_variation() ); } ?>
    get_quantity() ); ?>
    ' . esc_html__( 'Out of stock', 'alpus' ) . '' : '' . esc_html__( 'In Stock', 'alpus' ) . ''; ?>
    get_id() . '" title="' . esc_html__( 'Quick View', 'alpus' ) . '">' . esc_html__( 'Quick View', 'alpus' ) . ''; ?>
    $show_quantity ? $item->get_quantity() : 1, 'class' => 'btn btn-dark btn-md', ) ); ?>
    1 ) : ?>