/** * Get products based on search query with merchant filtering */ private function get_search_products($atts) { global $wpdb; $search_term = $atts['search']; $search_mode = isset($atts['search_mode']) ? $atts['search_mode'] : 'comprehensive'; $product_ids = array(); // Mode 1: Basic WordPress search (fastest but limited) if ($search_mode === 'basic') { $args = array( 'post_type' => 'product', 'post_status' => 'publish', 's' => $search_term, 'posts_per_page' => -1, 'fields' => 'ids' ); $query = new WP_Query($args); $product_ids = $query->posts; } // Mode 2: Title only search using LIKE elseif ($search_mode === 'title_only') { $product_ids = $wpdb->get_col($wpdb->prepare(" SELECT ID FROM {$wpdb->posts} WHERE post_type = 'product' AND post_status = 'publish' AND post_title LIKE %s ", '%' . $wpdb->esc_like($search_term) . '%')); } // Mode 3: Comprehensive search (default) else { // Direct SQL search for maximum compatibility $search_like = '%' . $wpdb->esc_like($search_term) . '%'; // Search in titles and content $title_content_ids = $wpdb->get_col($wpdb->prepare(" SELECT ID FROM {$wpdb->posts} WHERE post_type = 'product' AND post_status = 'publish' AND (post_title LIKE %s OR post_content LIKE %s OR post_excerpt LIKE %s) ", $search_like, $search_like, $search_like)); if (!empty($title_content_ids)) { $product_ids = array_merge($product_ids, $title_content_ids); } // Search by SKU $sku_ids = $wpdb->get_col($wpdb->prepare(" SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key='_sku' AND meta_value LIKE %s ", $search_like)); if (!empty($sku_ids)) { $product_ids = array_merge($product_ids, $sku_ids); } // Search in product categories $cat_ids = $wpdb->get_col($wpdb->prepare(" SELECT tr.object_id FROM {$wpdb->term_relationships} tr JOIN {$wpdb->term_taxonomy} tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN {$wpdb->terms} t ON tt.term_id = t.term_id WHERE tt.taxonomy = 'product_cat' AND t.name LIKE %s ", $search_like)); if (!empty($cat_ids)) { $product_ids = array_merge($product_ids, $cat_ids); } } // Remove duplicates $product_ids = array_unique($product_ids); if (empty($product_ids)) { return array(); } // Filter out hidden products $visible_product_ids = array(); foreach ($product_ids as $product_id) { $product = wc_get_product($product_id); if ($product && $product->is_visible()) { $visible_product Tank Tops Archives - Page 8 of 21 - Claire's Picks
Claire Wears

Claire’s Picks

  • Beauty
  • Get The Look
  • Shopping
  • Style
  • Claire’s Picks

Tank Tops

HomeTopsTank TopsPage 8
  • All Products
  • Hot Products
  • New Products
  • Sale Products
  • 246 products Showing 85–96 of 246 results

  • Forever New Women's Amara Knit Tank Top in Red, Size Large Viscose/Polyester63%
    Buy product

    Forever New Women’s Amara Knit Tank Top in Red, Size Large Viscose/Polyester

    $40.00 Original price was: $40.00.$15.00Current price is: $15.00.
  • Forever New Women's Kinsley Square Neck Fitted Tank Top in Milos Leaf Co-ord, Size 6 Viscose/Polyamide/Viscose31%
    Buy product

    Forever New Women’s Kinsley Square Neck Fitted Tank Top in Milos Leaf Co-ord, Size 6 Viscose/Polyamide/Viscose

    $49.00 Original price was: $49.00.$34.00Current price is: $34.00.
  • Forever New Women's Seville Rib Knit Tank Top in Sandstone, Size X-Small Viscose/Polyamide67%
    Buy product

    Forever New Women’s Seville Rib Knit Tank Top in Sandstone, Size X-Small Viscose/Polyamide

    $45.00 Original price was: $45.00.$15.00Current price is: $15.00.
  • Forte_Forte Embellished Tank Top26%
    Buy product

    Forte_Forte Embellished Tank Top

    $379.00 Original price was: $379.00.$280.00Current price is: $280.00.
  • Funkier Vetica Functional Underwear-Tank Top Black/Blue XS/S60%
    Buy product

    Funkier Vetica Functional Underwear-Tank Top Black/Blue XS/S

    $57.90 Original price was: $57.90.$23.16Current price is: $23.16.
  • Gabriela Hearst - Pontus Wool-Silk Lace Tank Top - Pink - S - Moda Operandi40%
    Buy product

    Gabriela Hearst – Pontus Wool-Silk Lace Tank Top – Pink – S – Moda Operandi

    $744.00 Original price was: $744.00.$446.40Current price is: $446.40.
  • GANNI Soft Cotton Rib Tank Top - Woman Tops White L40%
    Buy product

    GANNI Soft Cotton Rib Tank Top – Woman Tops White L

    $85.00 Original price was: $85.00.$51.00Current price is: $51.00.
  • Givenchy Bow Tank Top in Black - Black. Size 34 (also in 36, 38, 40).43%
    Buy product

    Givenchy Bow Tank Top in Black – Black. Size 34 (also in 36, 38, 40).

    $1,643.00 Original price was: $1,643.00.$944.00Current price is: $944.00.
  • Green Fizvalley Cotton Tank Top74%
    Buy product

    Green Fizvalley Cotton Tank Top

    $50.00 Original price was: $50.00.$13.00Current price is: $13.00.
  • Grey Tank Top Plunging Neckline Sleeveless Side Cut Out Sexy Crop Top45%
    Buy product

    Grey Tank Top Plunging Neckline Sleeveless Side Cut Out Sexy Crop Top

    $12.74 Original price was: $12.74.$7.00Current price is: $7.00.
  • GUCCI Nylon Ribbed Tank Top - White70%
    Buy product

    GUCCI Nylon Ribbed Tank Top – White

    $640.00 Original price was: $640.00.$195.00Current price is: $195.00.
  • Head Padel Tech Women's Tank Top40%
    Buy product

    Head Padel Tech Women’s Tank Top

    $47.14 Original price was: $47.14.$28.27Current price is: $28.27.
  • 1
  • 2
  • 3
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • …
  • 19
  • 20
  • 21
Copyright © 2025
Go to top
Close

Search

View more
Close

My Account

Login

Lost your password?

Close

Cart

Shopping Cart 0

No products in the basket.

Close

Product Quick View

  • Beauty
  • Get The Look
  • Shopping
  • Style
  • Claire’s Picks
  • Shopping Cart 0
  • Login