has_items() ) : foreach ( $wishlist_items as $item ) : /** * Each of wishlist items * * @var $item \YITH_WCWL_Wishlist_Item */ global $product; $product = $item->get_product(); 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; } $attribute = get_term_by( 'slug', $value, $name ); if ( ! is_wp_error( $attribute ) && ! empty( $attribute->name ) ) { $value = $attribute->name; } ?> get_date_added() ) : ?>
    :
    get_date_added_formatted() ); ?>
    get_formatted_product_price() ); } if ( $show_price_variations ) { echo wp_kses_post( $item->get_price_variation() ); } ?>
    current_user_can( 'update_quantity' ) ) : ?> get_quantity() ); ?>
    get_stock_status() ? '' . esc_html__( 'Out of stock', 'ayyash' ) . '' : '' . esc_html__( 'In Stock', 'ayyash' ) . ''; ?>
    is_purchasable() && 'out-of-stock' !== $item->get_stock_status() ) : ?>
    $show_quantity ? $item->get_quantity() : 1 ) ); ?>
    1 ) : ?>