has_items() ) : foreach ( $wishlist_items as $item ) : /** * Each of 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_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() ) : ?>
    :
    ' . esc_html( $item->get_date_added_formatted() ) . ''; ?>
    get_formatted_product_price() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } if ( $show_price_variations ) { echo alpha_strip_script_tags( $item->get_price_variation() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } ?>
    current_user_can( 'update_quantity' ) ) : ?> 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-rounded btn-dark btn-md', ) ); ?>
    1 ) : ?>