From e70320e593b4e7731578a5ae50161ca1e2ff3be5 Mon Sep 17 00:00:00 2001 From: Murtaza Tankiwala <115138620+murtazatankiwala456@users.noreply.github.com> Date: Tue, 11 Jun 2024 14:55:16 +0530 Subject: [PATCH 01/47] copy data.json from main branch --- data.json | 3115 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 3115 insertions(+) create mode 100644 data.json diff --git a/data.json b/data.json new file mode 100644 index 0000000..500b5f3 --- /dev/null +++ b/data.json @@ -0,0 +1,3115 @@ +{ + "products": [ + { + "id": 1, + "title": "iPhone 9", + "description": "An apple mobile which is nothing like apple", + "price": 993, + "discountPercentage": 12.96, + "rating": 0, + "stock": 0, + "brand": "Apple", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/1/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/1/1.jpg", + "https://i.dummyjson.com/data/products/1/2.jpg", + "https://i.dummyjson.com/data/products/1/3.jpg", + "https://i.dummyjson.com/data/products/1/thumbnail.jpg" + ], + "deleted": true + }, + { + "id": 2, + "title": "iPhone X", + "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", + "price": 1111, + "discountPercentage": 17.94, + "rating": 0, + "stock": 34, + "brand": "Apple", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/2/1.jpg", + "https://i.dummyjson.com/data/products/2/2.jpg", + "https://i.dummyjson.com/data/products/2/3.jpg", + "https://i.dummyjson.com/data/products/2/thumbnail.jpg" + ], + "deleted": true + }, + { + "id": 3, + "title": "Samsung Universe 9", + "description": "Samsung's new variant which goes beyond Galaxy to the Universe", + "price": 1249, + "discountPercentage": 15.46, + "rating": 4.09, + "stock": 36, + "brand": "Samsung", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", + "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], + "deleted": true + }, + { + "id": 4, + "title": "OPPOF19", + "description": "OPPO F19 is officially announced on April 2021.", + "price": 300, + "discountPercentage": 17.91, + "rating": 0, + "stock": 123, + "brand": "OPPO", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/4/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/4/1.jpg", + "https://i.dummyjson.com/data/products/4/2.jpg", + "https://i.dummyjson.com/data/products/4/3.jpg", + "https://i.dummyjson.com/data/products/4/thumbnail.jpg" + ] + }, + { + "id": 5, + "title": "Huawei P30", + "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", + "price": 499, + "discountPercentage": 10.58, + "rating": 4.09, + "stock": 32, + "brand": "Huawei", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/5/1.jpg", + "https://i.dummyjson.com/data/products/5/2.jpg", + "https://i.dummyjson.com/data/products/5/3.jpg" + ] + }, + { + "id": 6, + "title": "MacBook Pro", + "description": "MacBook Pro 2021 with mini-LED display may launch between September, November", + "price": 1999, + "discountPercentage": 11.02, + "rating": 0, + "stock": 83, + "brand": "Apple", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/6/thumbnail.png", + "images": [ + "https://i.dummyjson.com/data/products/6/1.png", + "https://i.dummyjson.com/data/products/6/2.jpg", + "https://i.dummyjson.com/data/products/6/3.png", + "https://i.dummyjson.com/data/products/6/thumbnail.png" + ] + }, + { + "id": 7, + "title": "Samsung Galaxy Book", + "description": "Samsung Galaxy Book S (2020) Laptop With Intel Lakefield Chip, 8GB of RAM Launched", + "price": 1499, + "discountPercentage": 4.15, + "rating": 4.25, + "stock": 50, + "brand": "Samsung", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/7/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/7/1.jpg", + "https://i.dummyjson.com/data/products/7/2.jpg", + "https://i.dummyjson.com/data/products/7/3.jpg", + "https://i.dummyjson.com/data/products/7/thumbnail.jpg" + ] + }, + { + "id": 8, + "title": "Microsoft Surface Laptop 4", + "description": "Style and speed. Stand out on HD video calls backed by Studio Mics. Capture ideas on the vibrant touchscreen.", + "price": 1499, + "discountPercentage": 10.23, + "rating": 4.43, + "stock": 68, + "brand": "Microsoft Surface", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/8/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/8/1.jpg", + "https://i.dummyjson.com/data/products/8/2.jpg", + "https://i.dummyjson.com/data/products/8/3.jpg", + "https://i.dummyjson.com/data/products/8/4.jpg", + "https://i.dummyjson.com/data/products/8/thumbnail.jpg" + ] + }, + { + "id": 9, + "title": "Infinix INBOOK", + "description": "Infinix Inbook X1 Ci3 10th 8GB 256GB 14 Win10 Grey – 1 Year Warranty", + "price": 1099, + "discountPercentage": 11.83, + "rating": 4.54, + "stock": 96, + "brand": "Infinix", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/9/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/9/1.jpg", + "https://i.dummyjson.com/data/products/9/2.png", + "https://i.dummyjson.com/data/products/9/3.png", + "https://i.dummyjson.com/data/products/9/4.jpg", + "https://i.dummyjson.com/data/products/9/thumbnail.jpg" + ] + }, + { + "id": 10, + "title": "HP Pavilion 15-DK1056WM", + "description": "HP Pavilion 15-DK1056WM Gaming Laptop 10th Gen Core i5, 8GB, 256GB SSD, GTX 1650 4GB, Windows 10", + "price": 1099, + "discountPercentage": 6.18, + "rating": 4.43, + "stock": 89, + "brand": "HP Pavilion", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/10/thumbnail.jpeg", + "images": [ + "https://i.dummyjson.com/data/products/10/1.jpg", + "https://i.dummyjson.com/data/products/10/2.jpg", + "https://i.dummyjson.com/data/products/10/3.jpg", + "https://i.dummyjson.com/data/products/10/thumbnail.jpeg" + ] + }, + { + "id": 11, + "title": "perfume Oil", + "description": "Mega Discount, Impression of Acqua Di Gio by GiorgioArmani concentrated attar perfume Oil", + "price": 13, + "discountPercentage": 8.4, + "rating": 4.26, + "stock": 65, + "brand": "Impression of Acqua Di Gio", + "category": "fragrances", + "thumbnail": "https://i.dummyjson.com/data/products/11/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/11/1.jpg", + "https://i.dummyjson.com/data/products/11/2.jpg", + "https://i.dummyjson.com/data/products/11/3.jpg", + "https://i.dummyjson.com/data/products/11/thumbnail.jpg" + ] + }, + { + "id": 12, + "title": "Brown Perfume", + "description": "Royal_Mirage Sport Brown Perfume for Men & Women - 120ml", + "price": 40, + "discountPercentage": 15.66, + "rating": 4, + "stock": 52, + "brand": "Royal_Mirage", + "category": "fragrances", + "thumbnail": "https://i.dummyjson.com/data/products/12/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/12/1.jpg", + "https://i.dummyjson.com/data/products/12/2.jpg", + "https://i.dummyjson.com/data/products/12/3.png", + "https://i.dummyjson.com/data/products/12/4.jpg", + "https://i.dummyjson.com/data/products/12/thumbnail.jpg" + ] + }, + { + "id": 13, + "title": "Fog Scent Xpressio Perfume", + "description": "Product details of Best Fog Scent Xpressio Perfume 100ml For Men cool long lasting perfumes for Men", + "price": 13, + "discountPercentage": 8.14, + "rating": 4.59, + "stock": 61, + "brand": "Fog Scent Xpressio", + "category": "fragrances", + "thumbnail": "https://i.dummyjson.com/data/products/13/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/13/1.jpg", + "https://i.dummyjson.com/data/products/13/2.png", + "https://i.dummyjson.com/data/products/13/3.jpg", + "https://i.dummyjson.com/data/products/13/4.jpg", + "https://i.dummyjson.com/data/products/13/thumbnail.webp" + ] + }, + { + "id": 14, + "title": "Non-Alcoholic Concentrated Perfume Oil", + "description": "Original Al Munakh® by Mahal Al Musk | Our Impression of Climate | 6ml Non-Alcoholic Concentrated Perfume Oil", + "price": 120, + "discountPercentage": 15.6, + "rating": 4.21, + "stock": 114, + "brand": "Al Munakh", + "category": "fragrances", + "thumbnail": "https://i.dummyjson.com/data/products/14/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/14/1.jpg", + "https://i.dummyjson.com/data/products/14/2.jpg", + "https://i.dummyjson.com/data/products/14/3.jpg", + "https://i.dummyjson.com/data/products/14/thumbnail.jpg" + ] + }, + { + "id": 15, + "title": "Eau De Perfume Spray", + "description": "Genuine Al-Rehab spray perfume from UAE/Saudi Arabia/Yemen High Quality", + "price": 30, + "discountPercentage": 10.99, + "rating": 4.7, + "stock": 105, + "brand": "Lord - Al-Rehab", + "category": "fragrances", + "thumbnail": "https://i.dummyjson.com/data/products/15/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/15/1.jpg", + "https://i.dummyjson.com/data/products/15/2.jpg", + "https://i.dummyjson.com/data/products/15/3.jpg", + "https://i.dummyjson.com/data/products/15/4.jpg", + "https://i.dummyjson.com/data/products/15/thumbnail.jpg" + ] + }, + { + "id": 16, + "title": "Hyaluronic Acid Serum", + "description": "L'Oréal Paris introduces Hyaluron Expert Replumping Serum formulated with 1.5% Hyaluronic Acid", + "price": 19, + "discountPercentage": 13.31, + "rating": 4.83, + "stock": 110, + "brand": "L'Oreal Paris", + "category": "skincare", + "thumbnail": "https://i.dummyjson.com/data/products/16/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/16/1.png", + "https://i.dummyjson.com/data/products/16/2.webp", + "https://i.dummyjson.com/data/products/16/3.jpg", + "https://i.dummyjson.com/data/products/16/4.jpg", + "https://i.dummyjson.com/data/products/16/thumbnail.jpg" + ] + }, + { + "id": 17, + "title": "Tree Oil 30ml", + "description": "Tea tree oil contains a number of compounds, including terpinen-4-ol, that have been shown to kill certain bacteria,", + "price": 12, + "discountPercentage": 4.09, + "rating": 4.52, + "stock": 78, + "brand": "Hemani Tea", + "category": "skincare", + "thumbnail": "https://i.dummyjson.com/data/products/17/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/17/1.jpg", + "https://i.dummyjson.com/data/products/17/2.jpg", + "https://i.dummyjson.com/data/products/17/3.jpg", + "https://i.dummyjson.com/data/products/17/thumbnail.jpg" + ] + }, + { + "id": 18, + "title": "Oil Free Moisturizer 100ml", + "description": "Dermive Oil Free Moisturizer with SPF 20 is specifically formulated with ceramides, hyaluronic acid & sunscreen.", + "price": 40, + "discountPercentage": 13.1, + "rating": 4.56, + "stock": 88, + "brand": "Dermive", + "category": "skincare", + "thumbnail": "https://i.dummyjson.com/data/products/18/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/18/1.jpg", + "https://i.dummyjson.com/data/products/18/2.jpg", + "https://i.dummyjson.com/data/products/18/3.jpg", + "https://i.dummyjson.com/data/products/18/4.jpg", + "https://i.dummyjson.com/data/products/18/thumbnail.jpg" + ] + }, + { + "id": 19, + "title": "Skin Beauty Serum.", + "description": "Product name: rorec collagen hyaluronic acid white face serum riceNet weight: 15 m", + "price": 46, + "discountPercentage": 10.68, + "rating": 4.42, + "stock": 54, + "brand": "ROREC White Rice", + "category": "skincare", + "thumbnail": "https://i.dummyjson.com/data/products/19/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/19/1.jpg", + "https://i.dummyjson.com/data/products/19/2.jpg", + "https://i.dummyjson.com/data/products/19/3.png", + "https://i.dummyjson.com/data/products/19/thumbnail.jpg" + ] + }, + { + "id": 20, + "title": "Freckle Treatment Cream- 15gm", + "description": "Fair & Clear is Pakistan's only pure Freckle cream which helpsfade Freckles, Darkspots and pigments. Mercury level is 0%, so there are no side effects.", + "price": 70, + "discountPercentage": 16.99, + "rating": 4.06, + "stock": 140, + "brand": "Fair & Clear", + "category": "skincare", + "thumbnail": "https://i.dummyjson.com/data/products/20/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/20/1.jpg", + "https://i.dummyjson.com/data/products/20/2.jpg", + "https://i.dummyjson.com/data/products/20/3.jpg", + "https://i.dummyjson.com/data/products/20/4.jpg", + "https://i.dummyjson.com/data/products/20/thumbnail.jpg" + ] + }, + { + "id": 21, + "title": "- Daal Masoor 500 grams", + "description": "Fine quality Branded Product Keep in a cool and dry place", + "price": 20, + "discountPercentage": 4.81, + "rating": 4.44, + "stock": 133, + "brand": "Saaf & Khaas", + "category": "groceries", + "thumbnail": "https://i.dummyjson.com/data/products/21/thumbnail.png", + "images": [ + "https://i.dummyjson.com/data/products/21/1.png", + "https://i.dummyjson.com/data/products/21/2.jpg", + "https://i.dummyjson.com/data/products/21/3.jpg" + ] + }, + { + "id": 22, + "title": "Elbow Macaroni - 400 gm", + "description": "Product details of Bake Parlor Big Elbow Macaroni - 400 gm", + "price": 14, + "discountPercentage": 15.58, + "rating": 4.57, + "stock": 146, + "brand": "Bake Parlor Big", + "category": "groceries", + "thumbnail": "https://i.dummyjson.com/data/products/22/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/22/1.jpg", + "https://i.dummyjson.com/data/products/22/2.jpg", + "https://i.dummyjson.com/data/products/22/3.jpg" + ] + }, + { + "id": 23, + "title": "Orange Essence Food Flavou", + "description": "Specifications of Orange Essence Food Flavour For Cakes and Baking Food Item", + "price": 14, + "discountPercentage": 8.04, + "rating": 4.85, + "stock": 26, + "brand": "Baking Food Items", + "category": "groceries", + "thumbnail": "https://i.dummyjson.com/data/products/23/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/23/1.jpg", + "https://i.dummyjson.com/data/products/23/2.jpg", + "https://i.dummyjson.com/data/products/23/3.jpg", + "https://i.dummyjson.com/data/products/23/4.jpg", + "https://i.dummyjson.com/data/products/23/thumbnail.jpg" + ] + }, + { + "id": 24, + "title": "cereals muesli fruit nuts", + "description": "original fauji cereal muesli 250gm box pack original fauji cereals muesli fruit nuts flakes breakfast cereal break fast faujicereals cerels cerel foji fouji", + "price": 46, + "discountPercentage": 16.8, + "rating": 4.94, + "stock": 113, + "brand": "fauji", + "category": "groceries", + "thumbnail": "https://i.dummyjson.com/data/products/24/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/24/1.jpg", + "https://i.dummyjson.com/data/products/24/2.jpg", + "https://i.dummyjson.com/data/products/24/3.jpg", + "https://i.dummyjson.com/data/products/24/4.jpg", + "https://i.dummyjson.com/data/products/24/thumbnail.jpg" + ] + }, + { + "id": 25, + "title": "Gulab Powder 50 Gram", + "description": "Dry Rose Flower Powder Gulab Powder 50 Gram • Treats Wounds", + "price": 70, + "discountPercentage": 13.58, + "rating": 4.87, + "stock": 47, + "brand": "Dry Rose", + "category": "groceries", + "thumbnail": "https://i.dummyjson.com/data/products/25/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/25/1.png", + "https://i.dummyjson.com/data/products/25/2.jpg", + "https://i.dummyjson.com/data/products/25/3.png", + "https://i.dummyjson.com/data/products/25/4.jpg", + "https://i.dummyjson.com/data/products/25/thumbnail.jpg" + ] + }, + { + "id": 26, + "title": "Plant Hanger For Home", + "description": "Boho Decor Plant Hanger For Home Wall Decoration Macrame Wall Hanging Shelf", + "price": 41, + "discountPercentage": 17.86, + "rating": 4.08, + "stock": 131, + "brand": "Boho Decor", + "category": "home-decoration", + "thumbnail": "https://i.dummyjson.com/data/products/26/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/26/1.jpg", + "https://i.dummyjson.com/data/products/26/2.jpg", + "https://i.dummyjson.com/data/products/26/3.jpg", + "https://i.dummyjson.com/data/products/26/4.jpg", + "https://i.dummyjson.com/data/products/26/5.jpg", + "https://i.dummyjson.com/data/products/26/thumbnail.jpg" + ] + }, + { + "id": 27, + "title": "Flying Wooden Bird", + "description": "Package Include 6 Birds with Adhesive Tape Shape: 3D Shaped Wooden Birds Material: Wooden MDF, Laminated 3.5mm", + "price": 51, + "discountPercentage": 15.58, + "rating": 4.41, + "stock": 17, + "brand": "Flying Wooden", + "category": "home-decoration", + "thumbnail": "https://i.dummyjson.com/data/products/27/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/27/1.jpg", + "https://i.dummyjson.com/data/products/27/2.jpg", + "https://i.dummyjson.com/data/products/27/3.jpg", + "https://i.dummyjson.com/data/products/27/4.jpg", + "https://i.dummyjson.com/data/products/27/thumbnail.webp" + ] + }, + { + "id": 28, + "title": "3D Embellishment Art Lamp", + "description": "3D led lamp sticker Wall sticker 3d wall art light on/off button cell operated (included)", + "price": 20, + "discountPercentage": 16.49, + "rating": 4.82, + "stock": 54, + "brand": "LED Lights", + "category": "home-decoration", + "thumbnail": "https://i.dummyjson.com/data/products/28/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/28/1.jpg", + "https://i.dummyjson.com/data/products/28/2.jpg", + "https://i.dummyjson.com/data/products/28/3.png", + "https://i.dummyjson.com/data/products/28/4.jpg", + "https://i.dummyjson.com/data/products/28/thumbnail.jpg" + ] + }, + { + "id": 29, + "title": "Handcraft Chinese style", + "description": "Handcraft Chinese style art luxury palace hotel villa mansion home decor ceramic vase with brass fruit plate", + "price": 60, + "discountPercentage": 15.34, + "rating": 4.44, + "stock": 7, + "brand": "luxury palace", + "category": "home-decoration", + "thumbnail": "https://i.dummyjson.com/data/products/29/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/29/1.jpg", + "https://i.dummyjson.com/data/products/29/2.jpg", + "https://i.dummyjson.com/data/products/29/3.webp", + "https://i.dummyjson.com/data/products/29/4.webp", + "https://i.dummyjson.com/data/products/29/thumbnail.webp" + ] + }, + { + "id": 30, + "title": "Key Holder", + "description": "Attractive DesignMetallic materialFour key hooksReliable & DurablePremium Quality", + "price": 30, + "discountPercentage": 2.92, + "rating": 4.92, + "stock": 54, + "brand": "Golden", + "category": "home-decoration", + "thumbnail": "https://i.dummyjson.com/data/products/30/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/30/1.jpg", + "https://i.dummyjson.com/data/products/30/2.jpg", + "https://i.dummyjson.com/data/products/30/3.jpg", + "https://i.dummyjson.com/data/products/30/thumbnail.jpg" + ] + }, + { + "id": 31, + "title": "Mornadi Velvet Bed", + "description": "Mornadi Velvet Bed Base with Headboard Slats Support Classic Style Bedroom Furniture Bed Set", + "price": 40, + "discountPercentage": 17, + "rating": 4.16, + "stock": 140, + "brand": "Furniture Bed Set", + "category": "furniture", + "thumbnail": "https://i.dummyjson.com/data/products/31/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/31/1.jpg", + "https://i.dummyjson.com/data/products/31/2.jpg", + "https://i.dummyjson.com/data/products/31/3.jpg", + "https://i.dummyjson.com/data/products/31/4.jpg", + "https://i.dummyjson.com/data/products/31/thumbnail.jpg" + ] + }, + { + "id": 32, + "title": "Sofa for Coffe Cafe", + "description": "Ratttan Outdoor furniture Set Waterproof Rattan Sofa for Coffe Cafe", + "price": 50, + "discountPercentage": 15.59, + "rating": 4.74, + "stock": 30, + "brand": "Ratttan Outdoor", + "category": "furniture", + "thumbnail": "https://i.dummyjson.com/data/products/32/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/32/1.jpg", + "https://i.dummyjson.com/data/products/32/2.jpg", + "https://i.dummyjson.com/data/products/32/3.jpg", + "https://i.dummyjson.com/data/products/32/thumbnail.jpg" + ] + }, + { + "id": 33, + "title": "3 Tier Corner Shelves", + "description": "3 Tier Corner Shelves | 3 PCs Wall Mount Kitchen Shelf | Floating Bedroom Shelf", + "price": 700, + "discountPercentage": 17, + "rating": 4.31, + "stock": 106, + "brand": "Kitchen Shelf", + "category": "furniture", + "thumbnail": "https://i.dummyjson.com/data/products/33/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/33/1.jpg", + "https://i.dummyjson.com/data/products/33/2.jpg", + "https://i.dummyjson.com/data/products/33/3.jpg", + "https://i.dummyjson.com/data/products/33/4.jpg", + "https://i.dummyjson.com/data/products/33/thumbnail.jpg" + ] + }, + { + "id": 34, + "title": "Plastic Table", + "description": "Very good quality plastic table for multi purpose now in reasonable price", + "price": 50, + "discountPercentage": 4, + "rating": 4.01, + "stock": 136, + "brand": "Multi Purpose", + "category": "furniture", + "thumbnail": "https://i.dummyjson.com/data/products/34/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/34/1.jpg", + "https://i.dummyjson.com/data/products/34/2.jpg", + "https://i.dummyjson.com/data/products/34/3.jpg", + "https://i.dummyjson.com/data/products/34/4.jpg", + "https://i.dummyjson.com/data/products/34/thumbnail.jpg" + ] + }, + { + "id": 35, + "title": "3 DOOR PORTABLE", + "description": "Material: Stainless Steel and Fabric Item Size: 110 cm x 45 cm x 175 cm Package Contents: 1 Storage Wardrobe", + "price": 41, + "discountPercentage": 7.98, + "rating": 4.06, + "stock": 68, + "brand": "AmnaMart", + "category": "furniture", + "thumbnail": "https://i.dummyjson.com/data/products/35/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/35/1.jpg", + "https://i.dummyjson.com/data/products/35/2.jpg", + "https://i.dummyjson.com/data/products/35/3.jpg", + "https://i.dummyjson.com/data/products/35/4.jpg", + "https://i.dummyjson.com/data/products/35/thumbnail.jpg" + ] + }, + { + "id": 36, + "title": "Sleeve Shirt Womens", + "description": "Cotton Solid Color Professional Wear Sleeve Shirt Womens Work Blouses Wholesale Clothing Casual Plain Custom Top OEM Customized", + "price": 90, + "discountPercentage": 10.89, + "rating": 4.26, + "stock": 39, + "brand": "Professional Wear", + "category": "tops", + "thumbnail": "https://i.dummyjson.com/data/products/36/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/36/1.jpg", + "https://i.dummyjson.com/data/products/36/2.webp", + "https://i.dummyjson.com/data/products/36/3.webp", + "https://i.dummyjson.com/data/products/36/4.jpg", + "https://i.dummyjson.com/data/products/36/thumbnail.jpg" + ] + }, + { + "id": 37, + "title": "ank Tops for Womens/Girls", + "description": "PACK OF 3 CAMISOLES ,VERY COMFORTABLE SOFT COTTON STUFF, COMFORTABLE IN ALL FOUR SEASONS", + "price": 50, + "discountPercentage": 12.05, + "rating": 4.52, + "stock": 107, + "brand": "Soft Cotton", + "category": "tops", + "thumbnail": "https://i.dummyjson.com/data/products/37/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/37/1.jpg", + "https://i.dummyjson.com/data/products/37/2.jpg", + "https://i.dummyjson.com/data/products/37/3.jpg", + "https://i.dummyjson.com/data/products/37/4.jpg", + "https://i.dummyjson.com/data/products/37/thumbnail.jpg" + ] + }, + { + "id": 38, + "title": "sublimation plain kids tank", + "description": "sublimation plain kids tank tops wholesale", + "price": 100, + "discountPercentage": 11.12, + "rating": 4.8, + "stock": 20, + "brand": "Soft Cotton", + "category": "tops", + "thumbnail": "https://i.dummyjson.com/data/products/38/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/38/1.png", + "https://i.dummyjson.com/data/products/38/2.jpg", + "https://i.dummyjson.com/data/products/38/3.jpg", + "https://i.dummyjson.com/data/products/38/4.jpg" + ] + }, + { + "id": 39, + "title": "Women Sweaters Wool", + "description": "2021 Custom Winter Fall Zebra Knit Crop Top Women Sweaters Wool Mohair Cos Customize Crew Neck Women' S Crop Top Sweater", + "price": 600, + "discountPercentage": 17.2, + "rating": 4.55, + "stock": 55, + "brand": "Top Sweater", + "category": "tops", + "thumbnail": "https://i.dummyjson.com/data/products/39/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/39/1.jpg", + "https://i.dummyjson.com/data/products/39/2.jpg", + "https://i.dummyjson.com/data/products/39/3.jpg", + "https://i.dummyjson.com/data/products/39/4.jpg", + "https://i.dummyjson.com/data/products/39/thumbnail.jpg" + ] + }, + { + "id": 40, + "title": "women winter clothes", + "description": "women winter clothes thick fleece hoodie top with sweat pantjogger women sweatsuit set joggers pants two piece pants set", + "price": 57, + "discountPercentage": 13.39, + "rating": 4.91, + "stock": 84, + "brand": "Top Sweater", + "category": "tops", + "thumbnail": "https://i.dummyjson.com/data/products/40/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/40/1.jpg", + "https://i.dummyjson.com/data/products/40/2.jpg" + ] + }, + { + "id": 41, + "title": "NIGHT SUIT", + "description": "NIGHT SUIT RED MICKY MOUSE.. For Girls. Fantastic Suits.", + "price": 55, + "discountPercentage": 15.05, + "rating": 4.65, + "stock": 21, + "brand": "RED MICKY MOUSE..", + "category": "womens-dresses", + "thumbnail": "https://i.dummyjson.com/data/products/41/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/41/1.jpg", + "https://i.dummyjson.com/data/products/41/2.webp", + "https://i.dummyjson.com/data/products/41/3.jpg", + "https://i.dummyjson.com/data/products/41/4.jpg", + "https://i.dummyjson.com/data/products/41/thumbnail.webp" + ] + }, + { + "id": 42, + "title": "Stiched Kurta plus trouser", + "description": "FABRIC: LILEIN CHEST: 21 LENGHT: 37 TROUSER: (38) :ARABIC LILEIN", + "price": 80, + "discountPercentage": 15.37, + "rating": 4.05, + "stock": 148, + "brand": "Digital Printed", + "category": "womens-dresses", + "thumbnail": "https://i.dummyjson.com/data/products/42/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/42/1.png", + "https://i.dummyjson.com/data/products/42/2.png", + "https://i.dummyjson.com/data/products/42/3.png", + "https://i.dummyjson.com/data/products/42/4.jpg", + "https://i.dummyjson.com/data/products/42/thumbnail.jpg" + ] + }, + { + "id": 43, + "title": "frock gold printed", + "description": "Ghazi fabric long frock gold printed ready to wear stitched collection (G992)", + "price": 600, + "discountPercentage": 15.55, + "rating": 4.31, + "stock": 150, + "brand": "Ghazi Fabric", + "category": "womens-dresses", + "thumbnail": "https://i.dummyjson.com/data/products/43/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/43/1.jpg", + "https://i.dummyjson.com/data/products/43/2.jpg", + "https://i.dummyjson.com/data/products/43/3.jpg", + "https://i.dummyjson.com/data/products/43/4.jpg", + "https://i.dummyjson.com/data/products/43/thumbnail.jpg" + ] + }, + { + "id": 44, + "title": "Ladies Multicolored Dress", + "description": "This classy shirt for women gives you a gorgeous look on everyday wear and specially for semi-casual wears.", + "price": 79, + "discountPercentage": 16.88, + "rating": 4.03, + "stock": 2, + "brand": "Ghazi Fabric", + "category": "womens-dresses", + "thumbnail": "https://i.dummyjson.com/data/products/44/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/44/1.jpg", + "https://i.dummyjson.com/data/products/44/2.jpg", + "https://i.dummyjson.com/data/products/44/3.jpg", + "https://i.dummyjson.com/data/products/44/4.jpg", + "https://i.dummyjson.com/data/products/44/thumbnail.jpg" + ] + }, + { + "id": 45, + "title": "Malai Maxi Dress", + "description": "Ready to wear, Unique design according to modern standard fashion, Best fitting ,Imported stuff", + "price": 50, + "discountPercentage": 5.07, + "rating": 4.67, + "stock": 96, + "brand": "IELGY", + "category": "womens-dresses", + "thumbnail": "https://i.dummyjson.com/data/products/45/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/45/1.jpg", + "https://i.dummyjson.com/data/products/45/2.webp", + "https://i.dummyjson.com/data/products/45/3.jpg", + "https://i.dummyjson.com/data/products/45/4.jpg", + "https://i.dummyjson.com/data/products/45/thumbnail.jpg" + ] + }, + { + "id": 46, + "title": "women's shoes", + "description": "Close: Lace, Style with bottom: Increased inside, Sole Material: Rubber", + "price": 40, + "discountPercentage": 16.96, + "rating": 4.14, + "stock": 72, + "brand": "IELGY fashion", + "category": "womens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/46/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/46/1.webp", + "https://i.dummyjson.com/data/products/46/2.jpg", + "https://i.dummyjson.com/data/products/46/3.jpg", + "https://i.dummyjson.com/data/products/46/4.jpg", + "https://i.dummyjson.com/data/products/46/thumbnail.jpg" + ] + }, + { + "id": 47, + "title": "Sneaker shoes", + "description": "Synthetic Leather Casual Sneaker shoes for Women/girls Sneakers For Women", + "price": 120, + "discountPercentage": 10.37, + "rating": 4.19, + "stock": 50, + "brand": "Synthetic Leather", + "category": "womens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/47/thumbnail.jpeg", + "images": [ + "https://i.dummyjson.com/data/products/47/1.jpg", + "https://i.dummyjson.com/data/products/47/2.jpg", + "https://i.dummyjson.com/data/products/47/3.jpg", + "https://i.dummyjson.com/data/products/47/thumbnail.jpeg" + ] + }, + { + "id": 48, + "title": "Women Strip Heel", + "description": "Features: Flip-flops, Mid Heel, Comfortable, Striped Heel, Antiskid, Striped", + "price": 40, + "discountPercentage": 10.83, + "rating": 4.02, + "stock": 25, + "brand": "Sandals Flip Flops", + "category": "womens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/48/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/48/1.jpg", + "https://i.dummyjson.com/data/products/48/2.jpg", + "https://i.dummyjson.com/data/products/48/3.jpg", + "https://i.dummyjson.com/data/products/48/4.jpg", + "https://i.dummyjson.com/data/products/48/thumbnail.jpg" + ] + }, + { + "id": 49, + "title": "Chappals & Shoe Ladies Metallic", + "description": "Womens Chappals & Shoe Ladies Metallic Tong Thong Sandal Flat Summer 2020 Maasai Sandals", + "price": 23, + "discountPercentage": 2.62, + "rating": 4.72, + "stock": 107, + "brand": "Maasai Sandals", + "category": "womens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/49/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/49/1.jpg", + "https://i.dummyjson.com/data/products/49/2.jpg", + "https://i.dummyjson.com/data/products/49/3.webp", + "https://i.dummyjson.com/data/products/49/thumbnail.jpg" + ] + }, + { + "id": 50, + "title": "Women Shoes", + "description": "2020 New Arrivals Genuine Leather Fashion Trend Platform Summer Women Shoes", + "price": 36, + "discountPercentage": 16.87, + "rating": 4.33, + "stock": 46, + "brand": "Arrivals Genuine", + "category": "womens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/50/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/50/1.jpeg", + "https://i.dummyjson.com/data/products/50/2.jpg", + "https://i.dummyjson.com/data/products/50/3.jpg" + ] + }, + { + "id": 51, + "title": "half sleeves T shirts", + "description": "Many store is creating new designs and trend every month and every year. Daraz.pk have a beautiful range of men fashion brands", + "price": 23, + "discountPercentage": 12.76, + "rating": 4.26, + "stock": 132, + "brand": "Vintage Apparel", + "category": "mens-shirts", + "thumbnail": "https://i.dummyjson.com/data/products/51/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/51/1.png", + "https://i.dummyjson.com/data/products/51/2.jpg", + "https://i.dummyjson.com/data/products/51/3.jpg", + "https://i.dummyjson.com/data/products/51/thumbnail.jpg" + ] + }, + { + "id": 52, + "title": "FREE FIRE T Shirt", + "description": "quality and professional print - It doesn't just look high quality, it is high quality.", + "price": 10, + "discountPercentage": 14.72, + "rating": 4.52, + "stock": 128, + "brand": "FREE FIRE", + "category": "mens-shirts", + "thumbnail": "https://i.dummyjson.com/data/products/52/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/52/1.png", + "https://i.dummyjson.com/data/products/52/2.png", + "https://i.dummyjson.com/data/products/52/3.jpg", + "https://i.dummyjson.com/data/products/52/4.jpg", + "https://i.dummyjson.com/data/products/52/thumbnail.jpg" + ] + }, + { + "id": 53, + "title": "printed high quality T shirts", + "description": "Brand: vintage Apparel ,Export quality", + "price": 35, + "discountPercentage": 7.54, + "rating": 4.89, + "stock": 6, + "brand": "Vintage Apparel", + "category": "mens-shirts", + "thumbnail": "https://i.dummyjson.com/data/products/53/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/53/1.webp", + "https://i.dummyjson.com/data/products/53/2.jpg", + "https://i.dummyjson.com/data/products/53/3.jpg", + "https://i.dummyjson.com/data/products/53/4.jpg", + "https://i.dummyjson.com/data/products/53/thumbnail.jpg" + ] + }, + { + "id": 54, + "title": "Pubg Printed Graphic T-Shirt", + "description": "Product Description Features: 100% Ultra soft Polyester Jersey. Vibrant & colorful printing on front. Feels soft as cotton without ever cracking", + "price": 46, + "discountPercentage": 16.44, + "rating": 4.62, + "stock": 136, + "brand": "The Warehouse", + "category": "mens-shirts", + "thumbnail": "https://i.dummyjson.com/data/products/54/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/54/1.jpg", + "https://i.dummyjson.com/data/products/54/2.jpg", + "https://i.dummyjson.com/data/products/54/3.jpg", + "https://i.dummyjson.com/data/products/54/4.jpg", + "https://i.dummyjson.com/data/products/54/thumbnail.jpg" + ] + }, + { + "id": 55, + "title": "Money Heist Printed Summer T Shirts", + "description": "Fabric Jercy, Size: M & L Wear Stylish Dual Stiched", + "price": 66, + "discountPercentage": 15.97, + "rating": 4.9, + "stock": 122, + "brand": "The Warehouse", + "category": "mens-shirts", + "thumbnail": "https://i.dummyjson.com/data/products/55/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/55/1.jpg", + "https://i.dummyjson.com/data/products/55/2.webp", + "https://i.dummyjson.com/data/products/55/3.jpg", + "https://i.dummyjson.com/data/products/55/4.jpg", + "https://i.dummyjson.com/data/products/55/thumbnail.jpg" + ] + }, + { + "id": 56, + "title": "Sneakers Joggers Shoes", + "description": "Gender: Men , Colors: Same as DisplayedCondition: 100% Brand New", + "price": 40, + "discountPercentage": 12.57, + "rating": 4.38, + "stock": 6, + "brand": "Sneakers", + "category": "mens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/56/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/56/1.jpg", + "https://i.dummyjson.com/data/products/56/2.jpg", + "https://i.dummyjson.com/data/products/56/3.jpg", + "https://i.dummyjson.com/data/products/56/4.jpg", + "https://i.dummyjson.com/data/products/56/5.jpg", + "https://i.dummyjson.com/data/products/56/thumbnail.jpg" + ] + }, + { + "id": 57, + "title": "Loafers for men", + "description": "Men Shoes - Loafers for men - Rubber Shoes - Nylon Shoes - Shoes for men - Moccassion - Pure Nylon (Rubber) Expot Quality.", + "price": 47, + "discountPercentage": 10.91, + "rating": 4.91, + "stock": 20, + "brand": "Rubber", + "category": "mens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/57/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/57/1.jpg", + "https://i.dummyjson.com/data/products/57/2.jpg", + "https://i.dummyjson.com/data/products/57/3.jpg", + "https://i.dummyjson.com/data/products/57/4.jpg", + "https://i.dummyjson.com/data/products/57/thumbnail.jpg" + ] + }, + { + "id": 58, + "title": "formal offices shoes", + "description": "Pattern Type: Solid, Material: PU, Toe Shape: Pointed Toe ,Outsole Material: Rubber", + "price": 57, + "discountPercentage": 12, + "rating": 4.41, + "stock": 68, + "brand": "The Warehouse", + "category": "mens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/58/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/58/1.jpg", + "https://i.dummyjson.com/data/products/58/2.jpg", + "https://i.dummyjson.com/data/products/58/3.jpg", + "https://i.dummyjson.com/data/products/58/4.jpg", + "https://i.dummyjson.com/data/products/58/thumbnail.jpg" + ] + }, + { + "id": 59, + "title": "Spring and summershoes", + "description": "Comfortable stretch cloth, lightweight body; ,rubber sole, anti-skid wear;", + "price": 20, + "discountPercentage": 8.71, + "rating": 4.33, + "stock": 137, + "brand": "Sneakers", + "category": "mens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/59/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/59/1.jpg", + "https://i.dummyjson.com/data/products/59/2.jpg", + "https://i.dummyjson.com/data/products/59/3.jpg", + "https://i.dummyjson.com/data/products/59/4.jpg", + "https://i.dummyjson.com/data/products/59/thumbnail.jpg" + ] + }, + { + "id": 60, + "title": "Stylish Casual Jeans Shoes", + "description": "High Quality ,Stylish design ,Comfortable wear ,FAshion ,Durable", + "price": 58, + "discountPercentage": 7.55, + "rating": 4.55, + "stock": 129, + "brand": "Sneakers", + "category": "mens-shoes", + "thumbnail": "https://i.dummyjson.com/data/products/60/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/60/1.jpg", + "https://i.dummyjson.com/data/products/60/2.jpg", + "https://i.dummyjson.com/data/products/60/3.jpg", + "https://i.dummyjson.com/data/products/60/thumbnail.jpg" + ] + }, + { + "id": 61, + "title": "Leather Straps Wristwatch", + "description": "Style:Sport ,Clasp:Buckles ,Water Resistance Depth:3Bar", + "price": 120, + "discountPercentage": 7.14, + "rating": 4.63, + "stock": 91, + "brand": "Naviforce", + "category": "mens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/61/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/61/1.jpg", + "https://i.dummyjson.com/data/products/61/2.png", + "https://i.dummyjson.com/data/products/61/3.jpg" + ] + }, + { + "id": 62, + "title": "Waterproof Leather Brand Watch", + "description": "Watch Crown With Environmental IPS Bronze Electroplating; Display system of 12 hours", + "price": 46, + "discountPercentage": 3.15, + "rating": 4.05, + "stock": 95, + "brand": "SKMEI 9117", + "category": "mens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/62/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/62/1.jpg", + "https://i.dummyjson.com/data/products/62/2.jpg" + ] + }, + { + "id": 63, + "title": "Royal Blue Premium Watch", + "description": "Men Silver Chain Royal Blue Premium Watch Latest Analog Watch", + "price": 50, + "discountPercentage": 2.56, + "rating": 4.89, + "stock": 142, + "brand": "SKMEI 9117", + "category": "mens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/63/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/63/1.jpg", + "https://i.dummyjson.com/data/products/63/2.jpg", + "https://i.dummyjson.com/data/products/63/3.png", + "https://i.dummyjson.com/data/products/63/4.jpeg" + ] + }, + { + "id": 64, + "title": "Leather Strap Skeleton Watch", + "description": "Leather Strap Skeleton Watch for Men - Stylish and Latest Design", + "price": 46, + "discountPercentage": 10.2, + "rating": 4.98, + "stock": 61, + "brand": "Strap Skeleton", + "category": "mens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/64/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/64/1.jpg", + "https://i.dummyjson.com/data/products/64/2.webp", + "https://i.dummyjson.com/data/products/64/3.jpg", + "https://i.dummyjson.com/data/products/64/thumbnail.jpg" + ] + }, + { + "id": 65, + "title": "Stainless Steel Wrist Watch", + "description": "Stylish Watch For Man (Luxury) Classy Men's Stainless Steel Wrist Watch - Box Packed", + "price": 47, + "discountPercentage": 17.79, + "rating": 4.79, + "stock": 94, + "brand": "Stainless", + "category": "mens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/65/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/65/1.jpg", + "https://i.dummyjson.com/data/products/65/2.webp", + "https://i.dummyjson.com/data/products/65/3.jpg", + "https://i.dummyjson.com/data/products/65/4.webp", + "https://i.dummyjson.com/data/products/65/thumbnail.webp" + ] + }, + { + "id": 66, + "title": "Steel Analog Couple Watches", + "description": "Elegant design, Stylish ,Unique & Trendy,Comfortable wear", + "price": 35, + "discountPercentage": 3.23, + "rating": 4.79, + "stock": 24, + "brand": "Eastern Watches", + "category": "womens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/66/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/66/1.jpg", + "https://i.dummyjson.com/data/products/66/2.jpg", + "https://i.dummyjson.com/data/products/66/3.jpg", + "https://i.dummyjson.com/data/products/66/4.JPG", + "https://i.dummyjson.com/data/products/66/thumbnail.jpg" + ] + }, + { + "id": 67, + "title": "Fashion Magnetic Wrist Watch", + "description": "Buy this awesome The product is originally manufactured by the company and it's a top selling product with a very reasonable", + "price": 60, + "discountPercentage": 16.69, + "rating": 4.03, + "stock": 46, + "brand": "Eastern Watches", + "category": "womens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/67/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/67/1.jpg", + "https://i.dummyjson.com/data/products/67/2.jpg", + "https://i.dummyjson.com/data/products/67/3.jpg", + "https://i.dummyjson.com/data/products/67/4.jpg", + "https://i.dummyjson.com/data/products/67/thumbnail.jpg" + ] + }, + { + "id": 68, + "title": "Stylish Luxury Digital Watch", + "description": "Stylish Luxury Digital Watch For Girls / Women - Led Smart Ladies Watches For Girls", + "price": 57, + "discountPercentage": 9.03, + "rating": 4.55, + "stock": 77, + "brand": "Luxury Digital", + "category": "womens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/68/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/68/1.jpg", + "https://i.dummyjson.com/data/products/68/2.jpg" + ] + }, + { + "id": 69, + "title": "Golden Watch Pearls Bracelet Watch", + "description": "Product details of Golden Watch Pearls Bracelet Watch For Girls - Golden Chain Ladies Bracelate Watch for Women", + "price": 47, + "discountPercentage": 17.55, + "rating": 4.77, + "stock": 89, + "brand": "Watch Pearls", + "category": "womens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/69/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/69/1.jpg", + "https://i.dummyjson.com/data/products/69/2.jpg", + "https://i.dummyjson.com/data/products/69/3.webp", + "https://i.dummyjson.com/data/products/69/4.jpg", + "https://i.dummyjson.com/data/products/69/thumbnail.jpg" + ] + }, + { + "id": 70, + "title": "Stainless Steel Women", + "description": "Fashion Skmei 1830 Shell Dial Stainless Steel Women Wrist Watch Lady Bracelet Watch Quartz Watches Ladies", + "price": 35, + "discountPercentage": 8.98, + "rating": 4.08, + "stock": 111, + "brand": "Bracelet", + "category": "womens-watches", + "thumbnail": "https://i.dummyjson.com/data/products/70/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/70/1.jpg", + "https://i.dummyjson.com/data/products/70/2.jpg", + "https://i.dummyjson.com/data/products/70/thumbnail.jpg" + ] + }, + { + "id": 71, + "title": "Women Shoulder Bags", + "description": "LouisWill Women Shoulder Bags Long Clutches Cross Body Bags Phone Bags PU Leather Hand Bags Large Capacity Card Holders Zipper Coin Purses Fashion Crossbody Bags for Girls Ladies", + "price": 46, + "discountPercentage": 14.65, + "rating": 4.71, + "stock": 17, + "brand": "LouisWill", + "category": "womens-bags", + "thumbnail": "https://i.dummyjson.com/data/products/71/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/71/1.jpg", + "https://i.dummyjson.com/data/products/71/2.jpg", + "https://i.dummyjson.com/data/products/71/3.webp", + "https://i.dummyjson.com/data/products/71/thumbnail.jpg" + ] + }, + { + "id": 72, + "title": "Handbag For Girls", + "description": "This fashion is designed to add a charming effect to your casual outfit. This Bag is made of synthetic leather.", + "price": 23, + "discountPercentage": 17.5, + "rating": 4.91, + "stock": 27, + "brand": "LouisWill", + "category": "womens-bags", + "thumbnail": "https://i.dummyjson.com/data/products/72/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/72/1.jpg", + "https://i.dummyjson.com/data/products/72/2.png", + "https://i.dummyjson.com/data/products/72/3.webp", + "https://i.dummyjson.com/data/products/72/4.jpg", + "https://i.dummyjson.com/data/products/72/thumbnail.webp" + ] + }, + { + "id": 73, + "title": "Fancy hand clutch", + "description": "This fashion is designed to add a charming effect to your casual outfit. This Bag is made of synthetic leather.", + "price": 44, + "discountPercentage": 10.39, + "rating": 4.18, + "stock": 101, + "brand": "Bracelet", + "category": "womens-bags", + "thumbnail": "https://i.dummyjson.com/data/products/73/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/73/1.jpg", + "https://i.dummyjson.com/data/products/73/2.webp", + "https://i.dummyjson.com/data/products/73/3.jpg", + "https://i.dummyjson.com/data/products/73/thumbnail.jpg" + ] + }, + { + "id": 74, + "title": "Leather Hand Bag", + "description": "It features an attractive design that makes it a must have accessory in your collection. We sell different kind of bags for boys, kids, women, girls and also for unisex.", + "price": 57, + "discountPercentage": 11.19, + "rating": 4.01, + "stock": 43, + "brand": "Copenhagen Luxe", + "category": "womens-bags", + "thumbnail": "https://i.dummyjson.com/data/products/74/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/74/1.jpg", + "https://i.dummyjson.com/data/products/74/2.jpg", + "https://i.dummyjson.com/data/products/74/3.jpg", + "https://i.dummyjson.com/data/products/74/4.jpg", + "https://i.dummyjson.com/data/products/74/thumbnail.jpg" + ] + }, + { + "id": 75, + "title": "Seven Pocket Women Bag", + "description": "Seven Pocket Women Bag Handbags Lady Shoulder Crossbody Bag Female Purse Seven Pocket Bag", + "price": 68, + "discountPercentage": 14.87, + "rating": 4.93, + "stock": 13, + "brand": "Steal Frame", + "category": "womens-bags", + "thumbnail": "https://i.dummyjson.com/data/products/75/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/75/1.jpg", + "https://i.dummyjson.com/data/products/75/2.jpg", + "https://i.dummyjson.com/data/products/75/3.jpg", + "https://i.dummyjson.com/data/products/75/thumbnail.jpg" + ] + }, + { + "id": 76, + "title": "Silver Ring Set Women", + "description": "Jewelry Type:RingsCertificate Type:NonePlating:Silver PlatedShapeattern:noneStyle:CLASSICReligious", + "price": 70, + "discountPercentage": 13.57, + "rating": 4.61, + "stock": 51, + "brand": "Darojay", + "category": "womens-jewellery", + "thumbnail": "https://i.dummyjson.com/data/products/76/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/76/1.jpg", + "https://i.dummyjson.com/data/products/76/2.jpg", + "https://i.dummyjson.com/data/products/76/thumbnail.jpg" + ] + }, + { + "id": 77, + "title": "Rose Ring", + "description": "Brand: The Greetings Flower Colour: RedRing Colour: GoldenSize: Adjustable", + "price": 100, + "discountPercentage": 3.22, + "rating": 4.21, + "stock": 149, + "brand": "Copenhagen Luxe", + "category": "womens-jewellery", + "thumbnail": "https://i.dummyjson.com/data/products/77/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/77/1.jpg", + "https://i.dummyjson.com/data/products/77/2.jpg", + "https://i.dummyjson.com/data/products/77/3.jpg", + "https://i.dummyjson.com/data/products/77/thumbnail.jpg" + ] + }, + { + "id": 78, + "title": "Rhinestone Korean Style Open Rings", + "description": "Fashion Jewellery 3Pcs Adjustable Pearl Rhinestone Korean Style Open Rings For Women", + "price": 30, + "discountPercentage": 8.02, + "rating": 4.69, + "stock": 9, + "brand": "Fashion Jewellery", + "category": "womens-jewellery", + "thumbnail": "https://i.dummyjson.com/data/products/78/thumbnail.jpg", + "images": ["https://i.dummyjson.com/data/products/78/thumbnail.jpg"] + }, + { + "id": 79, + "title": "Elegant Female Pearl Earrings", + "description": "Elegant Female Pearl Earrings Set Zircon Pearl Earings Women Party Accessories 9 Pairs/Set", + "price": 30, + "discountPercentage": 12.8, + "rating": 4.74, + "stock": 16, + "brand": "Fashion Jewellery", + "category": "womens-jewellery", + "thumbnail": "https://i.dummyjson.com/data/products/79/thumbnail.jpg", + "images": ["https://i.dummyjson.com/data/products/79/1.jpg"] + }, + { + "id": 80, + "title": "Chain Pin Tassel Earrings", + "description": "Pair Of Ear Cuff Butterfly Long Chain Pin Tassel Earrings - Silver ( Long Life Quality Product)", + "price": 45, + "discountPercentage": 17.75, + "rating": 4.59, + "stock": 9, + "brand": "Cuff Butterfly", + "category": "womens-jewellery", + "thumbnail": "https://i.dummyjson.com/data/products/80/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/80/1.jpg", + "https://i.dummyjson.com/data/products/80/2.jpg", + "https://i.dummyjson.com/data/products/80/3.png", + "https://i.dummyjson.com/data/products/80/4.jpg", + "https://i.dummyjson.com/data/products/80/thumbnail.jpg" + ] + }, + { + "id": 81, + "title": "Round Silver Frame Sun Glasses", + "description": "A pair of sunglasses can protect your eyes from being hurt. For car driving, vacation travel, outdoor activities, social gatherings,", + "price": 19, + "discountPercentage": 10.1, + "rating": 4.94, + "stock": 78, + "brand": "Designer Sun Glasses", + "category": "sunglasses", + "thumbnail": "https://i.dummyjson.com/data/products/81/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/81/1.jpg", + "https://i.dummyjson.com/data/products/81/2.jpg", + "https://i.dummyjson.com/data/products/81/3.jpg", + "https://i.dummyjson.com/data/products/81/4.webp", + "https://i.dummyjson.com/data/products/81/thumbnail.jpg" + ] + }, + { + "id": 82, + "title": "Kabir Singh Square Sunglass", + "description": "Orignal Metal Kabir Singh design 2020 Sunglasses Men Brand Designer Sun Glasses Kabir Singh Square Sunglass", + "price": 50, + "discountPercentage": 15.6, + "rating": 4.62, + "stock": 78, + "brand": "Designer Sun Glasses", + "category": "sunglasses", + "thumbnail": "https://i.dummyjson.com/data/products/82/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/82/1.jpg", + "https://i.dummyjson.com/data/products/82/2.webp", + "https://i.dummyjson.com/data/products/82/3.jpg", + "https://i.dummyjson.com/data/products/82/4.jpg", + "https://i.dummyjson.com/data/products/82/thumbnail.jpg" + ] + }, + { + "id": 83, + "title": "Wiley X Night Vision Yellow Glasses", + "description": "Wiley X Night Vision Yellow Glasses for Riders - Night Vision Anti Fog Driving Glasses - Free Night Glass Cover - Shield Eyes From Dust and Virus- For Night Sport Matches", + "price": 30, + "discountPercentage": 6.33, + "rating": 4.97, + "stock": 115, + "brand": "mastar watch", + "category": "sunglasses", + "thumbnail": "https://i.dummyjson.com/data/products/83/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/83/1.jpg", + "https://i.dummyjson.com/data/products/83/2.jpg", + "https://i.dummyjson.com/data/products/83/3.jpg", + "https://i.dummyjson.com/data/products/83/4.jpg", + "https://i.dummyjson.com/data/products/83/thumbnail.jpg" + ] + }, + { + "id": 84, + "title": "Square Sunglasses", + "description": "Fashion Oversized Square Sunglasses Retro Gradient Big Frame Sunglasses For Women One Piece Gafas Shade Mirror Clear Lens 17059", + "price": 28, + "discountPercentage": 13.89, + "rating": 4.64, + "stock": 64, + "brand": "mastar watch", + "category": "sunglasses", + "thumbnail": "https://i.dummyjson.com/data/products/84/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/84/1.jpg", + "https://i.dummyjson.com/data/products/84/2.jpg", + "https://i.dummyjson.com/data/products/84/thumbnail.jpg" + ] + }, + { + "id": 85, + "title": "LouisWill Men Sunglasses", + "description": "LouisWill Men Sunglasses Polarized Sunglasses UV400 Sunglasses Day Night Dual Use Safety Driving Night Vision Eyewear AL-MG Frame Sun Glasses with Free Box for Drivers", + "price": 50, + "discountPercentage": 11.27, + "rating": 4.98, + "stock": 92, + "brand": "LouisWill", + "category": "sunglasses", + "thumbnail": "https://i.dummyjson.com/data/products/85/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/85/1.jpg", + "https://i.dummyjson.com/data/products/85/2.jpg", + "https://i.dummyjson.com/data/products/85/thumbnail.jpg" + ] + }, + { + "id": 86, + "title": "Bluetooth Aux", + "description": "Bluetooth Aux Bluetooth Car Aux Car Bluetooth Transmitter Aux Audio Receiver Handfree Car Bluetooth Music Receiver Universal 3.5mm Streaming A2DP Wireless Auto AUX Audio Adapter With Mic For Phone MP3", + "price": 25, + "discountPercentage": 10.56, + "rating": 4.57, + "stock": 22, + "brand": "Car Aux", + "category": "automotive", + "thumbnail": "https://i.dummyjson.com/data/products/86/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/86/1.jpg", + "https://i.dummyjson.com/data/products/86/2.webp", + "https://i.dummyjson.com/data/products/86/3.jpg", + "https://i.dummyjson.com/data/products/86/4.jpg", + "https://i.dummyjson.com/data/products/86/thumbnail.jpg" + ] + }, + { + "id": 87, + "title": "t Temperature Controller Incubator Controller", + "description": "Both Heat and Cool Purpose, Temperature control range; -50 to +110, Temperature measurement accuracy; 0.1, Control accuracy; 0.1", + "price": 40, + "discountPercentage": 11.3, + "rating": 4.54, + "stock": 37, + "brand": "W1209 DC12V", + "category": "automotive", + "thumbnail": "https://i.dummyjson.com/data/products/87/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/87/1.jpg", + "https://i.dummyjson.com/data/products/87/2.jpg", + "https://i.dummyjson.com/data/products/87/3.jpg", + "https://i.dummyjson.com/data/products/87/4.jpg", + "https://i.dummyjson.com/data/products/87/thumbnail.jpg" + ] + }, + { + "id": 88, + "title": "TC Reusable Silicone Magic Washing Gloves", + "description": "TC Reusable Silicone Magic Washing Gloves with Scrubber, Cleaning Brush Scrubber Gloves Heat Resistant Pair for Cleaning of Kitchen, Dishes, Vegetables and Fruits, Bathroom, Car Wash, Pet Care and Multipurpose", + "price": 29, + "discountPercentage": 3.19, + "rating": 4.98, + "stock": 42, + "brand": "TC Reusable", + "category": "automotive", + "thumbnail": "https://i.dummyjson.com/data/products/88/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/88/1.jpg", + "https://i.dummyjson.com/data/products/88/2.jpg", + "https://i.dummyjson.com/data/products/88/3.jpg", + "https://i.dummyjson.com/data/products/88/4.webp", + "https://i.dummyjson.com/data/products/88/thumbnail.jpg" + ] + }, + { + "id": 89, + "title": "Qualcomm original Car Charger", + "description": "best Quality CHarger , Highly Recommended to all best Quality CHarger , Highly Recommended to all", + "price": 40, + "discountPercentage": 17.53, + "rating": 4.2, + "stock": 79, + "brand": "TC Reusable", + "category": "automotive", + "thumbnail": "https://i.dummyjson.com/data/products/89/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/89/1.jpg", + "https://i.dummyjson.com/data/products/89/2.jpg", + "https://i.dummyjson.com/data/products/89/3.jpg", + "https://i.dummyjson.com/data/products/89/4.jpg", + "https://i.dummyjson.com/data/products/89/thumbnail.jpg" + ] + }, + { + "id": 90, + "title": "Cycle Bike Glow", + "description": "Universal fitment and easy to install no special wires, can be easily installed and removed. Fits most standard tyre air stem valves of road, mountain bicycles, motocycles and cars.Bright led will turn on w", + "price": 35, + "discountPercentage": 11.08, + "rating": 4.1, + "stock": 63, + "brand": "Neon LED Light", + "category": "automotive", + "thumbnail": "https://i.dummyjson.com/data/products/90/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/90/1.jpg", + "https://i.dummyjson.com/data/products/90/2.jpg", + "https://i.dummyjson.com/data/products/90/3.jpg", + "https://i.dummyjson.com/data/products/90/4.jpg", + "https://i.dummyjson.com/data/products/90/thumbnail.jpg" + ] + }, + { + "id": 91, + "title": "Black Motorbike", + "description": "Engine Type:Wet sump, Single Cylinder, Four Stroke, Two Valves, Air Cooled with SOHC (Single Over Head Cam) Chain Drive Bore & Stroke:47.0 x 49.5 MM", + "price": 569, + "discountPercentage": 13.63, + "rating": 4.04, + "stock": 115, + "brand": "METRO 70cc Motorcycle - MR70", + "category": "motorcycle", + "thumbnail": "https://i.dummyjson.com/data/products/91/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/91/1.jpg", + "https://i.dummyjson.com/data/products/91/2.jpg", + "https://i.dummyjson.com/data/products/91/3.jpg", + "https://i.dummyjson.com/data/products/91/4.jpg", + "https://i.dummyjson.com/data/products/91/thumbnail.jpg" + ] + }, + { + "id": 92, + "title": "HOT SALE IN EUROPE electric racing motorcycle", + "description": "HOT SALE IN EUROPE electric racing motorcycle electric motorcycle for sale adult electric motorcycles", + "price": 920, + "discountPercentage": 14.4, + "rating": 4.19, + "stock": 22, + "brand": "BRAVE BULL", + "category": "motorcycle", + "thumbnail": "https://i.dummyjson.com/data/products/92/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/92/1.jpg", + "https://i.dummyjson.com/data/products/92/2.jpg", + "https://i.dummyjson.com/data/products/92/3.jpg", + "https://i.dummyjson.com/data/products/92/4.jpg" + ] + }, + { + "id": 93, + "title": "Automatic Motor Gas Motorcycles", + "description": "150cc 4-Stroke Motorcycle Automatic Motor Gas Motorcycles Scooter motorcycles 150cc scooter", + "price": 1050, + "discountPercentage": 3.34, + "rating": 4.84, + "stock": 127, + "brand": "shock absorber", + "category": "motorcycle", + "thumbnail": "https://i.dummyjson.com/data/products/93/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/93/1.jpg", + "https://i.dummyjson.com/data/products/93/2.jpg", + "https://i.dummyjson.com/data/products/93/3.jpg", + "https://i.dummyjson.com/data/products/93/4.jpg", + "https://i.dummyjson.com/data/products/93/thumbnail.jpg" + ] + }, + { + "id": 94, + "title": "new arrivals Fashion motocross goggles", + "description": "new arrivals Fashion motocross goggles motorcycle motocross racing motorcycle", + "price": 900, + "discountPercentage": 3.85, + "rating": 4.06, + "stock": 109, + "brand": "JIEPOLLY", + "category": "motorcycle", + "thumbnail": "https://i.dummyjson.com/data/products/94/thumbnail.webp", + "images": [ + "https://i.dummyjson.com/data/products/94/1.webp", + "https://i.dummyjson.com/data/products/94/2.jpg", + "https://i.dummyjson.com/data/products/94/3.jpg", + "https://i.dummyjson.com/data/products/94/thumbnail.webp" + ] + }, + { + "id": 95, + "title": "Wholesale cargo lashing Belt", + "description": "Wholesale cargo lashing Belt Tie Down end Ratchet strap customized strap 25mm motorcycle 1500kgs with rubber handle", + "price": 930, + "discountPercentage": 17.67, + "rating": 4.21, + "stock": 144, + "brand": "Xiangle", + "category": "motorcycle", + "thumbnail": "https://i.dummyjson.com/data/products/95/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/95/1.jpg", + "https://i.dummyjson.com/data/products/95/2.jpg", + "https://i.dummyjson.com/data/products/95/3.jpg", + "https://i.dummyjson.com/data/products/95/4.jpg", + "https://i.dummyjson.com/data/products/95/thumbnail.jpg" + ] + }, + { + "id": 96, + "title": "lighting ceiling kitchen", + "description": "Wholesale slim hanging decorative kid room lighting ceiling kitchen chandeliers pendant light modern", + "price": 30, + "discountPercentage": 14.89, + "rating": 4.83, + "stock": 96, + "brand": "lightingbrilliance", + "category": "lighting", + "thumbnail": "https://i.dummyjson.com/data/products/96/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/96/1.jpg", + "https://i.dummyjson.com/data/products/96/2.jpg", + "https://i.dummyjson.com/data/products/96/3.jpg", + "https://i.dummyjson.com/data/products/96/4.jpg", + "https://i.dummyjson.com/data/products/96/thumbnail.jpg" + ] + }, + { + "id": 97, + "title": "Metal Ceramic Flower", + "description": "Metal Ceramic Flower Chandelier Home Lighting American Vintage Hanging Lighting Pendant Lamp", + "price": 35, + "discountPercentage": 10.94, + "rating": 4.93, + "stock": 146, + "brand": "Ifei Home", + "category": "lighting", + "thumbnail": "https://i.dummyjson.com/data/products/97/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/97/1.jpg", + "https://i.dummyjson.com/data/products/97/2.jpg", + "https://i.dummyjson.com/data/products/97/3.jpg", + "https://i.dummyjson.com/data/products/97/4.webp", + "https://i.dummyjson.com/data/products/97/thumbnail.jpg" + ] + }, + { + "id": 98, + "title": "3 lights lndenpant kitchen islang", + "description": "3 lights lndenpant kitchen islang dining room pendant rice paper chandelier contemporary led pendant light modern chandelier", + "price": 34, + "discountPercentage": 5.92, + "rating": 4.99, + "stock": 44, + "brand": "DADAWU", + "category": "lighting", + "thumbnail": "https://i.dummyjson.com/data/products/98/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/98/1.jpg", + "https://i.dummyjson.com/data/products/98/2.jpg", + "https://i.dummyjson.com/data/products/98/3.jpg", + "https://i.dummyjson.com/data/products/98/4.jpg", + "https://i.dummyjson.com/data/products/98/thumbnail.jpg" + ] + }, + { + "id": 99, + "title": "American Vintage Wood Pendant Light", + "description": "American Vintage Wood Pendant Light Farmhouse Antique Hanging Lamp Lampara Colgante", + "price": 46, + "discountPercentage": 8.84, + "rating": 4.32, + "stock": 138, + "brand": "Ifei Home", + "category": "lighting", + "thumbnail": "https://i.dummyjson.com/data/products/99/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/99/1.jpg", + "https://i.dummyjson.com/data/products/99/2.jpg", + "https://i.dummyjson.com/data/products/99/3.jpg", + "https://i.dummyjson.com/data/products/99/4.jpg", + "https://i.dummyjson.com/data/products/99/thumbnail.jpg" + ] + }, + { + "id": 100, + "title": "Crystal chandelier maria theresa for 12 light", + "description": "Crystal chandelier maria theresa for 12 light", + "price": 47, + "discountPercentage": 16, + "rating": 4.74, + "stock": 133, + "brand": "YIOSI", + "category": "lighting", + "thumbnail": "https://i.dummyjson.com/data/products/100/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/100/1.jpg", + "https://i.dummyjson.com/data/products/100/2.jpg", + "https://i.dummyjson.com/data/products/100/3.jpg", + "https://i.dummyjson.com/data/products/100/thumbnail.jpg" + ] + }, + { + "title": "Mac Book Air ", + "description": "Mac Book Air ", + "brand": "Apple", + "category": "laptops", + "price": 1111, + "discountPercentage": 11, + "stock": 22, + "thumbnail": "https://i.dummyjson.com/data/products/6/thumbnail.png", + "images": [ + "https://i.dummyjson.com/data/products/6/thumbnail.png", + "https://i.dummyjson.com/data/products/6/thumbnail.png", + "https://i.dummyjson.com/data/products/6/thumbnail.png", + "https://i.dummyjson.com/data/products/6/thumbnail.png" + ], + "id": 101 + } + ], + "brands": [ + { + "value": "Apple", + "label": "Apple", + "checked": false + }, + { + "value": "Samsung", + "label": "Samsung", + "checked": false + }, + { + "value": "OPPO", + "label": "OPPO", + "checked": false + }, + { + "value": "Huawei", + "label": "Huawei", + "checked": false + }, + { + "value": "Microsoft Surface", + "label": "Microsoft Surface", + "checked": false + }, + { + "value": "Infinix", + "label": "Infinix", + "checked": false + }, + { + "value": "HP Pavilion", + "label": "HP Pavilion", + "checked": false + }, + { + "value": "Impression of Acqua Di Gio", + "label": "Impression of Acqua Di Gio", + "checked": false + }, + { + "value": "Royal_Mirage", + "label": "Royal_Mirage", + "checked": false + }, + { + "value": "Fog Scent Xpressio", + "label": "Fog Scent Xpressio", + "checked": false + }, + { + "value": "Al Munakh", + "label": "Al Munakh", + "checked": false + }, + { + "value": "Lord - Al-Rehab", + "label": "Lord Al Rehab", + "checked": false + }, + { + "value": "L'Oreal Paris", + "label": "L'Oreal Paris", + "checked": false + }, + { + "value": "Hemani Tea", + "label": "Hemani Tea", + "checked": false + }, + { + "value": "Dermive", + "label": "Dermive", + "checked": false + }, + { + "value": "ROREC White Rice", + "label": "ROREC White Rice", + "checked": false + }, + { + "value": "Fair & Clear", + "label": "Fair & Clear", + "checked": false + }, + { + "value": "Saaf & Khaas", + "label": "Saaf & Khaas", + "checked": false + }, + { + "value": "Bake Parlor Big", + "label": "Bake Parlor Big", + "checked": false + }, + { + "value": "Baking Food Items", + "label": "Baking Food Items", + "checked": false + }, + { + "value": "fauji", + "label": "fauji", + "checked": false + }, + { + "value": "Dry Rose", + "label": "Dry Rose", + "checked": false + }, + { + "value": "Boho Decor", + "label": "Boho Decor", + "checked": false + }, + { + "value": "Flying Wooden", + "label": "Flying Wooden", + "checked": false + }, + { + "value": "LED Lights", + "label": "LED Lights", + "checked": false + }, + { + "value": "luxury palace", + "label": "luxury palace", + "checked": false + }, + { + "value": "Golden", + "label": "Golden", + "checked": false + }, + { + "value": "Furniture Bed Set", + "label": "Furniture Bed Set", + "checked": false + }, + { + "value": "Ratttan Outdoor", + "label": "Ratttan Outdoor", + "checked": false + }, + { + "value": "Kitchen Shelf", + "label": "Kitchen Shelf", + "checked": false + }, + { + "value": "Multi Purpose", + "label": "Multi Purpose", + "checked": false + }, + { + "value": "AmnaMart", + "label": "AmnaMart", + "checked": false + }, + { + "value": "Professional Wear", + "label": "Professional Wear", + "checked": false + }, + { + "value": "Soft Cotton", + "label": "Soft Cotton", + "checked": false + }, + { + "value": "Top Sweater", + "label": "Top Sweater", + "checked": false + }, + { + "value": "RED MICKY MOUSE..", + "label": "RED MICKY MOUSE..", + "checked": false + }, + { + "value": "Digital Printed", + "label": "Digital Printed", + "checked": false + }, + { + "value": "Ghazi Fabric", + "label": "Ghazi Fabric", + "checked": false + }, + { + "value": "IELGY", + "label": "IELGY", + "checked": false + }, + { + "value": "IELGY fashion", + "label": "IELGY fashion", + "checked": false + }, + { + "value": "Synthetic Leather", + "label": "Synthetic Leather", + "checked": false + }, + { + "value": "Sandals Flip Flops", + "label": "Sandals Flip Flops", + "checked": false + }, + { + "value": "Maasai Sandals", + "label": "Maasai Sandals", + "checked": false + }, + { + "value": "Arrivals Genuine", + "label": "Arrivals Genuine", + "checked": false + }, + { + "value": "Vintage Apparel", + "label": "Vintage Apparel", + "checked": false + }, + { + "value": "FREE FIRE", + "label": "FREE FIRE", + "checked": false + }, + { + "value": "The Warehouse", + "label": "The Warehouse", + "checked": false + }, + { + "value": "Sneakers", + "label": "Sneakers", + "checked": false + }, + { + "value": "Rubber", + "label": "Rubber", + "checked": false + }, + { + "value": "Naviforce", + "label": "Naviforce", + "checked": false + }, + { + "value": "SKMEI 9117", + "label": "SKMEI 9117", + "checked": false + }, + { + "value": "Strap Skeleton", + "label": "Strap Skeleton", + "checked": false + }, + { + "value": "Stainless", + "label": "Stainless", + "checked": false + }, + { + "value": "Eastern Watches", + "label": "Eastern Watches", + "checked": false + }, + { + "value": "Luxury Digital", + "label": "Luxury Digital", + "checked": false + }, + { + "value": "Watch Pearls", + "label": "Watch Pearls", + "checked": false + }, + { + "value": "Bracelet", + "label": "Bracelet", + "checked": false + }, + { + "value": "LouisWill", + "label": "LouisWill", + "checked": false + }, + { + "value": "Copenhagen Luxe", + "label": "Copenhagen Luxe", + "checked": false + }, + { + "value": "Steal Frame", + "label": "Steal Frame", + "checked": false + }, + { + "value": "Darojay", + "label": "Darojay", + "checked": false + }, + { + "value": "Fashion Jewellery", + "label": "Fashion Jewellery", + "checked": false + }, + { + "value": "Cuff Butterfly", + "label": "Cuff Butterfly", + "checked": false + }, + { + "value": "Designer Sun Glasses", + "label": "Designer Sun Glasses", + "checked": false + }, + { + "value": "mastar watch", + "label": "mastar watch", + "checked": false + }, + { + "value": "Car Aux", + "label": "Car Aux", + "checked": false + }, + { + "value": "W1209 DC12V", + "label": "W1209 DC12V", + "checked": false + }, + { + "value": "TC Reusable", + "label": "TC Reusable", + "checked": false + }, + { + "value": "Neon LED Light", + "label": "Neon LED Light", + "checked": false + }, + { + "value": "METRO 70cc Motorcycle - MR70", + "label": "METRO 70cc Motorcycle MR70", + "checked": false + }, + { + "value": "BRAVE BULL", + "label": "BRAVE BULL", + "checked": false + }, + { + "value": "shock absorber", + "label": "shock absorber", + "checked": false + }, + { + "value": "JIEPOLLY", + "label": "JIEPOLLY", + "checked": false + }, + { + "value": "Xiangle", + "label": "Xiangle", + "checked": false + }, + { + "value": "lightingbrilliance", + "label": "lightingbrilliance", + "checked": false + }, + { + "value": "Ifei Home", + "label": "Ifei Home", + "checked": false + }, + { + "value": "DADAWU", + "label": "DADAWU", + "checked": false + }, + { + "value": "YIOSI", + "label": "YIOSI", + "checked": false + } + ], + "categories": [ + { + "value": "smartphones", + "label": "smartphones", + "checked": false + }, + { + "value": "laptops", + "label": "laptops", + "checked": false + }, + { + "value": "fragrances", + "label": "fragrances", + "checked": false + }, + { + "value": "skincare", + "label": "skincare", + "checked": false + }, + { + "value": "groceries", + "label": "groceries", + "checked": false + }, + { + "value": "home-decoration", + "label": "home decoration", + "checked": false + }, + { + "value": "furniture", + "label": "furniture", + "checked": false + }, + { + "value": "tops", + "label": "tops", + "checked": false + }, + { + "value": "womens-dresses", + "label": "womens dresses", + "checked": false + }, + { + "value": "womens-shoes", + "label": "womens shoes", + "checked": false + }, + { + "value": "mens-shirts", + "label": "mens shirts", + "checked": false + }, + { + "value": "mens-shoes", + "label": "mens shoes", + "checked": false + }, + { + "value": "mens-watches", + "label": "mens watches", + "checked": false + }, + { + "value": "womens-watches", + "label": "womens watches", + "checked": false + }, + { + "value": "womens-bags", + "label": "womens bags", + "checked": false + }, + { + "value": "womens-jewellery", + "label": "womens jewellery", + "checked": false + }, + { + "value": "sunglasses", + "label": "sunglasses", + "checked": false + }, + { + "value": "automotive", + "label": "automotive", + "checked": false + }, + { + "value": "motorcycle", + "label": "motorcycle", + "checked": false + }, + { + "value": "lighting", + "label": "lighting", + "checked": false + } + ], + "users": [ + { + "email": "test@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Abhishek Rathore", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + { + "name": "Jack Morris", + "email": "jack@gmail.com", + "city": "Delhi", + "state": "Delhi", + "pinCode": "110006", + "phone": "12312331232", + "street": "12th cross" + } + ], + "id": 1 + }, + { + "email": "demo@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + } + ], + "id": 2 + }, + { + "email": "admin@gmail.com", + "password": "Qwerty123", + "addresses": [], + "role": "admin", + "id": 3 + } + ], + "cart": [ + { + "title": "Huawei P30", + "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", + "price": 499, + "discountPercentage": 10.58, + "rating": 4.09, + "stock": 32, + "brand": "Huawei", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/5/1.jpg", + "https://i.dummyjson.com/data/products/5/2.jpg", + "https://i.dummyjson.com/data/products/5/3.jpg" + ], + "productId": 5, + "quantity": 1, + "user": 2, + "id": 1 + } + ], + "orders": [ + { + "items": [ + { + "title": "iPhone X", + "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", + "price": 899, + "discountPercentage": 17.94, + "rating": 4.44, + "stock": 34, + "brand": "Apple", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/2/1.jpg", + "https://i.dummyjson.com/data/products/2/2.jpg", + "https://i.dummyjson.com/data/products/2/3.jpg", + "https://i.dummyjson.com/data/products/2/thumbnail.jpg" + ], + "quantity": 2, + "user": 1, + "id": 6 + } + ], + "totalAmount": 1798, + "totalItems": 2, + "user": { + "email": "test@gmail.com", + "password": "Qwerty123", + "addresses": [ + { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + } + ], + "id": 1 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + "status": "dispatched", + "id": 1 + }, + { + "items": [ + { + "title": "iPhone X", + "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", + "price": 899, + "discountPercentage": 17.94, + "rating": 4.44, + "stock": 34, + "brand": "Apple", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/2/1.jpg", + "https://i.dummyjson.com/data/products/2/2.jpg", + "https://i.dummyjson.com/data/products/2/3.jpg", + "https://i.dummyjson.com/data/products/2/thumbnail.jpg" + ], + "quantity": 2, + "user": 1, + "id": 6 + } + ], + "totalAmount": 1798, + "totalItems": 2, + "user": { + "email": "test@gmail.com", + "password": "Qwerty123", + "addresses": [ + { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + } + ], + "id": 1 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + "status": "delivered", + "id": 2 + }, + { + "items": [ + { + "id": 3, + "title": "Samsung Universe 9", + "description": "Samsung's new variant which goes beyond Galaxy to the Universe", + "price": 1249, + "discountPercentage": 15.46, + "rating": 4.09, + "stock": 36, + "brand": "Samsung", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", + "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], + "quantity": 2, + "user": 2 + }, + { + "id": 5, + "title": "Huawei P30", + "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", + "price": 499, + "discountPercentage": 10.58, + "rating": 4.09, + "stock": 32, + "brand": "Huawei", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/5/1.jpg", + "https://i.dummyjson.com/data/products/5/2.jpg", + "https://i.dummyjson.com/data/products/5/3.jpg" + ], + "quantity": 1, + "user": 2 + } + ], + "totalAmount": 2997, + "totalItems": 3, + "user": { + "email": "demo@gmail.com", + "password": "Qwerty123", + "addresses": [ + { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + } + ], + "id": 2 + }, + "paymentMethod": "card", + "selectedAddress": { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + }, + "status": "cancelled", + "id": 3 + }, + { + "items": [ + { + "title": "iPhone 9", + "description": "An apple mobile which is nothing like apple", + "price": 549, + "discountPercentage": 12.96, + "rating": 4.69, + "stock": 94, + "brand": "Apple", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/1/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/1/1.jpg", + "https://i.dummyjson.com/data/products/1/2.jpg", + "https://i.dummyjson.com/data/products/1/3.jpg", + "https://i.dummyjson.com/data/products/1/4.jpg", + "https://i.dummyjson.com/data/products/1/thumbnail.jpg" + ], + "quantity": 2, + "user": 1, + "id": 1 + } + ], + "totalAmount": 1098, + "totalItems": 2, + "user": { + "email": "test@gmail.com", + "password": "Qwerty123", + "addresses": [ + { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + } + ], + "id": 1 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Abhishek R", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + "status": "pending", + "id": 4 + }, + { + "items": [ + { + "title": "iPhone X", + "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", + "price": 899, + "discountPercentage": 17.94, + "rating": 4.44, + "stock": 34, + "brand": "Apple", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/2/1.jpg", + "https://i.dummyjson.com/data/products/2/2.jpg", + "https://i.dummyjson.com/data/products/2/3.jpg", + "https://i.dummyjson.com/data/products/2/thumbnail.jpg" + ], + "quantity": 1, + "user": 1, + "id": 1 + } + ], + "totalAmount": 899, + "totalItems": 1, + "user": { + "email": "test@gmail.com", + "password": "Qwerty123", + "addresses": [ + { + "name": "Abhishek Rathore", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + { + "name": "Jack Morris", + "email": "jack@gmail.com", + "city": "Delhi", + "state": "Delhi", + "pinCode": "110006", + "phone": "12312331232", + "street": "12th cross" + } + ], + "id": 1 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Abhishek Rathore", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + "status": "pending", + "id": 5 + }, + { + "items": [ + { + "title": "iPhone X", + "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", + "price": 1111, + "discountPercentage": 17.94, + "rating": 0, + "stock": 34, + "brand": "Apple", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/2/1.jpg", + "https://i.dummyjson.com/data/products/2/2.jpg", + "https://i.dummyjson.com/data/products/2/3.jpg", + "https://i.dummyjson.com/data/products/2/thumbnail.jpg" + ], + "quantity": 2, + "user": 1, + "id": 1 + } + ], + "totalAmount": 1824, + "totalItems": 2, + "user": { + "email": "test@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Abhishek Rathore", + "email": "test@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Banaglore", + "state": "Karnataka", + "pinCode": "560034" + }, + { + "name": "Jack Morris", + "email": "jack@gmail.com", + "city": "Delhi", + "state": "Delhi", + "pinCode": "110006", + "phone": "12312331232", + "street": "12th cross" + } + ], + "id": 1 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Jack Morris", + "email": "jack@gmail.com", + "city": "Delhi", + "state": "Delhi", + "pinCode": "110006", + "phone": "12312331232", + "street": "12th cross" + }, + "status": "pending", + "id": 6 + }, + { + "items": [ + { + "title": "Samsung Universe 9", + "description": "Samsung's new variant which goes beyond Galaxy to the Universe", + "price": 1249, + "discountPercentage": 15.46, + "rating": 4.09, + "stock": 36, + "brand": "Samsung", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", + "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], + "quantity": 1, + "user": 2, + "id": 1 + }, + { + "title": "Huawei P30", + "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", + "price": 499, + "discountPercentage": 10.58, + "rating": 4.09, + "stock": 32, + "brand": "Huawei", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/5/1.jpg", + "https://i.dummyjson.com/data/products/5/2.jpg", + "https://i.dummyjson.com/data/products/5/3.jpg" + ], + "quantity": 1, + "user": 2, + "id": 2 + } + ], + "totalAmount": 1502, + "totalItems": 2, + "user": { + "email": "demo@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + } + ], + "id": 2 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + }, + "status": "pending", + "id": 7 + }, + { + "items": [ + { + "title": "Samsung Universe 9", + "description": "Samsung's new variant which goes beyond Galaxy to the Universe", + "price": 1249, + "discountPercentage": 15.46, + "rating": 4.09, + "stock": 36, + "brand": "Samsung", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", + "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], + "quantity": 1, + "user": 2, + "id": 1 + }, + { + "title": "Huawei P30", + "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", + "price": 499, + "discountPercentage": 10.58, + "rating": 4.09, + "stock": 32, + "brand": "Huawei", + "category": "smartphones", + "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/5/1.jpg", + "https://i.dummyjson.com/data/products/5/2.jpg", + "https://i.dummyjson.com/data/products/5/3.jpg" + ], + "quantity": 1, + "user": 2, + "id": 2 + } + ], + "totalAmount": 1502, + "totalItems": 2, + "user": { + "email": "demo@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + } + ], + "id": 2 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + }, + "status": "pending", + "id": 8 + }, + { + "items": [ + { + "title": "MacBook Pro", + "description": "MacBook Pro 2021 with mini-LED display may launch between September, November", + "price": 1999, + "discountPercentage": 11.02, + "rating": 0, + "stock": 83, + "brand": "Apple", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/6/thumbnail.png", + "images": [ + "https://i.dummyjson.com/data/products/6/1.png", + "https://i.dummyjson.com/data/products/6/2.jpg", + "https://i.dummyjson.com/data/products/6/3.png", + "https://i.dummyjson.com/data/products/6/thumbnail.png" + ], + "quantity": 1, + "user": 2, + "id": 1 + } + ], + "totalAmount": 1779, + "totalItems": 1, + "user": { + "email": "demo@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + } + ], + "id": 2 + }, + "paymentMethod": "card", + "selectedAddress": { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + }, + "status": "pending", + "id": 9 + }, + { + "items": [ + { + "title": "Microsoft Surface Laptop 4", + "description": "Style and speed. Stand out on HD video calls backed by Studio Mics. Capture ideas on the vibrant touchscreen.", + "price": 1499, + "discountPercentage": 10.23, + "rating": 4.43, + "stock": 68, + "brand": "Microsoft Surface", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/8/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/8/1.jpg", + "https://i.dummyjson.com/data/products/8/2.jpg", + "https://i.dummyjson.com/data/products/8/3.jpg", + "https://i.dummyjson.com/data/products/8/4.jpg", + "https://i.dummyjson.com/data/products/8/thumbnail.jpg" + ], + "quantity": 1, + "user": 2, + "id": 1 + } + ], + "totalAmount": 1346, + "totalItems": 1, + "user": { + "email": "demo@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + } + ], + "id": 2 + }, + "paymentMethod": "card", + "selectedAddress": { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + }, + "status": "pending", + "id": 10 + }, + { + "items": [ + { + "title": "Microsoft Surface Laptop 4", + "description": "Style and speed. Stand out on HD video calls backed by Studio Mics. Capture ideas on the vibrant touchscreen.", + "price": 1499, + "discountPercentage": 10.23, + "rating": 4.43, + "stock": 68, + "brand": "Microsoft Surface", + "category": "laptops", + "thumbnail": "https://i.dummyjson.com/data/products/8/thumbnail.jpg", + "images": [ + "https://i.dummyjson.com/data/products/8/1.jpg", + "https://i.dummyjson.com/data/products/8/2.jpg", + "https://i.dummyjson.com/data/products/8/3.jpg", + "https://i.dummyjson.com/data/products/8/4.jpg", + "https://i.dummyjson.com/data/products/8/thumbnail.jpg" + ], + "quantity": 2, + "user": 2, + "id": 1 + } + ], + "totalAmount": 2692, + "totalItems": 2, + "user": { + "email": "demo@gmail.com", + "password": "Qwerty123", + "role": "user", + "addresses": [ + { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + } + ], + "id": 2 + }, + "paymentMethod": "cash", + "selectedAddress": { + "name": "Demo user", + "email": "demo@gmail.com", + "phone": "1234567788", + "street": "11th Main", + "city": "Mumbai", + "state": "Maharastra", + "pinCode": "220001" + }, + "status": "pending", + "id": 11 + } + ] +} From 598bfa5c4b18e9d73747417e49694907fdeb95c4 Mon Sep 17 00:00:00 2001 From: Murtaza Tankiwala <115138620+murtazatankiwala456@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:14:00 +0530 Subject: [PATCH 02/47] completed till fetching products from dummy api (from folder-static) --- src/features/navbar/Navbar.js | 58 +- .../product-list/components/ProductList.js | 466 ---- .../components/ProductDetail.js | 0 .../product/components/ProductList.js | 2222 +++++++++++++++++ .../{product-list => product}/productAPI.js | 0 .../{product-list => product}/productSlice.js | 0 src/pages/Home.js | 18 +- src/pages/ProductDetailPage.js | 18 +- 8 files changed, 2270 insertions(+), 512 deletions(-) delete mode 100644 src/features/product-list/components/ProductList.js rename src/features/{product-list => product}/components/ProductDetail.js (100%) create mode 100644 src/features/product/components/ProductList.js rename src/features/{product-list => product}/productAPI.js (100%) rename src/features/{product-list => product}/productSlice.js (100%) diff --git a/src/features/navbar/Navbar.js b/src/features/navbar/Navbar.js index e19db81..f265d79 100644 --- a/src/features/navbar/Navbar.js +++ b/src/features/navbar/Navbar.js @@ -1,30 +1,30 @@ -import { Fragment } from 'react'; -import { Disclosure, Menu, Transition } from '@headlessui/react'; +import { Fragment } from "react"; +import { Disclosure, Menu, Transition } from "@headlessui/react"; import { Bars3Icon, ShoppingCartIcon, XMarkIcon, -} from '@heroicons/react/24/outline'; -import { Link } from 'react-router-dom'; +} from "@heroicons/react/24/outline"; +import { Link } from "react-router-dom"; const user = { - name: 'Tom Cook', - email: 'tom@example.com', + name: "Tom Cook", + email: "tom@example.com", imageUrl: - 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80', + "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80", }; const navigation = [ - { name: 'Dashboard', href: '#', current: true }, - { name: 'Team', href: '#', current: false }, + { name: "Dashboard", href: "#", current: true }, + { name: "Team", href: "#", current: false }, ]; const userNavigation = [ - { name: 'Your Profile', href: '#' }, - { name: 'Settings', href: '#' }, - { name: 'Sign out', href: '#' }, + { name: "Your Profile", href: "#" }, + { name: "Settings", href: "#" }, + { name: "Sign out", href: "#" }, ]; function classNames(...classes) { - return classes.filter(Boolean).join(' '); + return classes.filter(Boolean).join(" "); } function NavBar({ children }) { @@ -38,11 +38,13 @@ function NavBar({ children }) {
- Your Company + + Your Company +
@@ -52,11 +54,11 @@ function NavBar({ children }) { href={item.href} className={classNames( item.current - ? 'bg-gray-900 text-white' - : 'text-gray-300 hover:bg-gray-700 hover:text-white', - 'rounded-md px-3 py-2 text-sm font-medium' + ? "bg-gray-900 text-white" + : "text-gray-300 hover:bg-gray-700 hover:text-white", + "rounded-md px-3 py-2 text-sm font-medium" )} - aria-current={item.current ? 'page' : undefined} + aria-current={item.current ? "page" : undefined} > {item.name} @@ -110,8 +112,8 @@ function NavBar({ children }) { {item.name} @@ -153,11 +155,11 @@ function NavBar({ children }) { href={item.href} className={classNames( item.current - ? 'bg-gray-900 text-white' - : 'text-gray-300 hover:bg-gray-700 hover:text-white', - 'block rounded-md px-3 py-2 text-base font-medium' + ? "bg-gray-900 text-white" + : "text-gray-300 hover:bg-gray-700 hover:text-white", + "block rounded-md px-3 py-2 text-base font-medium" )} - aria-current={item.current ? 'page' : undefined} + aria-current={item.current ? "page" : undefined} > {item.name} diff --git a/src/features/product-list/components/ProductList.js b/src/features/product-list/components/ProductList.js deleted file mode 100644 index a35ec77..0000000 --- a/src/features/product-list/components/ProductList.js +++ /dev/null @@ -1,466 +0,0 @@ -import React, { useState, Fragment } from 'react'; -import { useSelector, useDispatch } from 'react-redux'; -import { increment, incrementAsync, selectCount } from '../productSlice'; -import { Dialog, Disclosure, Menu, Transition } from '@headlessui/react'; -import { XMarkIcon } from '@heroicons/react/24/outline'; -import { ChevronLeftIcon, ChevronRightIcon } from '@heroicons/react/20/solid' -import { Link } from 'react-router-dom'; -import { - ChevronDownIcon, - FunnelIcon, - MinusIcon, - PlusIcon, - Squares2X2Icon, -} from '@heroicons/react/20/solid'; - -const sortOptions = [ - { name: 'Most Popular', href: '#', current: true }, - { name: 'Best Rating', href: '#', current: false }, - { name: 'Newest', href: '#', current: false }, - { name: 'Price: Low to High', href: '#', current: false }, - { name: 'Price: High to Low', href: '#', current: false }, -]; - -const filters = [ - { - id: 'color', - name: 'Color', - options: [ - { value: 'white', label: 'White', checked: false }, - { value: 'beige', label: 'Beige', checked: false }, - { value: 'blue', label: 'Blue', checked: true }, - { value: 'brown', label: 'Brown', checked: false }, - { value: 'green', label: 'Green', checked: false }, - { value: 'purple', label: 'Purple', checked: false }, - ], - }, - { - id: 'category', - name: 'Category', - options: [ - { value: 'new-arrivals', label: 'New Arrivals', checked: false }, - { value: 'sale', label: 'Sale', checked: false }, - { value: 'travel', label: 'Travel', checked: true }, - { value: 'organization', label: 'Organization', checked: false }, - { value: 'accessories', label: 'Accessories', checked: false }, - ], - }, - { - id: 'size', - name: 'Size', - options: [ - { value: '2l', label: '2L', checked: false }, - { value: '6l', label: '6L', checked: false }, - { value: '12l', label: '12L', checked: false }, - { value: '18l', label: '18L', checked: false }, - { value: '20l', label: '20L', checked: false }, - { value: '40l', label: '40L', checked: true }, - ], - }, -]; - -function classNames(...classes) { - return classes.filter(Boolean).join(' '); -} - -const products = [ - { - id: 1, - name: 'Basic Tee', - href: '#', - imageSrc: - 'https://tailwindui.com/img/ecommerce-images/product-page-01-related-product-01.jpg', - imageAlt: "Front of men's Basic Tee in black.", - price: '$35', - color: 'Black', - }, - { - id: 2, - name: 'Basic Tee', - href: '#', - imageSrc: - 'https://tailwindui.com/img/ecommerce-images/product-page-01-related-product-01.jpg', - imageAlt: "Front of men's Basic Tee in black.", - price: '$35', - color: 'Black', - }, - { - id: 3, - name: 'Basic Tee', - href: '#', - imageSrc: - 'https://tailwindui.com/img/ecommerce-images/product-page-01-related-product-01.jpg', - imageAlt: "Front of men's Basic Tee in black.", - price: '$35', - color: 'Black', - }, -]; - -export default function ProductList() { - const count = useSelector(selectCount); - const dispatch = useDispatch(); - const [mobileFiltersOpen, setMobileFiltersOpen] = useState(false); - - return ( -
-
- {/* Mobile filter dialog */} - - - -
- - -
- - -
-

- Filters -

- -
- - {/* Filters */} -
- {filters.map((section) => ( - - {({ open }) => ( - <> -

- - - {section.name} - - - {open ? ( - - -

- -
- {section.options.map((option, optionIdx) => ( -
- - -
- ))} -
-
- - )} -
- ))} -
-
-
-
-
-
- -
-
-

- All Products -

- -
- -
- - Sort - -
- - - -
- - -
- - - -
-
- -
-

- Products -

- -
- {/* Filters */} -
- {filters.map((section) => ( - - {({ open }) => ( - <> -

- - - {section.name} - - - {open ? ( - - -

- -
- {section.options.map((option, optionIdx) => ( -
- - -
- ))} -
-
- - )} -
- ))} -
- - {/* Product grid */} -
- {/* This is our products list */} -
-
-
- {products.map((product) => ( - -
-
- {product.imageAlt} -
-
-
-

- - -

-

- {product.color} -

-
-

- {product.price} -

-
-
- - ))} -
-
-
-
- {/* Product grid end */} -
-
- - {/* section of product and filters ends */} -
- -
-
-

- Showing 1 to{' '} - 10 of{' '} - 97 results -

-
-
- -
-
-
-
-
-
- ); -} diff --git a/src/features/product-list/components/ProductDetail.js b/src/features/product/components/ProductDetail.js similarity index 100% rename from src/features/product-list/components/ProductDetail.js rename to src/features/product/components/ProductDetail.js diff --git a/src/features/product/components/ProductList.js b/src/features/product/components/ProductList.js new file mode 100644 index 0000000..ab7896f --- /dev/null +++ b/src/features/product/components/ProductList.js @@ -0,0 +1,2222 @@ +import React, { useState, Fragment } from "react"; +import { useSelector, useDispatch } from "react-redux"; +import { increment, incrementAsync, selectCount } from "../productSlice"; +import { Dialog, Disclosure, Menu, Transition } from "@headlessui/react"; +import { StarIcon, XMarkIcon } from "@heroicons/react/24/outline"; +import { ChevronLeftIcon, ChevronRightIcon } from "@heroicons/react/20/solid"; +import { Link } from "react-router-dom"; +import { + ChevronDownIcon, + FunnelIcon, + MinusIcon, + PlusIcon, + Squares2X2Icon, +} from "@heroicons/react/20/solid"; + +const sortOptions = [ + { name: "Most Popular", href: "#", current: true }, + { name: "Best Rating", href: "#", current: false }, + { name: "Newest", href: "#", current: false }, + { name: "Price: Low to High", href: "#", current: false }, + { name: "Price: High to Low", href: "#", current: false }, +]; + +const filters = [ + { + id: "color", + name: "Color", + options: [ + { value: "white", label: "White", checked: false }, + { value: "beige", label: "Beige", checked: false }, + { value: "blue", label: "Blue", checked: true }, + { value: "brown", label: "Brown", checked: false }, + { value: "green", label: "Green", checked: false }, + { value: "purple", label: "Purple", checked: false }, + ], + }, + { + id: "category", + name: "Category", + options: [ + { value: "new-arrivals", label: "New Arrivals", checked: false }, + { value: "sale", label: "Sale", checked: false }, + { value: "travel", label: "Travel", checked: true }, + { value: "organization", label: "Organization", checked: false }, + { value: "accessories", label: "Accessories", checked: false }, + ], + }, + { + id: "size", + name: "Size", + options: [ + { value: "2l", label: "2L", checked: false }, + { value: "6l", label: "6L", checked: false }, + { value: "12l", label: "12L", checked: false }, + { value: "18l", label: "18L", checked: false }, + { value: "20l", label: "20L", checked: false }, + { value: "40l", label: "40L", checked: true }, + ], + }, +]; + +function classNames(...classes) { + return classes.filter(Boolean).join(" "); +} + +const products = [ + { + id: 1, + title: "Essence Mascara Lash Princess", + description: + "The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.", + category: "beauty", + price: 9.99, + discountPercentage: 7.17, + rating: 4.94, + stock: 5, + tags: ["beauty", "mascara"], + brand: "Essence", + sku: "RCH45Q1A", + weight: 2, + dimensions: { + width: 23.17, + height: 14.43, + depth: 28.01, + }, + warrantyInformation: "1 month warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "Low Stock", + reviews: [ + { + rating: 2, + comment: "Very unhappy with my purchase!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "John Doe", + reviewerEmail: "john.doe@x.dummyjson.com", + }, + { + rating: 2, + comment: "Not as described!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Nolan Gonzalez", + reviewerEmail: "nolan.gonzalez@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Scarlett Wright", + reviewerEmail: "scarlett.wright@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 24, + meta: { + createdAt: "2024-05-23T08:56:21.618Z", + updatedAt: "2024-05-23T08:56:21.618Z", + barcode: "9164035109868", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png", + }, + { + id: 2, + title: "Eyeshadow Palette with Mirror", + description: + "The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.", + category: "beauty", + price: 19.99, + discountPercentage: 5.5, + rating: 3.28, + stock: 44, + tags: ["beauty", "eyeshadow"], + brand: "Glamour Beauty", + sku: "MVCFH27F", + weight: 3, + dimensions: { + width: 12.42, + height: 8.63, + depth: 29.13, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Liam Garcia", + reviewerEmail: "liam.garcia@x.dummyjson.com", + }, + { + rating: 1, + comment: "Very disappointed!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Nora Russell", + reviewerEmail: "nora.russell@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Elena Baker", + reviewerEmail: "elena.baker@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 32, + meta: { + createdAt: "2024-05-23T08:56:21.618Z", + updatedAt: "2024-05-23T08:56:21.618Z", + barcode: "2817839095220", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png", + }, + { + id: 3, + title: "Powder Canister", + description: + "The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.", + category: "beauty", + price: 14.99, + discountPercentage: 18.14, + rating: 3.82, + stock: 59, + tags: ["beauty", "face powder"], + brand: "Velvet Touch", + sku: "9EN8WLT2", + weight: 8, + dimensions: { + width: 24.16, + height: 10.7, + depth: 11.07, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Ethan Thompson", + reviewerEmail: "ethan.thompson@x.dummyjson.com", + }, + { + rating: 4, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Levi Hicks", + reviewerEmail: "levi.hicks@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Hazel Gardner", + reviewerEmail: "hazel.gardner@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 25, + meta: { + createdAt: "2024-05-23T08:56:21.618Z", + updatedAt: "2024-05-23T08:56:21.618Z", + barcode: "0516267971277", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/thumbnail.png", + }, + { + id: 4, + title: "Red Lipstick", + description: + "The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.", + category: "beauty", + price: 12.99, + discountPercentage: 19.03, + rating: 2.51, + stock: 68, + tags: ["beauty", "lipstick"], + brand: "Chic Cosmetics", + sku: "O5IF1NTA", + weight: 5, + dimensions: { + width: 14.37, + height: 13.94, + depth: 14.6, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Oscar Powers", + reviewerEmail: "oscar.powers@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Carter Rivera", + reviewerEmail: "carter.rivera@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 6, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "9444582199406", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png", + }, + { + id: 5, + title: "Red Nail Polish", + description: + "The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.", + category: "beauty", + price: 8.99, + discountPercentage: 2.46, + rating: 3.91, + stock: 71, + tags: ["beauty", "nail polish"], + brand: "Nail Couture", + sku: "YUIIIP4W", + weight: 9, + dimensions: { + width: 8.11, + height: 10.89, + depth: 29.06, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 1 week", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Evan Reed", + reviewerEmail: "evan.reed@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Evelyn Sanchez", + reviewerEmail: "evelyn.sanchez@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 46, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "3212847902461", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png", + }, + { + id: 6, + title: "Calvin Klein CK One", + description: + "CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.", + category: "fragrances", + price: 49.99, + discountPercentage: 0.32, + rating: 4.85, + stock: 17, + tags: ["fragrances", "perfumes"], + brand: "Calvin Klein", + sku: "DZM2JQZE", + weight: 5, + dimensions: { + width: 11.53, + height: 14.44, + depth: 6.81, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Sophia Brown", + reviewerEmail: "sophia.brown@x.dummyjson.com", + }, + { + rating: 3, + comment: "Very disappointed!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + { + rating: 1, + comment: "Poor quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Maya Reed", + reviewerEmail: "maya.reed@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 20, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "2210136215089", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png", + }, + { + id: 7, + title: "Chanel Coco Noir Eau De", + description: + "Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.", + category: "fragrances", + price: 129.99, + discountPercentage: 18.64, + rating: 2.76, + stock: 41, + tags: ["fragrances", "perfumes"], + brand: "Chanel", + sku: "K71HBCGS", + weight: 4, + dimensions: { + width: 21.27, + height: 28, + depth: 11.89, + }, + warrantyInformation: "1 week warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 1, + comment: "Disappointing product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Lincoln Kelly", + reviewerEmail: "lincoln.kelly@x.dummyjson.com", + }, + { + rating: 4, + comment: "Great product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Lincoln Kelly", + reviewerEmail: "lincoln.kelly@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Lucas Allen", + reviewerEmail: "lucas.allen@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 5, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "1435582999795", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/thumbnail.png", + }, + { + id: 8, + title: "Dior J'adore", + description: + "J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.", + category: "fragrances", + price: 89.99, + discountPercentage: 17.44, + rating: 3.31, + stock: 91, + tags: ["fragrances", "perfumes"], + brand: "Dior", + sku: "E70NB03B", + weight: 10, + dimensions: { + width: 21.51, + height: 7, + depth: 26.51, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Zoe Nicholson", + reviewerEmail: "zoe.nicholson@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Addison Wright", + reviewerEmail: "addison.wright@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Clara Berry", + reviewerEmail: "clara.berry@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 8, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "0887083199279", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png", + }, + { + id: 9, + title: "Dolce Shine Eau de", + description: + "Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.", + category: "fragrances", + price: 69.99, + discountPercentage: 11.47, + rating: 2.68, + stock: 3, + tags: ["fragrances", "perfumes"], + brand: "Dolce & Gabbana", + sku: "1NBFK980", + weight: 5, + dimensions: { + width: 17, + height: 24.57, + depth: 13.3, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "Low Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Xavier Wright", + reviewerEmail: "xavier.wright@x.dummyjson.com", + }, + { + rating: 1, + comment: "Poor quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Mila Hernandez", + reviewerEmail: "mila.hernandez@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Sophia Brown", + reviewerEmail: "sophia.brown@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 9, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "1939383392674", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/thumbnail.png", + }, + { + id: 10, + title: "Gucci Bloom Eau de", + description: + "Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.", + category: "fragrances", + price: 79.99, + discountPercentage: 8.9, + rating: 2.69, + stock: 93, + tags: ["fragrances", "perfumes"], + brand: "Gucci", + sku: "FFKZ6HOF", + weight: 10, + dimensions: { + width: 22.28, + height: 17.81, + depth: 27.18, + }, + warrantyInformation: "No warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Aria Parker", + reviewerEmail: "aria.parker@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Natalie Harris", + reviewerEmail: "natalie.harris@x.dummyjson.com", + }, + { + rating: 4, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ava Harris", + reviewerEmail: "ava.harris@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 10, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8232190382069", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/thumbnail.png", + }, + { + id: 11, + title: "Annibale Colombo Bed", + description: + "The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.", + category: "furniture", + price: 1899.99, + discountPercentage: 0.29, + rating: 4.14, + stock: 47, + tags: ["furniture", "beds"], + brand: "Annibale Colombo", + sku: "4KMDTZWF", + weight: 3, + dimensions: { + width: 28.75, + height: 26.88, + depth: 24.47, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Julian Newton", + reviewerEmail: "julian.newton@x.dummyjson.com", + }, + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Clara Berry", + reviewerEmail: "clara.berry@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7113807059215", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png", + }, + { + id: 12, + title: "Annibale Colombo Sofa", + description: + "The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.", + category: "furniture", + price: 2499.99, + discountPercentage: 18.54, + rating: 3.08, + stock: 16, + tags: ["furniture", "sofas"], + brand: "Annibale Colombo", + sku: "LUU95CQP", + weight: 3, + dimensions: { + width: 20.97, + height: 19.11, + depth: 25.81, + }, + warrantyInformation: "1 month warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Tyler Davis", + reviewerEmail: "tyler.davis@x.dummyjson.com", + }, + { + rating: 5, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Hannah Robinson", + reviewerEmail: "hannah.robinson@x.dummyjson.com", + }, + { + rating: 3, + comment: "Waste of money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0426785817074", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/thumbnail.png", + }, + { + id: 13, + title: "Bedside Table African Cherry", + description: + "The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.", + category: "furniture", + price: 299.99, + discountPercentage: 9.58, + rating: 4.48, + stock: 16, + tags: ["furniture", "bedside tables"], + brand: "Furniture Co.", + sku: "OWPLTZYX", + weight: 10, + dimensions: { + width: 25.43, + height: 20.2, + depth: 24.95, + }, + warrantyInformation: "6 months warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "John Doe", + reviewerEmail: "john.doe@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Avery Carter", + reviewerEmail: "avery.carter@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Evelyn Sanchez", + reviewerEmail: "evelyn.sanchez@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 5, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "2913244159666", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/thumbnail.png", + }, + { + id: 14, + title: "Knoll Saarinen Executive Conference Chair", + description: + "The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.", + category: "furniture", + price: 499.99, + discountPercentage: 15.23, + rating: 4.11, + stock: 47, + tags: ["furniture", "office chairs"], + brand: "Knoll", + sku: "RKHVJ4FE", + weight: 3, + dimensions: { + width: 16.59, + height: 21.46, + depth: 29.07, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 3-5 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Leah Gutierrez", + reviewerEmail: "leah.gutierrez@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Nolan Gonzalez", + reviewerEmail: "nolan.gonzalez@x.dummyjson.com", + }, + { + rating: 2, + comment: "Waste of money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Stella Morris", + reviewerEmail: "stella.morris@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 5, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0726316339746", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/thumbnail.png", + }, + { + id: 15, + title: "Wooden Bathroom Sink With Mirror", + description: + "The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.", + category: "furniture", + price: 799.99, + discountPercentage: 11.22, + rating: 3.26, + stock: 95, + tags: ["furniture", "bathroom"], + brand: "Bath Trends", + sku: "7OLTIEVO", + weight: 6, + dimensions: { + width: 7.32, + height: 22.64, + depth: 12.37, + }, + warrantyInformation: "6 months warranty", + shippingInformation: "Ships in 3-5 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Charlotte Lopez", + reviewerEmail: "charlotte.lopez@x.dummyjson.com", + }, + { + rating: 1, + comment: "Would not recommend!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "William Gonzalez", + reviewerEmail: "william.gonzalez@x.dummyjson.com", + }, + { + rating: 2, + comment: "Not worth the price!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ava Harrison", + reviewerEmail: "ava.harrison@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7839797529453", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/thumbnail.png", + }, + { + id: 16, + title: "Apple", + description: + "Fresh and crisp apples, perfect for snacking or incorporating into various recipes.", + category: "groceries", + price: 1.99, + discountPercentage: 1.97, + rating: 2.96, + stock: 9, + tags: ["fruits"], + sku: "QTROUV79", + weight: 8, + dimensions: { + width: 8.29, + height: 5.58, + depth: 12.41, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Logan Lee", + reviewerEmail: "logan.lee@x.dummyjson.com", + }, + { + rating: 4, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Elena Long", + reviewerEmail: "elena.long@x.dummyjson.com", + }, + { + rating: 1, + comment: "Not as described!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Grayson Coleman", + reviewerEmail: "grayson.coleman@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 44, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "2517819903837", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Apple/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png", + }, + { + id: 17, + title: "Beef Steak", + description: + "High-quality beef steak, great for grilling or cooking to your preferred level of doneness.", + category: "groceries", + price: 12.99, + discountPercentage: 17.99, + rating: 2.83, + stock: 96, + tags: ["meat"], + sku: "BWWA2MSO", + weight: 9, + dimensions: { + width: 23.35, + height: 13.48, + depth: 26.4, + }, + warrantyInformation: "1 month warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ethan Martinez", + reviewerEmail: "ethan.martinez@x.dummyjson.com", + }, + { + rating: 3, + comment: "Disappointing product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Owen Fisher", + reviewerEmail: "owen.fisher@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Scarlett Wright", + reviewerEmail: "scarlett.wright@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 21, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8335515097879", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/thumbnail.png", + }, + { + id: 18, + title: "Cat Food", + description: + "Nutritious cat food formulated to meet the dietary needs of your feline friend.", + category: "groceries", + price: 8.99, + discountPercentage: 9.57, + rating: 2.88, + stock: 13, + tags: ["pet supplies", "cat food"], + sku: "C3F8QN6O", + weight: 9, + dimensions: { + width: 15.4, + height: 13.97, + depth: 25.13, + }, + warrantyInformation: "3 months warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mateo Bennett", + reviewerEmail: "mateo.bennett@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Aurora Barnes", + reviewerEmail: "aurora.barnes@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ellie Stewart", + reviewerEmail: "ellie.stewart@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 48, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "5503491330693", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png", + }, + { + id: 19, + title: "Chicken Meat", + description: + "Fresh and tender chicken meat, suitable for various culinary preparations.", + category: "groceries", + price: 9.99, + discountPercentage: 10.46, + rating: 4.61, + stock: 69, + tags: ["meat"], + sku: "G5YEHW7B", + weight: 7, + dimensions: { + width: 15.96, + height: 29.24, + depth: 26.25, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Sophia Jones", + reviewerEmail: "sophia.jones@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Maya Reed", + reviewerEmail: "maya.reed@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Harper Turner", + reviewerEmail: "harper.turner@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 46, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0966223559510", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/1.png", + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/2.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png", + }, + { + id: 20, + title: "Cooking Oil", + description: + "Versatile cooking oil suitable for frying, sautéing, and various culinary applications.", + category: "groceries", + price: 4.99, + discountPercentage: 18.89, + rating: 4.01, + stock: 22, + tags: ["cooking essentials"], + sku: "Q6ZP1UY8", + weight: 8, + dimensions: { + width: 8.18, + height: 27.45, + depth: 27.88, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mason Parker", + reviewerEmail: "mason.parker@x.dummyjson.com", + }, + { + rating: 3, + comment: "Poor quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Jonathan Pierce", + reviewerEmail: "jonathan.pierce@x.dummyjson.com", + }, + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Alexander Hernandez", + reviewerEmail: "alexander.hernandez@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 2, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "6707669443381", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png", + }, + { + id: 21, + title: "Cucumber", + description: + "Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.", + category: "groceries", + price: 1.49, + discountPercentage: 11.44, + rating: 4.71, + stock: 22, + tags: ["vegetables"], + sku: "6KGF2K6Z", + weight: 9, + dimensions: { + width: 11.04, + height: 20.5, + depth: 8.18, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Elijah Hill", + reviewerEmail: "elijah.hill@x.dummyjson.com", + }, + { + rating: 5, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Liam Garcia", + reviewerEmail: "liam.garcia@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ella Cook", + reviewerEmail: "ella.cook@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 7, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "2597004869708", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Cucumber/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Cucumber/thumbnail.png", + }, + { + id: 22, + title: "Dog Food", + description: + "Specially formulated dog food designed to provide essential nutrients for your canine companion.", + category: "groceries", + price: 10.99, + discountPercentage: 18.15, + rating: 2.74, + stock: 40, + tags: ["pet supplies", "dog food"], + sku: "A6QRCH37", + weight: 2, + dimensions: { + width: 29.39, + height: 29.77, + depth: 20.54, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Alexander Jones", + reviewerEmail: "alexander.jones@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Addison Wright", + reviewerEmail: "addison.wright@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 29, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7957222289508", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/thumbnail.png", + }, + { + id: 23, + title: "Eggs", + description: + "Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.", + category: "groceries", + price: 2.99, + discountPercentage: 5.8, + rating: 4.46, + stock: 10, + tags: ["dairy"], + sku: "YA617RI7", + weight: 4, + dimensions: { + width: 12.3, + height: 10.99, + depth: 15.53, + }, + warrantyInformation: "3 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 2, + comment: "Very unhappy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mateo Perez", + reviewerEmail: "mateo.perez@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Cameron Perez", + reviewerEmail: "cameron.perez@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Aurora Barnes", + reviewerEmail: "aurora.barnes@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 43, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7095702028776", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Eggs/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Eggs/thumbnail.png", + }, + { + id: 24, + title: "Fish Steak", + description: + "Quality fish steak, suitable for grilling, baking, or pan-searing.", + category: "groceries", + price: 14.99, + discountPercentage: 7, + rating: 4.83, + stock: 99, + tags: ["seafood"], + sku: "XNIH1MTA", + weight: 8, + dimensions: { + width: 20.14, + height: 8.4, + depth: 10.01, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Michael Johnson", + reviewerEmail: "michael.johnson@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Julian Newton", + reviewerEmail: "julian.newton@x.dummyjson.com", + }, + { + rating: 5, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Lila Hudson", + reviewerEmail: "lila.hudson@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 49, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "4250692197342", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png", + }, + { + id: 25, + title: "Green Bell Pepper", + description: + "Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.", + category: "groceries", + price: 1.29, + discountPercentage: 15.5, + rating: 4.28, + stock: 89, + tags: ["vegetables"], + sku: "HU7S7VQ0", + weight: 7, + dimensions: { + width: 7.32, + height: 14.31, + depth: 21.38, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Maya Reed", + reviewerEmail: "maya.reed@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ethan Thompson", + reviewerEmail: "ethan.thompson@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7583442707568", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png", + }, + { + id: 26, + title: "Green Chili Pepper", + description: + "Spicy green chili pepper, ideal for adding heat to your favorite recipes.", + category: "groceries", + price: 0.99, + discountPercentage: 18.51, + rating: 4.43, + stock: 8, + tags: ["vegetables"], + sku: "Y4RM3JCB", + weight: 2, + dimensions: { + width: 18.67, + height: 21.17, + depth: 25.26, + }, + warrantyInformation: "No warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 2, + comment: "Disappointing product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mateo Bennett", + reviewerEmail: "mateo.bennett@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Natalie Price", + reviewerEmail: "natalie.price@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Avery Barnes", + reviewerEmail: "avery.barnes@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 43, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8400326844874", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png", + }, + { + id: 27, + title: "Honey Jar", + description: + "Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.", + category: "groceries", + price: 6.99, + discountPercentage: 1.91, + rating: 3.5, + stock: 25, + tags: ["condiments"], + sku: "BTBNIIOU", + weight: 9, + dimensions: { + width: 26.53, + height: 27.11, + depth: 6.63, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Nicholas Bailey", + reviewerEmail: "nicholas.bailey@x.dummyjson.com", + }, + { + rating: 5, + comment: "Awesome product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Gabriel Hayes", + reviewerEmail: "gabriel.hayes@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "James Garcia", + reviewerEmail: "james.garcia@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0668665656044", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/thumbnail.png", + }, + { + id: 28, + title: "Ice Cream", + description: + "Creamy and delicious ice cream, available in various flavors for a delightful treat.", + category: "groceries", + price: 5.49, + discountPercentage: 7.58, + rating: 3.77, + stock: 76, + tags: ["desserts"], + sku: "VEZMU1EQ", + weight: 5, + dimensions: { + width: 17.66, + height: 24.49, + depth: 25.98, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Elena Baker", + reviewerEmail: "elena.baker@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madeline Simpson", + reviewerEmail: "madeline.simpson@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Caleb Nelson", + reviewerEmail: "caleb.nelson@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 19, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "9603960319256", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/1.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/2.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/3.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/4.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png", + }, + { + id: 29, + title: "Juice", + description: + "Refreshing fruit juice, packed with vitamins and great for staying hydrated.", + category: "groceries", + price: 3.99, + discountPercentage: 5.45, + rating: 3.41, + stock: 99, + tags: ["beverages"], + sku: "M2K19S06", + weight: 2, + dimensions: { + width: 8.97, + height: 12.26, + depth: 15.05, + }, + warrantyInformation: "1 week warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 2, + comment: "Not worth the price!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ethan Martinez", + reviewerEmail: "ethan.martinez@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Max Parker", + reviewerEmail: "max.parker@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 26, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8546824122355", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Juice/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Juice/thumbnail.png", + }, + { + id: 30, + title: "Kiwi", + description: + "Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.", + category: "groceries", + price: 2.49, + discountPercentage: 10.32, + rating: 4.37, + stock: 1, + tags: ["fruits"], + sku: "0X3NORB9", + weight: 8, + dimensions: { + width: 27.3, + height: 7.48, + depth: 15.08, + }, + warrantyInformation: "6 months warranty", + shippingInformation: "Ships in 3-5 business days", + availabilityStatus: "Low Stock", + reviews: [ + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Nora Russell", + reviewerEmail: "nora.russell@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Dylan Wells", + reviewerEmail: "dylan.wells@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Noah Hernandez", + reviewerEmail: "noah.hernandez@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 8, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "3325493172934", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Kiwi/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png", + }, +]; + +export default function ProductList() { + const count = useSelector(selectCount); + const dispatch = useDispatch(); + const [mobileFiltersOpen, setMobileFiltersOpen] = useState(false); + + return ( +
+
+ {/* Mobile filter dialog */} + + + +
+ + +
+ + +
+

+ Filters +

+ +
+ + {/* Filters */} +
+ {filters.map((section) => ( + + {({ open }) => ( + <> +

+ + + {section.name} + + + {open ? ( + + +

+ +
+ {section.options.map((option, optionIdx) => ( +
+ + +
+ ))} +
+
+ + )} +
+ ))} +
+
+
+
+
+
+ +
+
+

+ All Products +

+ +
+ +
+ + Sort + +
+ + + +
+ {sortOptions.map((option) => ( + + {({ active }) => ( + + {option.name} + + )} + + ))} +
+
+
+
+ + + +
+
+ +
+

+ Products +

+ +
+ {/* Filters */} +
+ {filters.map((section) => ( + + {({ open }) => ( + <> +

+ + + {section.name} + + + {open ? ( + + +

+ +
+ {section.options.map((option, optionIdx) => ( +
+ + +
+ ))} +
+
+ + )} +
+ ))} +
+ + {/* Product grid */} +
+ {/* This is our products list */} +
+
+
+ {products.map((product) => ( + +
+
+ {product.title} +
+
+
+

+ + +

+

+ + + {product.rating} + +

+
+
+

+ $ + {Math.round( + product.price * + (1 - product.discountPercentage / 100) + )} +

+ ${product.price} +

+

+
+
+
+ + ))} +
+
+
+
+ {/* Product grid end */} +
+
+ + {/* section of product and filters ends */} +
+ +
+
+

+ Showing 1 to{" "} + 10 of{" "} + 97 results +

+
+
+ +
+
+
+
+
+
+ ); +} diff --git a/src/features/product-list/productAPI.js b/src/features/product/productAPI.js similarity index 100% rename from src/features/product-list/productAPI.js rename to src/features/product/productAPI.js diff --git a/src/features/product-list/productSlice.js b/src/features/product/productSlice.js similarity index 100% rename from src/features/product-list/productSlice.js rename to src/features/product/productSlice.js diff --git a/src/pages/Home.js b/src/pages/Home.js index 566c4ac..d90c690 100644 --- a/src/pages/Home.js +++ b/src/pages/Home.js @@ -1,14 +1,14 @@ import NavBar from "../features/navbar/Navbar"; -import ProductList from "../features/product-list/components/ProductList"; +import ProductList from "../features/product/components/ProductList"; function Home() { - return ( -
- - - -
- ); + return ( +
+ + + +
+ ); } -export default Home; \ No newline at end of file +export default Home; diff --git a/src/pages/ProductDetailPage.js b/src/pages/ProductDetailPage.js index 1d93ac5..0f831e7 100644 --- a/src/pages/ProductDetailPage.js +++ b/src/pages/ProductDetailPage.js @@ -1,13 +1,13 @@ import NavBar from "../features/navbar/Navbar"; -import ProductDetail from "../features/product-list/components/ProductDetail"; +import ProductDetail from "../features/product/components/ProductDetail"; function ProductDetailPage() { - return ( -
- - - -
- ); + return ( +
+ + + +
+ ); } -export default ProductDetailPage; \ No newline at end of file +export default ProductDetailPage; From 9e6097766718393aa9a5ce20e89fc7cb9c3bfa91 Mon Sep 17 00:00:00 2001 From: Murtaza Tankiwala <115138620+murtazatankiwala456@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:44:40 +0530 Subject: [PATCH 03/47] fetching products through json-server using redux toolkit --- data.json | 4542 ++++++----------- src/app/store.js | 6 +- .../product/components/ProductList.js | 1785 +------ src/features/product/productAPI.js | 14 +- src/features/product/productSlice.js | 36 +- 5 files changed, 1610 insertions(+), 4773 deletions(-) diff --git a/data.json b/data.json index 500b5f3..20bff00 100644 --- a/data.json +++ b/data.json @@ -2,3114 +2,1722 @@ "products": [ { "id": 1, - "title": "iPhone 9", - "description": "An apple mobile which is nothing like apple", - "price": 993, - "discountPercentage": 12.96, - "rating": 0, - "stock": 0, - "brand": "Apple", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/1/thumbnail.jpg", + "title": "Essence Mascara Lash Princess", + "description": "The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.", + "category": "beauty", + "price": 9.99, + "discountPercentage": 7.17, + "rating": 4.94, + "stock": 5, + "tags": ["beauty", "mascara"], + "brand": "Essence", + "sku": "RCH45Q1A", + "weight": 2, + "dimensions": { + "width": 23.17, + "height": 14.43, + "depth": 28.01 + }, + "warrantyInformation": "1 month warranty", + "shippingInformation": "Ships in 1 month", + "availabilityStatus": "Low Stock", + "reviews": [ + { + "rating": 2, + "comment": "Very unhappy with my purchase!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "John Doe", + "reviewerEmail": "john.doe@x.dummyjson.com" + }, + { + "rating": 2, + "comment": "Not as described!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Nolan Gonzalez", + "reviewerEmail": "nolan.gonzalez@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Scarlett Wright", + "reviewerEmail": "scarlett.wright@x.dummyjson.com" + } + ], + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 24, + "meta": { + "createdAt": "2024-05-23T08:56:21.618Z", + "updatedAt": "2024-05-23T08:56:21.618Z", + "barcode": "9164035109868", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/1/1.jpg", - "https://i.dummyjson.com/data/products/1/2.jpg", - "https://i.dummyjson.com/data/products/1/3.jpg", - "https://i.dummyjson.com/data/products/1/thumbnail.jpg" + "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/1.png" ], - "deleted": true + "thumbnail": "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png" }, { "id": 2, - "title": "iPhone X", - "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", - "price": 1111, - "discountPercentage": 17.94, - "rating": 0, - "stock": 34, - "brand": "Apple", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", + "title": "Eyeshadow Palette with Mirror", + "description": "The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.", + "category": "beauty", + "price": 19.99, + "discountPercentage": 5.5, + "rating": 3.28, + "stock": 44, + "tags": ["beauty", "eyeshadow"], + "brand": "Glamour Beauty", + "sku": "MVCFH27F", + "weight": 3, + "dimensions": { + "width": 12.42, + "height": 8.63, + "depth": 29.13 + }, + "warrantyInformation": "1 year warranty", + "shippingInformation": "Ships in 2 weeks", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Liam Garcia", + "reviewerEmail": "liam.garcia@x.dummyjson.com" + }, + { + "rating": 1, + "comment": "Very disappointed!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Nora Russell", + "reviewerEmail": "nora.russell@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Highly impressed!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Elena Baker", + "reviewerEmail": "elena.baker@x.dummyjson.com" + } + ], + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 32, + "meta": { + "createdAt": "2024-05-23T08:56:21.618Z", + "updatedAt": "2024-05-23T08:56:21.618Z", + "barcode": "2817839095220", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/2/1.jpg", - "https://i.dummyjson.com/data/products/2/2.jpg", - "https://i.dummyjson.com/data/products/2/3.jpg", - "https://i.dummyjson.com/data/products/2/thumbnail.jpg" + "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/1.png" ], - "deleted": true + "thumbnail": "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png" }, { "id": 3, - "title": "Samsung Universe 9", - "description": "Samsung's new variant which goes beyond Galaxy to the Universe", - "price": 1249, - "discountPercentage": 15.46, - "rating": 4.09, - "stock": 36, - "brand": "Samsung", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", - "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], - "deleted": true + "title": "Powder Canister", + "description": "The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.", + "category": "beauty", + "price": 14.99, + "discountPercentage": 18.14, + "rating": 3.82, + "stock": 59, + "tags": ["beauty", "face powder"], + "brand": "Velvet Touch", + "sku": "9EN8WLT2", + "weight": 8, + "dimensions": { + "width": 24.16, + "height": 10.7, + "depth": 11.07 + }, + "warrantyInformation": "2 year warranty", + "shippingInformation": "Ships in 1-2 business days", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Ethan Thompson", + "reviewerEmail": "ethan.thompson@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Great value for money!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Levi Hicks", + "reviewerEmail": "levi.hicks@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Highly impressed!", + "date": "2024-05-23T08:56:21.618Z", + "reviewerName": "Hazel Gardner", + "reviewerEmail": "hazel.gardner@x.dummyjson.com" + } + ], + "returnPolicy": "60 days return policy", + "minimumOrderQuantity": 25, + "meta": { + "createdAt": "2024-05-23T08:56:21.618Z", + "updatedAt": "2024-05-23T08:56:21.618Z", + "barcode": "0516267971277", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, + "images": [ + "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/thumbnail.png" }, { "id": 4, - "title": "OPPOF19", - "description": "OPPO F19 is officially announced on April 2021.", - "price": 300, - "discountPercentage": 17.91, - "rating": 0, - "stock": 123, - "brand": "OPPO", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/4/thumbnail.jpg", + "title": "Red Lipstick", + "description": "The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.", + "category": "beauty", + "price": 12.99, + "discountPercentage": 19.03, + "rating": 2.51, + "stock": 68, + "tags": ["beauty", "lipstick"], + "brand": "Chic Cosmetics", + "sku": "O5IF1NTA", + "weight": 5, + "dimensions": { + "width": 14.37, + "height": 13.94, + "depth": 14.6 + }, + "warrantyInformation": "Lifetime warranty", + "shippingInformation": "Ships in 2 weeks", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Great product!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Leo Rivera", + "reviewerEmail": "leo.rivera@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Oscar Powers", + "reviewerEmail": "oscar.powers@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Carter Rivera", + "reviewerEmail": "carter.rivera@x.dummyjson.com" + } + ], + "returnPolicy": "90 days return policy", + "minimumOrderQuantity": 6, + "meta": { + "createdAt": "2024-05-23T08:56:21.619Z", + "updatedAt": "2024-05-23T08:56:21.619Z", + "barcode": "9444582199406", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/4/1.jpg", - "https://i.dummyjson.com/data/products/4/2.jpg", - "https://i.dummyjson.com/data/products/4/3.jpg", - "https://i.dummyjson.com/data/products/4/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png" }, { "id": 5, - "title": "Huawei P30", - "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", - "price": 499, - "discountPercentage": 10.58, - "rating": 4.09, - "stock": 32, - "brand": "Huawei", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", + "title": "Red Nail Polish", + "description": "The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.", + "category": "beauty", + "price": 8.99, + "discountPercentage": 2.46, + "rating": 3.91, + "stock": 71, + "tags": ["beauty", "nail polish"], + "brand": "Nail Couture", + "sku": "YUIIIP4W", + "weight": 9, + "dimensions": { + "width": 8.11, + "height": 10.89, + "depth": 29.06 + }, + "warrantyInformation": "1 year warranty", + "shippingInformation": "Ships in 1 week", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Leo Rivera", + "reviewerEmail": "leo.rivera@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Great product!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Evan Reed", + "reviewerEmail": "evan.reed@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Highly recommended!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Evelyn Sanchez", + "reviewerEmail": "evelyn.sanchez@x.dummyjson.com" + } + ], + "returnPolicy": "No return policy", + "minimumOrderQuantity": 46, + "meta": { + "createdAt": "2024-05-23T08:56:21.619Z", + "updatedAt": "2024-05-23T08:56:21.619Z", + "barcode": "3212847902461", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/5/1.jpg", - "https://i.dummyjson.com/data/products/5/2.jpg", - "https://i.dummyjson.com/data/products/5/3.jpg" - ] + "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png" }, { "id": 6, - "title": "MacBook Pro", - "description": "MacBook Pro 2021 with mini-LED display may launch between September, November", - "price": 1999, - "discountPercentage": 11.02, - "rating": 0, - "stock": 83, - "brand": "Apple", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/6/thumbnail.png", + "title": "Calvin Klein CK One", + "description": "CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.", + "category": "fragrances", + "price": 49.99, + "discountPercentage": 0.32, + "rating": 4.85, + "stock": 17, + "tags": ["fragrances", "perfumes"], + "brand": "Calvin Klein", + "sku": "DZM2JQZE", + "weight": 5, + "dimensions": { + "width": 11.53, + "height": 14.44, + "depth": 6.81 + }, + "warrantyInformation": "5 year warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Great value for money!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Sophia Brown", + "reviewerEmail": "sophia.brown@x.dummyjson.com" + }, + { + "rating": 3, + "comment": "Very disappointed!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Madison Collins", + "reviewerEmail": "madison.collins@x.dummyjson.com" + }, + { + "rating": 1, + "comment": "Poor quality!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Maya Reed", + "reviewerEmail": "maya.reed@x.dummyjson.com" + } + ], + "returnPolicy": "No return policy", + "minimumOrderQuantity": 20, + "meta": { + "createdAt": "2024-05-23T08:56:21.619Z", + "updatedAt": "2024-05-23T08:56:21.619Z", + "barcode": "2210136215089", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/6/1.png", - "https://i.dummyjson.com/data/products/6/2.jpg", - "https://i.dummyjson.com/data/products/6/3.png", - "https://i.dummyjson.com/data/products/6/thumbnail.png" - ] + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png" }, { "id": 7, - "title": "Samsung Galaxy Book", - "description": "Samsung Galaxy Book S (2020) Laptop With Intel Lakefield Chip, 8GB of RAM Launched", - "price": 1499, - "discountPercentage": 4.15, - "rating": 4.25, - "stock": 50, - "brand": "Samsung", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/7/thumbnail.jpg", + "title": "Chanel Coco Noir Eau De", + "description": "Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.", + "category": "fragrances", + "price": 129.99, + "discountPercentage": 18.64, + "rating": 2.76, + "stock": 41, + "tags": ["fragrances", "perfumes"], + "brand": "Chanel", + "sku": "K71HBCGS", + "weight": 4, + "dimensions": { + "width": 21.27, + "height": 28, + "depth": 11.89 + }, + "warrantyInformation": "1 week warranty", + "shippingInformation": "Ships in 1 month", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 1, + "comment": "Disappointing product!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Lincoln Kelly", + "reviewerEmail": "lincoln.kelly@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Great product!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Lincoln Kelly", + "reviewerEmail": "lincoln.kelly@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Lucas Allen", + "reviewerEmail": "lucas.allen@x.dummyjson.com" + } + ], + "returnPolicy": "60 days return policy", + "minimumOrderQuantity": 5, + "meta": { + "createdAt": "2024-05-23T08:56:21.619Z", + "updatedAt": "2024-05-23T08:56:21.619Z", + "barcode": "1435582999795", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/7/1.jpg", - "https://i.dummyjson.com/data/products/7/2.jpg", - "https://i.dummyjson.com/data/products/7/3.jpg", - "https://i.dummyjson.com/data/products/7/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/thumbnail.png" }, { "id": 8, - "title": "Microsoft Surface Laptop 4", - "description": "Style and speed. Stand out on HD video calls backed by Studio Mics. Capture ideas on the vibrant touchscreen.", - "price": 1499, - "discountPercentage": 10.23, - "rating": 4.43, - "stock": 68, - "brand": "Microsoft Surface", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/8/thumbnail.jpg", + "title": "Dior J'adore", + "description": "J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.", + "category": "fragrances", + "price": 89.99, + "discountPercentage": 17.44, + "rating": 3.31, + "stock": 91, + "tags": ["fragrances", "perfumes"], + "brand": "Dior", + "sku": "E70NB03B", + "weight": 10, + "dimensions": { + "width": 21.51, + "height": 7, + "depth": 26.51 + }, + "warrantyInformation": "Lifetime warranty", + "shippingInformation": "Ships in 2 weeks", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Fast shipping!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Zoe Nicholson", + "reviewerEmail": "zoe.nicholson@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Addison Wright", + "reviewerEmail": "addison.wright@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Clara Berry", + "reviewerEmail": "clara.berry@x.dummyjson.com" + } + ], + "returnPolicy": "7 days return policy", + "minimumOrderQuantity": 8, + "meta": { + "createdAt": "2024-05-23T08:56:21.619Z", + "updatedAt": "2024-05-23T08:56:21.619Z", + "barcode": "0887083199279", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/8/1.jpg", - "https://i.dummyjson.com/data/products/8/2.jpg", - "https://i.dummyjson.com/data/products/8/3.jpg", - "https://i.dummyjson.com/data/products/8/4.jpg", - "https://i.dummyjson.com/data/products/8/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png" }, { "id": 9, - "title": "Infinix INBOOK", - "description": "Infinix Inbook X1 Ci3 10th 8GB 256GB 14 Win10 Grey – 1 Year Warranty", - "price": 1099, - "discountPercentage": 11.83, - "rating": 4.54, - "stock": 96, - "brand": "Infinix", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/9/thumbnail.jpg", + "title": "Dolce Shine Eau de", + "description": "Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.", + "category": "fragrances", + "price": 69.99, + "discountPercentage": 11.47, + "rating": 2.68, + "stock": 3, + "tags": ["fragrances", "perfumes"], + "brand": "Dolce & Gabbana", + "sku": "1NBFK980", + "weight": 5, + "dimensions": { + "width": 17, + "height": 24.57, + "depth": 13.3 + }, + "warrantyInformation": "5 year warranty", + "shippingInformation": "Ships in 1-2 business days", + "availabilityStatus": "Low Stock", + "reviews": [ + { + "rating": 4, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Xavier Wright", + "reviewerEmail": "xavier.wright@x.dummyjson.com" + }, + { + "rating": 1, + "comment": "Poor quality!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Mila Hernandez", + "reviewerEmail": "mila.hernandez@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.619Z", + "reviewerName": "Sophia Brown", + "reviewerEmail": "sophia.brown@x.dummyjson.com" + } + ], + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 9, + "meta": { + "createdAt": "2024-05-23T08:56:21.619Z", + "updatedAt": "2024-05-23T08:56:21.619Z", + "barcode": "1939383392674", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/9/1.jpg", - "https://i.dummyjson.com/data/products/9/2.png", - "https://i.dummyjson.com/data/products/9/3.png", - "https://i.dummyjson.com/data/products/9/4.jpg", - "https://i.dummyjson.com/data/products/9/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/thumbnail.png" }, { "id": 10, - "title": "HP Pavilion 15-DK1056WM", - "description": "HP Pavilion 15-DK1056WM Gaming Laptop 10th Gen Core i5, 8GB, 256GB SSD, GTX 1650 4GB, Windows 10", - "price": 1099, - "discountPercentage": 6.18, - "rating": 4.43, - "stock": 89, - "brand": "HP Pavilion", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/10/thumbnail.jpeg", + "title": "Gucci Bloom Eau de", + "description": "Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.", + "category": "fragrances", + "price": 79.99, + "discountPercentage": 8.9, + "rating": 2.69, + "stock": 93, + "tags": ["fragrances", "perfumes"], + "brand": "Gucci", + "sku": "FFKZ6HOF", + "weight": 10, + "dimensions": { + "width": 22.28, + "height": 17.81, + "depth": 27.18 + }, + "warrantyInformation": "No warranty", + "shippingInformation": "Ships in 2 weeks", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Great value for money!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Aria Parker", + "reviewerEmail": "aria.parker@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Natalie Harris", + "reviewerEmail": "natalie.harris@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Fast shipping!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Ava Harris", + "reviewerEmail": "ava.harris@x.dummyjson.com" + } + ], + "returnPolicy": "No return policy", + "minimumOrderQuantity": 10, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "8232190382069", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/10/1.jpg", - "https://i.dummyjson.com/data/products/10/2.jpg", - "https://i.dummyjson.com/data/products/10/3.jpg", - "https://i.dummyjson.com/data/products/10/thumbnail.jpeg" - ] + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/thumbnail.png" }, { "id": 11, - "title": "perfume Oil", - "description": "Mega Discount, Impression of Acqua Di Gio by GiorgioArmani concentrated attar perfume Oil", - "price": 13, - "discountPercentage": 8.4, - "rating": 4.26, - "stock": 65, - "brand": "Impression of Acqua Di Gio", - "category": "fragrances", - "thumbnail": "https://i.dummyjson.com/data/products/11/thumbnail.jpg", + "title": "Annibale Colombo Bed", + "description": "The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.", + "category": "furniture", + "price": 1899.99, + "discountPercentage": 0.29, + "rating": 4.14, + "stock": 47, + "tags": ["furniture", "beds"], + "brand": "Annibale Colombo", + "sku": "4KMDTZWF", + "weight": 3, + "dimensions": { + "width": 28.75, + "height": 26.88, + "depth": 24.47 + }, + "warrantyInformation": "2 year warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Great value for money!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Julian Newton", + "reviewerEmail": "julian.newton@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Madison Collins", + "reviewerEmail": "madison.collins@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Clara Berry", + "reviewerEmail": "clara.berry@x.dummyjson.com" + } + ], + "returnPolicy": "7 days return policy", + "minimumOrderQuantity": 1, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "7113807059215", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/11/1.jpg", - "https://i.dummyjson.com/data/products/11/2.jpg", - "https://i.dummyjson.com/data/products/11/3.jpg", - "https://i.dummyjson.com/data/products/11/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png" }, { "id": 12, - "title": "Brown Perfume", - "description": "Royal_Mirage Sport Brown Perfume for Men & Women - 120ml", - "price": 40, - "discountPercentage": 15.66, - "rating": 4, - "stock": 52, - "brand": "Royal_Mirage", - "category": "fragrances", - "thumbnail": "https://i.dummyjson.com/data/products/12/thumbnail.jpg", + "title": "Annibale Colombo Sofa", + "description": "The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.", + "category": "furniture", + "price": 2499.99, + "discountPercentage": 18.54, + "rating": 3.08, + "stock": 16, + "tags": ["furniture", "sofas"], + "brand": "Annibale Colombo", + "sku": "LUU95CQP", + "weight": 3, + "dimensions": { + "width": 20.97, + "height": 19.11, + "depth": 25.81 + }, + "warrantyInformation": "1 month warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Tyler Davis", + "reviewerEmail": "tyler.davis@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Hannah Robinson", + "reviewerEmail": "hannah.robinson@x.dummyjson.com" + }, + { + "rating": 3, + "comment": "Waste of money!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Madison Collins", + "reviewerEmail": "madison.collins@x.dummyjson.com" + } + ], + "returnPolicy": "7 days return policy", + "minimumOrderQuantity": 1, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "0426785817074", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/12/1.jpg", - "https://i.dummyjson.com/data/products/12/2.jpg", - "https://i.dummyjson.com/data/products/12/3.png", - "https://i.dummyjson.com/data/products/12/4.jpg", - "https://i.dummyjson.com/data/products/12/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/thumbnail.png" }, { "id": 13, - "title": "Fog Scent Xpressio Perfume", - "description": "Product details of Best Fog Scent Xpressio Perfume 100ml For Men cool long lasting perfumes for Men", - "price": 13, - "discountPercentage": 8.14, - "rating": 4.59, - "stock": 61, - "brand": "Fog Scent Xpressio", - "category": "fragrances", - "thumbnail": "https://i.dummyjson.com/data/products/13/thumbnail.webp", + "title": "Bedside Table African Cherry", + "description": "The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.", + "category": "furniture", + "price": 299.99, + "discountPercentage": 9.58, + "rating": 4.48, + "stock": 16, + "tags": ["furniture", "bedside tables"], + "brand": "Furniture Co.", + "sku": "OWPLTZYX", + "weight": 10, + "dimensions": { + "width": 25.43, + "height": 20.2, + "depth": 24.95 + }, + "warrantyInformation": "6 months warranty", + "shippingInformation": "Ships in 1-2 business days", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "John Doe", + "reviewerEmail": "john.doe@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Highly recommended!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Avery Carter", + "reviewerEmail": "avery.carter@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Evelyn Sanchez", + "reviewerEmail": "evelyn.sanchez@x.dummyjson.com" + } + ], + "returnPolicy": "No return policy", + "minimumOrderQuantity": 5, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "2913244159666", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/13/1.jpg", - "https://i.dummyjson.com/data/products/13/2.png", - "https://i.dummyjson.com/data/products/13/3.jpg", - "https://i.dummyjson.com/data/products/13/4.jpg", - "https://i.dummyjson.com/data/products/13/thumbnail.webp" - ] + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/thumbnail.png" }, { "id": 14, - "title": "Non-Alcoholic Concentrated Perfume Oil", - "description": "Original Al Munakh® by Mahal Al Musk | Our Impression of Climate | 6ml Non-Alcoholic Concentrated Perfume Oil", - "price": 120, - "discountPercentage": 15.6, - "rating": 4.21, - "stock": 114, - "brand": "Al Munakh", - "category": "fragrances", - "thumbnail": "https://i.dummyjson.com/data/products/14/thumbnail.jpg", + "title": "Knoll Saarinen Executive Conference Chair", + "description": "The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.", + "category": "furniture", + "price": 499.99, + "discountPercentage": 15.23, + "rating": 4.11, + "stock": 47, + "tags": ["furniture", "office chairs"], + "brand": "Knoll", + "sku": "RKHVJ4FE", + "weight": 3, + "dimensions": { + "width": 16.59, + "height": 21.46, + "depth": 29.07 + }, + "warrantyInformation": "Lifetime warranty", + "shippingInformation": "Ships in 3-5 business days", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Leah Gutierrez", + "reviewerEmail": "leah.gutierrez@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Nolan Gonzalez", + "reviewerEmail": "nolan.gonzalez@x.dummyjson.com" + }, + { + "rating": 2, + "comment": "Waste of money!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Stella Morris", + "reviewerEmail": "stella.morris@x.dummyjson.com" + } + ], + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 5, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "0726316339746", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/14/1.jpg", - "https://i.dummyjson.com/data/products/14/2.jpg", - "https://i.dummyjson.com/data/products/14/3.jpg", - "https://i.dummyjson.com/data/products/14/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/thumbnail.png" }, { "id": 15, - "title": "Eau De Perfume Spray", - "description": "Genuine Al-Rehab spray perfume from UAE/Saudi Arabia/Yemen High Quality", - "price": 30, - "discountPercentage": 10.99, - "rating": 4.7, - "stock": 105, - "brand": "Lord - Al-Rehab", - "category": "fragrances", - "thumbnail": "https://i.dummyjson.com/data/products/15/thumbnail.jpg", + "title": "Wooden Bathroom Sink With Mirror", + "description": "The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.", + "category": "furniture", + "price": 799.99, + "discountPercentage": 11.22, + "rating": 3.26, + "stock": 95, + "tags": ["furniture", "bathroom"], + "brand": "Bath Trends", + "sku": "7OLTIEVO", + "weight": 6, + "dimensions": { + "width": 7.32, + "height": 22.64, + "depth": 12.37 + }, + "warrantyInformation": "6 months warranty", + "shippingInformation": "Ships in 3-5 business days", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Highly recommended!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Charlotte Lopez", + "reviewerEmail": "charlotte.lopez@x.dummyjson.com" + }, + { + "rating": 1, + "comment": "Would not recommend!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "William Gonzalez", + "reviewerEmail": "william.gonzalez@x.dummyjson.com" + }, + { + "rating": 2, + "comment": "Not worth the price!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Ava Harrison", + "reviewerEmail": "ava.harrison@x.dummyjson.com" + } + ], + "returnPolicy": "7 days return policy", + "minimumOrderQuantity": 1, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "7839797529453", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/15/1.jpg", - "https://i.dummyjson.com/data/products/15/2.jpg", - "https://i.dummyjson.com/data/products/15/3.jpg", - "https://i.dummyjson.com/data/products/15/4.jpg", - "https://i.dummyjson.com/data/products/15/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/3.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/thumbnail.png" }, { "id": 16, - "title": "Hyaluronic Acid Serum", - "description": "L'Oréal Paris introduces Hyaluron Expert Replumping Serum formulated with 1.5% Hyaluronic Acid", - "price": 19, - "discountPercentage": 13.31, - "rating": 4.83, - "stock": 110, - "brand": "L'Oreal Paris", - "category": "skincare", - "thumbnail": "https://i.dummyjson.com/data/products/16/thumbnail.jpg", + "title": "Apple", + "description": "Fresh and crisp apples, perfect for snacking or incorporating into various recipes.", + "category": "groceries", + "price": 1.99, + "discountPercentage": 1.97, + "rating": 2.96, + "stock": 9, + "tags": ["fruits"], + "sku": "QTROUV79", + "weight": 8, + "dimensions": { + "width": 8.29, + "height": 5.58, + "depth": 12.41 + }, + "warrantyInformation": "2 year warranty", + "shippingInformation": "Ships in 2 weeks", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Great product!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Logan Lee", + "reviewerEmail": "logan.lee@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Great product!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Elena Long", + "reviewerEmail": "elena.long@x.dummyjson.com" + }, + { + "rating": 1, + "comment": "Not as described!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Grayson Coleman", + "reviewerEmail": "grayson.coleman@x.dummyjson.com" + } + ], + "returnPolicy": "60 days return policy", + "minimumOrderQuantity": 44, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "2517819903837", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/16/1.png", - "https://i.dummyjson.com/data/products/16/2.webp", - "https://i.dummyjson.com/data/products/16/3.jpg", - "https://i.dummyjson.com/data/products/16/4.jpg", - "https://i.dummyjson.com/data/products/16/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/groceries/Apple/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png" }, { "id": 17, - "title": "Tree Oil 30ml", - "description": "Tea tree oil contains a number of compounds, including terpinen-4-ol, that have been shown to kill certain bacteria,", - "price": 12, - "discountPercentage": 4.09, - "rating": 4.52, - "stock": 78, - "brand": "Hemani Tea", - "category": "skincare", - "thumbnail": "https://i.dummyjson.com/data/products/17/thumbnail.jpg", + "title": "Beef Steak", + "description": "High-quality beef steak, great for grilling or cooking to your preferred level of doneness.", + "category": "groceries", + "price": 12.99, + "discountPercentage": 17.99, + "rating": 2.83, + "stock": 96, + "tags": ["meat"], + "sku": "BWWA2MSO", + "weight": 9, + "dimensions": { + "width": 23.35, + "height": 13.48, + "depth": 26.4 + }, + "warrantyInformation": "1 month warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Ethan Martinez", + "reviewerEmail": "ethan.martinez@x.dummyjson.com" + }, + { + "rating": 3, + "comment": "Disappointing product!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Owen Fisher", + "reviewerEmail": "owen.fisher@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Scarlett Wright", + "reviewerEmail": "scarlett.wright@x.dummyjson.com" + } + ], + "returnPolicy": "90 days return policy", + "minimumOrderQuantity": 21, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "8335515097879", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/17/1.jpg", - "https://i.dummyjson.com/data/products/17/2.jpg", - "https://i.dummyjson.com/data/products/17/3.jpg", - "https://i.dummyjson.com/data/products/17/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/thumbnail.png" }, { "id": 18, - "title": "Oil Free Moisturizer 100ml", - "description": "Dermive Oil Free Moisturizer with SPF 20 is specifically formulated with ceramides, hyaluronic acid & sunscreen.", - "price": 40, - "discountPercentage": 13.1, - "rating": 4.56, - "stock": 88, - "brand": "Dermive", - "category": "skincare", - "thumbnail": "https://i.dummyjson.com/data/products/18/thumbnail.jpg", + "title": "Cat Food", + "description": "Nutritious cat food formulated to meet the dietary needs of your feline friend.", + "category": "groceries", + "price": 8.99, + "discountPercentage": 9.57, + "rating": 2.88, + "stock": 13, + "tags": ["pet supplies", "cat food"], + "sku": "C3F8QN6O", + "weight": 9, + "dimensions": { + "width": 15.4, + "height": 13.97, + "depth": 25.13 + }, + "warrantyInformation": "3 months warranty", + "shippingInformation": "Ships in 1-2 business days", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Mateo Bennett", + "reviewerEmail": "mateo.bennett@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Aurora Barnes", + "reviewerEmail": "aurora.barnes@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Great value for money!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Ellie Stewart", + "reviewerEmail": "ellie.stewart@x.dummyjson.com" + } + ], + "returnPolicy": "7 days return policy", + "minimumOrderQuantity": 48, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "5503491330693", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/18/1.jpg", - "https://i.dummyjson.com/data/products/18/2.jpg", - "https://i.dummyjson.com/data/products/18/3.jpg", - "https://i.dummyjson.com/data/products/18/4.jpg", - "https://i.dummyjson.com/data/products/18/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png" }, { "id": 19, - "title": "Skin Beauty Serum.", - "description": "Product name: rorec collagen hyaluronic acid white face serum riceNet weight: 15 m", - "price": 46, - "discountPercentage": 10.68, - "rating": 4.42, - "stock": 54, - "brand": "ROREC White Rice", - "category": "skincare", - "thumbnail": "https://i.dummyjson.com/data/products/19/thumbnail.jpg", + "title": "Chicken Meat", + "description": "Fresh and tender chicken meat, suitable for various culinary preparations.", + "category": "groceries", + "price": 9.99, + "discountPercentage": 10.46, + "rating": 4.61, + "stock": 69, + "tags": ["meat"], + "sku": "G5YEHW7B", + "weight": 7, + "dimensions": { + "width": 15.96, + "height": 29.24, + "depth": 26.25 + }, + "warrantyInformation": "Lifetime warranty", + "shippingInformation": "Ships in 1 month", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Sophia Jones", + "reviewerEmail": "sophia.jones@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Great value for money!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Maya Reed", + "reviewerEmail": "maya.reed@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Highly recommended!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Harper Turner", + "reviewerEmail": "harper.turner@x.dummyjson.com" + } + ], + "returnPolicy": "7 days return policy", + "minimumOrderQuantity": 46, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "0966223559510", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/19/1.jpg", - "https://i.dummyjson.com/data/products/19/2.jpg", - "https://i.dummyjson.com/data/products/19/3.png", - "https://i.dummyjson.com/data/products/19/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/1.png", + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/2.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png" }, { "id": 20, - "title": "Freckle Treatment Cream- 15gm", - "description": "Fair & Clear is Pakistan's only pure Freckle cream which helpsfade Freckles, Darkspots and pigments. Mercury level is 0%, so there are no side effects.", - "price": 70, - "discountPercentage": 16.99, - "rating": 4.06, - "stock": 140, - "brand": "Fair & Clear", - "category": "skincare", - "thumbnail": "https://i.dummyjson.com/data/products/20/thumbnail.jpg", + "title": "Cooking Oil", + "description": "Versatile cooking oil suitable for frying, sautéing, and various culinary applications.", + "category": "groceries", + "price": 4.99, + "discountPercentage": 18.89, + "rating": 4.01, + "stock": 22, + "tags": ["cooking essentials"], + "sku": "Q6ZP1UY8", + "weight": 8, + "dimensions": { + "width": 8.18, + "height": 27.45, + "depth": 27.88 + }, + "warrantyInformation": "Lifetime warranty", + "shippingInformation": "Ships in 1 month", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Mason Parker", + "reviewerEmail": "mason.parker@x.dummyjson.com" + }, + { + "rating": 3, + "comment": "Poor quality!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Jonathan Pierce", + "reviewerEmail": "jonathan.pierce@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Alexander Hernandez", + "reviewerEmail": "alexander.hernandez@x.dummyjson.com" + } + ], + "returnPolicy": "60 days return policy", + "minimumOrderQuantity": 2, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "6707669443381", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/20/1.jpg", - "https://i.dummyjson.com/data/products/20/2.jpg", - "https://i.dummyjson.com/data/products/20/3.jpg", - "https://i.dummyjson.com/data/products/20/4.jpg", - "https://i.dummyjson.com/data/products/20/thumbnail.jpg" - ] + "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png" }, { "id": 21, - "title": "- Daal Masoor 500 grams", - "description": "Fine quality Branded Product Keep in a cool and dry place", - "price": 20, - "discountPercentage": 4.81, - "rating": 4.44, - "stock": 133, - "brand": "Saaf & Khaas", + "title": "Cucumber", + "description": "Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.", "category": "groceries", - "thumbnail": "https://i.dummyjson.com/data/products/21/thumbnail.png", + "price": 1.49, + "discountPercentage": 11.44, + "rating": 4.71, + "stock": 22, + "tags": ["vegetables"], + "sku": "6KGF2K6Z", + "weight": 9, + "dimensions": { + "width": 11.04, + "height": 20.5, + "depth": 8.18 + }, + "warrantyInformation": "5 year warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Elijah Hill", + "reviewerEmail": "elijah.hill@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Fast shipping!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Liam Garcia", + "reviewerEmail": "liam.garcia@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Ella Cook", + "reviewerEmail": "ella.cook@x.dummyjson.com" + } + ], + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 7, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "2597004869708", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/21/1.png", - "https://i.dummyjson.com/data/products/21/2.jpg", - "https://i.dummyjson.com/data/products/21/3.jpg" - ] + "https://cdn.dummyjson.com/products/images/groceries/Cucumber/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Cucumber/thumbnail.png" }, { "id": 22, - "title": "Elbow Macaroni - 400 gm", - "description": "Product details of Bake Parlor Big Elbow Macaroni - 400 gm", - "price": 14, - "discountPercentage": 15.58, - "rating": 4.57, - "stock": 146, - "brand": "Bake Parlor Big", + "title": "Dog Food", + "description": "Specially formulated dog food designed to provide essential nutrients for your canine companion.", "category": "groceries", - "thumbnail": "https://i.dummyjson.com/data/products/22/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/22/1.jpg", - "https://i.dummyjson.com/data/products/22/2.jpg", - "https://i.dummyjson.com/data/products/22/3.jpg" - ] - }, - { - "id": 23, - "title": "Orange Essence Food Flavou", - "description": "Specifications of Orange Essence Food Flavour For Cakes and Baking Food Item", - "price": 14, - "discountPercentage": 8.04, - "rating": 4.85, - "stock": 26, - "brand": "Baking Food Items", - "category": "groceries", - "thumbnail": "https://i.dummyjson.com/data/products/23/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/23/1.jpg", - "https://i.dummyjson.com/data/products/23/2.jpg", - "https://i.dummyjson.com/data/products/23/3.jpg", - "https://i.dummyjson.com/data/products/23/4.jpg", - "https://i.dummyjson.com/data/products/23/thumbnail.jpg" - ] - }, - { - "id": 24, - "title": "cereals muesli fruit nuts", - "description": "original fauji cereal muesli 250gm box pack original fauji cereals muesli fruit nuts flakes breakfast cereal break fast faujicereals cerels cerel foji fouji", - "price": 46, - "discountPercentage": 16.8, - "rating": 4.94, - "stock": 113, - "brand": "fauji", - "category": "groceries", - "thumbnail": "https://i.dummyjson.com/data/products/24/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/24/1.jpg", - "https://i.dummyjson.com/data/products/24/2.jpg", - "https://i.dummyjson.com/data/products/24/3.jpg", - "https://i.dummyjson.com/data/products/24/4.jpg", - "https://i.dummyjson.com/data/products/24/thumbnail.jpg" - ] - }, - { - "id": 25, - "title": "Gulab Powder 50 Gram", - "description": "Dry Rose Flower Powder Gulab Powder 50 Gram • Treats Wounds", - "price": 70, - "discountPercentage": 13.58, - "rating": 4.87, - "stock": 47, - "brand": "Dry Rose", - "category": "groceries", - "thumbnail": "https://i.dummyjson.com/data/products/25/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/25/1.png", - "https://i.dummyjson.com/data/products/25/2.jpg", - "https://i.dummyjson.com/data/products/25/3.png", - "https://i.dummyjson.com/data/products/25/4.jpg", - "https://i.dummyjson.com/data/products/25/thumbnail.jpg" - ] - }, - { - "id": 26, - "title": "Plant Hanger For Home", - "description": "Boho Decor Plant Hanger For Home Wall Decoration Macrame Wall Hanging Shelf", - "price": 41, - "discountPercentage": 17.86, - "rating": 4.08, - "stock": 131, - "brand": "Boho Decor", - "category": "home-decoration", - "thumbnail": "https://i.dummyjson.com/data/products/26/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/26/1.jpg", - "https://i.dummyjson.com/data/products/26/2.jpg", - "https://i.dummyjson.com/data/products/26/3.jpg", - "https://i.dummyjson.com/data/products/26/4.jpg", - "https://i.dummyjson.com/data/products/26/5.jpg", - "https://i.dummyjson.com/data/products/26/thumbnail.jpg" - ] - }, - { - "id": 27, - "title": "Flying Wooden Bird", - "description": "Package Include 6 Birds with Adhesive Tape Shape: 3D Shaped Wooden Birds Material: Wooden MDF, Laminated 3.5mm", - "price": 51, - "discountPercentage": 15.58, - "rating": 4.41, - "stock": 17, - "brand": "Flying Wooden", - "category": "home-decoration", - "thumbnail": "https://i.dummyjson.com/data/products/27/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/27/1.jpg", - "https://i.dummyjson.com/data/products/27/2.jpg", - "https://i.dummyjson.com/data/products/27/3.jpg", - "https://i.dummyjson.com/data/products/27/4.jpg", - "https://i.dummyjson.com/data/products/27/thumbnail.webp" - ] - }, - { - "id": 28, - "title": "3D Embellishment Art Lamp", - "description": "3D led lamp sticker Wall sticker 3d wall art light on/off button cell operated (included)", - "price": 20, - "discountPercentage": 16.49, - "rating": 4.82, - "stock": 54, - "brand": "LED Lights", - "category": "home-decoration", - "thumbnail": "https://i.dummyjson.com/data/products/28/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/28/1.jpg", - "https://i.dummyjson.com/data/products/28/2.jpg", - "https://i.dummyjson.com/data/products/28/3.png", - "https://i.dummyjson.com/data/products/28/4.jpg", - "https://i.dummyjson.com/data/products/28/thumbnail.jpg" - ] - }, - { - "id": 29, - "title": "Handcraft Chinese style", - "description": "Handcraft Chinese style art luxury palace hotel villa mansion home decor ceramic vase with brass fruit plate", - "price": 60, - "discountPercentage": 15.34, - "rating": 4.44, - "stock": 7, - "brand": "luxury palace", - "category": "home-decoration", - "thumbnail": "https://i.dummyjson.com/data/products/29/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/29/1.jpg", - "https://i.dummyjson.com/data/products/29/2.jpg", - "https://i.dummyjson.com/data/products/29/3.webp", - "https://i.dummyjson.com/data/products/29/4.webp", - "https://i.dummyjson.com/data/products/29/thumbnail.webp" - ] - }, - { - "id": 30, - "title": "Key Holder", - "description": "Attractive DesignMetallic materialFour key hooksReliable & DurablePremium Quality", - "price": 30, - "discountPercentage": 2.92, - "rating": 4.92, - "stock": 54, - "brand": "Golden", - "category": "home-decoration", - "thumbnail": "https://i.dummyjson.com/data/products/30/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/30/1.jpg", - "https://i.dummyjson.com/data/products/30/2.jpg", - "https://i.dummyjson.com/data/products/30/3.jpg", - "https://i.dummyjson.com/data/products/30/thumbnail.jpg" - ] - }, - { - "id": 31, - "title": "Mornadi Velvet Bed", - "description": "Mornadi Velvet Bed Base with Headboard Slats Support Classic Style Bedroom Furniture Bed Set", - "price": 40, - "discountPercentage": 17, - "rating": 4.16, - "stock": 140, - "brand": "Furniture Bed Set", - "category": "furniture", - "thumbnail": "https://i.dummyjson.com/data/products/31/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/31/1.jpg", - "https://i.dummyjson.com/data/products/31/2.jpg", - "https://i.dummyjson.com/data/products/31/3.jpg", - "https://i.dummyjson.com/data/products/31/4.jpg", - "https://i.dummyjson.com/data/products/31/thumbnail.jpg" - ] - }, - { - "id": 32, - "title": "Sofa for Coffe Cafe", - "description": "Ratttan Outdoor furniture Set Waterproof Rattan Sofa for Coffe Cafe", - "price": 50, - "discountPercentage": 15.59, - "rating": 4.74, - "stock": 30, - "brand": "Ratttan Outdoor", - "category": "furniture", - "thumbnail": "https://i.dummyjson.com/data/products/32/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/32/1.jpg", - "https://i.dummyjson.com/data/products/32/2.jpg", - "https://i.dummyjson.com/data/products/32/3.jpg", - "https://i.dummyjson.com/data/products/32/thumbnail.jpg" - ] - }, - { - "id": 33, - "title": "3 Tier Corner Shelves", - "description": "3 Tier Corner Shelves | 3 PCs Wall Mount Kitchen Shelf | Floating Bedroom Shelf", - "price": 700, - "discountPercentage": 17, - "rating": 4.31, - "stock": 106, - "brand": "Kitchen Shelf", - "category": "furniture", - "thumbnail": "https://i.dummyjson.com/data/products/33/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/33/1.jpg", - "https://i.dummyjson.com/data/products/33/2.jpg", - "https://i.dummyjson.com/data/products/33/3.jpg", - "https://i.dummyjson.com/data/products/33/4.jpg", - "https://i.dummyjson.com/data/products/33/thumbnail.jpg" - ] - }, - { - "id": 34, - "title": "Plastic Table", - "description": "Very good quality plastic table for multi purpose now in reasonable price", - "price": 50, - "discountPercentage": 4, - "rating": 4.01, - "stock": 136, - "brand": "Multi Purpose", - "category": "furniture", - "thumbnail": "https://i.dummyjson.com/data/products/34/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/34/1.jpg", - "https://i.dummyjson.com/data/products/34/2.jpg", - "https://i.dummyjson.com/data/products/34/3.jpg", - "https://i.dummyjson.com/data/products/34/4.jpg", - "https://i.dummyjson.com/data/products/34/thumbnail.jpg" - ] - }, - { - "id": 35, - "title": "3 DOOR PORTABLE", - "description": "Material: Stainless Steel and Fabric Item Size: 110 cm x 45 cm x 175 cm Package Contents: 1 Storage Wardrobe", - "price": 41, - "discountPercentage": 7.98, - "rating": 4.06, - "stock": 68, - "brand": "AmnaMart", - "category": "furniture", - "thumbnail": "https://i.dummyjson.com/data/products/35/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/35/1.jpg", - "https://i.dummyjson.com/data/products/35/2.jpg", - "https://i.dummyjson.com/data/products/35/3.jpg", - "https://i.dummyjson.com/data/products/35/4.jpg", - "https://i.dummyjson.com/data/products/35/thumbnail.jpg" - ] - }, - { - "id": 36, - "title": "Sleeve Shirt Womens", - "description": "Cotton Solid Color Professional Wear Sleeve Shirt Womens Work Blouses Wholesale Clothing Casual Plain Custom Top OEM Customized", - "price": 90, - "discountPercentage": 10.89, - "rating": 4.26, - "stock": 39, - "brand": "Professional Wear", - "category": "tops", - "thumbnail": "https://i.dummyjson.com/data/products/36/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/36/1.jpg", - "https://i.dummyjson.com/data/products/36/2.webp", - "https://i.dummyjson.com/data/products/36/3.webp", - "https://i.dummyjson.com/data/products/36/4.jpg", - "https://i.dummyjson.com/data/products/36/thumbnail.jpg" - ] - }, - { - "id": 37, - "title": "ank Tops for Womens/Girls", - "description": "PACK OF 3 CAMISOLES ,VERY COMFORTABLE SOFT COTTON STUFF, COMFORTABLE IN ALL FOUR SEASONS", - "price": 50, - "discountPercentage": 12.05, - "rating": 4.52, - "stock": 107, - "brand": "Soft Cotton", - "category": "tops", - "thumbnail": "https://i.dummyjson.com/data/products/37/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/37/1.jpg", - "https://i.dummyjson.com/data/products/37/2.jpg", - "https://i.dummyjson.com/data/products/37/3.jpg", - "https://i.dummyjson.com/data/products/37/4.jpg", - "https://i.dummyjson.com/data/products/37/thumbnail.jpg" - ] - }, - { - "id": 38, - "title": "sublimation plain kids tank", - "description": "sublimation plain kids tank tops wholesale", - "price": 100, - "discountPercentage": 11.12, - "rating": 4.8, - "stock": 20, - "brand": "Soft Cotton", - "category": "tops", - "thumbnail": "https://i.dummyjson.com/data/products/38/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/38/1.png", - "https://i.dummyjson.com/data/products/38/2.jpg", - "https://i.dummyjson.com/data/products/38/3.jpg", - "https://i.dummyjson.com/data/products/38/4.jpg" - ] - }, - { - "id": 39, - "title": "Women Sweaters Wool", - "description": "2021 Custom Winter Fall Zebra Knit Crop Top Women Sweaters Wool Mohair Cos Customize Crew Neck Women' S Crop Top Sweater", - "price": 600, - "discountPercentage": 17.2, - "rating": 4.55, - "stock": 55, - "brand": "Top Sweater", - "category": "tops", - "thumbnail": "https://i.dummyjson.com/data/products/39/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/39/1.jpg", - "https://i.dummyjson.com/data/products/39/2.jpg", - "https://i.dummyjson.com/data/products/39/3.jpg", - "https://i.dummyjson.com/data/products/39/4.jpg", - "https://i.dummyjson.com/data/products/39/thumbnail.jpg" - ] - }, - { - "id": 40, - "title": "women winter clothes", - "description": "women winter clothes thick fleece hoodie top with sweat pantjogger women sweatsuit set joggers pants two piece pants set", - "price": 57, - "discountPercentage": 13.39, - "rating": 4.91, - "stock": 84, - "brand": "Top Sweater", - "category": "tops", - "thumbnail": "https://i.dummyjson.com/data/products/40/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/40/1.jpg", - "https://i.dummyjson.com/data/products/40/2.jpg" - ] - }, - { - "id": 41, - "title": "NIGHT SUIT", - "description": "NIGHT SUIT RED MICKY MOUSE.. For Girls. Fantastic Suits.", - "price": 55, - "discountPercentage": 15.05, - "rating": 4.65, - "stock": 21, - "brand": "RED MICKY MOUSE..", - "category": "womens-dresses", - "thumbnail": "https://i.dummyjson.com/data/products/41/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/41/1.jpg", - "https://i.dummyjson.com/data/products/41/2.webp", - "https://i.dummyjson.com/data/products/41/3.jpg", - "https://i.dummyjson.com/data/products/41/4.jpg", - "https://i.dummyjson.com/data/products/41/thumbnail.webp" - ] - }, - { - "id": 42, - "title": "Stiched Kurta plus trouser", - "description": "FABRIC: LILEIN CHEST: 21 LENGHT: 37 TROUSER: (38) :ARABIC LILEIN", - "price": 80, - "discountPercentage": 15.37, - "rating": 4.05, - "stock": 148, - "brand": "Digital Printed", - "category": "womens-dresses", - "thumbnail": "https://i.dummyjson.com/data/products/42/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/42/1.png", - "https://i.dummyjson.com/data/products/42/2.png", - "https://i.dummyjson.com/data/products/42/3.png", - "https://i.dummyjson.com/data/products/42/4.jpg", - "https://i.dummyjson.com/data/products/42/thumbnail.jpg" - ] - }, - { - "id": 43, - "title": "frock gold printed", - "description": "Ghazi fabric long frock gold printed ready to wear stitched collection (G992)", - "price": 600, - "discountPercentage": 15.55, - "rating": 4.31, - "stock": 150, - "brand": "Ghazi Fabric", - "category": "womens-dresses", - "thumbnail": "https://i.dummyjson.com/data/products/43/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/43/1.jpg", - "https://i.dummyjson.com/data/products/43/2.jpg", - "https://i.dummyjson.com/data/products/43/3.jpg", - "https://i.dummyjson.com/data/products/43/4.jpg", - "https://i.dummyjson.com/data/products/43/thumbnail.jpg" - ] - }, - { - "id": 44, - "title": "Ladies Multicolored Dress", - "description": "This classy shirt for women gives you a gorgeous look on everyday wear and specially for semi-casual wears.", - "price": 79, - "discountPercentage": 16.88, - "rating": 4.03, - "stock": 2, - "brand": "Ghazi Fabric", - "category": "womens-dresses", - "thumbnail": "https://i.dummyjson.com/data/products/44/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/44/1.jpg", - "https://i.dummyjson.com/data/products/44/2.jpg", - "https://i.dummyjson.com/data/products/44/3.jpg", - "https://i.dummyjson.com/data/products/44/4.jpg", - "https://i.dummyjson.com/data/products/44/thumbnail.jpg" - ] - }, - { - "id": 45, - "title": "Malai Maxi Dress", - "description": "Ready to wear, Unique design according to modern standard fashion, Best fitting ,Imported stuff", - "price": 50, - "discountPercentage": 5.07, - "rating": 4.67, - "stock": 96, - "brand": "IELGY", - "category": "womens-dresses", - "thumbnail": "https://i.dummyjson.com/data/products/45/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/45/1.jpg", - "https://i.dummyjson.com/data/products/45/2.webp", - "https://i.dummyjson.com/data/products/45/3.jpg", - "https://i.dummyjson.com/data/products/45/4.jpg", - "https://i.dummyjson.com/data/products/45/thumbnail.jpg" - ] - }, - { - "id": 46, - "title": "women's shoes", - "description": "Close: Lace, Style with bottom: Increased inside, Sole Material: Rubber", - "price": 40, - "discountPercentage": 16.96, - "rating": 4.14, - "stock": 72, - "brand": "IELGY fashion", - "category": "womens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/46/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/46/1.webp", - "https://i.dummyjson.com/data/products/46/2.jpg", - "https://i.dummyjson.com/data/products/46/3.jpg", - "https://i.dummyjson.com/data/products/46/4.jpg", - "https://i.dummyjson.com/data/products/46/thumbnail.jpg" - ] - }, - { - "id": 47, - "title": "Sneaker shoes", - "description": "Synthetic Leather Casual Sneaker shoes for Women/girls Sneakers For Women", - "price": 120, - "discountPercentage": 10.37, - "rating": 4.19, - "stock": 50, - "brand": "Synthetic Leather", - "category": "womens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/47/thumbnail.jpeg", - "images": [ - "https://i.dummyjson.com/data/products/47/1.jpg", - "https://i.dummyjson.com/data/products/47/2.jpg", - "https://i.dummyjson.com/data/products/47/3.jpg", - "https://i.dummyjson.com/data/products/47/thumbnail.jpeg" - ] - }, - { - "id": 48, - "title": "Women Strip Heel", - "description": "Features: Flip-flops, Mid Heel, Comfortable, Striped Heel, Antiskid, Striped", - "price": 40, - "discountPercentage": 10.83, - "rating": 4.02, - "stock": 25, - "brand": "Sandals Flip Flops", - "category": "womens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/48/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/48/1.jpg", - "https://i.dummyjson.com/data/products/48/2.jpg", - "https://i.dummyjson.com/data/products/48/3.jpg", - "https://i.dummyjson.com/data/products/48/4.jpg", - "https://i.dummyjson.com/data/products/48/thumbnail.jpg" - ] - }, - { - "id": 49, - "title": "Chappals & Shoe Ladies Metallic", - "description": "Womens Chappals & Shoe Ladies Metallic Tong Thong Sandal Flat Summer 2020 Maasai Sandals", - "price": 23, - "discountPercentage": 2.62, - "rating": 4.72, - "stock": 107, - "brand": "Maasai Sandals", - "category": "womens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/49/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/49/1.jpg", - "https://i.dummyjson.com/data/products/49/2.jpg", - "https://i.dummyjson.com/data/products/49/3.webp", - "https://i.dummyjson.com/data/products/49/thumbnail.jpg" - ] - }, - { - "id": 50, - "title": "Women Shoes", - "description": "2020 New Arrivals Genuine Leather Fashion Trend Platform Summer Women Shoes", - "price": 36, - "discountPercentage": 16.87, - "rating": 4.33, - "stock": 46, - "brand": "Arrivals Genuine", - "category": "womens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/50/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/50/1.jpeg", - "https://i.dummyjson.com/data/products/50/2.jpg", - "https://i.dummyjson.com/data/products/50/3.jpg" - ] - }, - { - "id": 51, - "title": "half sleeves T shirts", - "description": "Many store is creating new designs and trend every month and every year. Daraz.pk have a beautiful range of men fashion brands", - "price": 23, - "discountPercentage": 12.76, - "rating": 4.26, - "stock": 132, - "brand": "Vintage Apparel", - "category": "mens-shirts", - "thumbnail": "https://i.dummyjson.com/data/products/51/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/51/1.png", - "https://i.dummyjson.com/data/products/51/2.jpg", - "https://i.dummyjson.com/data/products/51/3.jpg", - "https://i.dummyjson.com/data/products/51/thumbnail.jpg" - ] - }, - { - "id": 52, - "title": "FREE FIRE T Shirt", - "description": "quality and professional print - It doesn't just look high quality, it is high quality.", - "price": 10, - "discountPercentage": 14.72, - "rating": 4.52, - "stock": 128, - "brand": "FREE FIRE", - "category": "mens-shirts", - "thumbnail": "https://i.dummyjson.com/data/products/52/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/52/1.png", - "https://i.dummyjson.com/data/products/52/2.png", - "https://i.dummyjson.com/data/products/52/3.jpg", - "https://i.dummyjson.com/data/products/52/4.jpg", - "https://i.dummyjson.com/data/products/52/thumbnail.jpg" - ] - }, - { - "id": 53, - "title": "printed high quality T shirts", - "description": "Brand: vintage Apparel ,Export quality", - "price": 35, - "discountPercentage": 7.54, - "rating": 4.89, - "stock": 6, - "brand": "Vintage Apparel", - "category": "mens-shirts", - "thumbnail": "https://i.dummyjson.com/data/products/53/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/53/1.webp", - "https://i.dummyjson.com/data/products/53/2.jpg", - "https://i.dummyjson.com/data/products/53/3.jpg", - "https://i.dummyjson.com/data/products/53/4.jpg", - "https://i.dummyjson.com/data/products/53/thumbnail.jpg" - ] - }, - { - "id": 54, - "title": "Pubg Printed Graphic T-Shirt", - "description": "Product Description Features: 100% Ultra soft Polyester Jersey. Vibrant & colorful printing on front. Feels soft as cotton without ever cracking", - "price": 46, - "discountPercentage": 16.44, - "rating": 4.62, - "stock": 136, - "brand": "The Warehouse", - "category": "mens-shirts", - "thumbnail": "https://i.dummyjson.com/data/products/54/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/54/1.jpg", - "https://i.dummyjson.com/data/products/54/2.jpg", - "https://i.dummyjson.com/data/products/54/3.jpg", - "https://i.dummyjson.com/data/products/54/4.jpg", - "https://i.dummyjson.com/data/products/54/thumbnail.jpg" - ] - }, - { - "id": 55, - "title": "Money Heist Printed Summer T Shirts", - "description": "Fabric Jercy, Size: M & L Wear Stylish Dual Stiched", - "price": 66, - "discountPercentage": 15.97, - "rating": 4.9, - "stock": 122, - "brand": "The Warehouse", - "category": "mens-shirts", - "thumbnail": "https://i.dummyjson.com/data/products/55/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/55/1.jpg", - "https://i.dummyjson.com/data/products/55/2.webp", - "https://i.dummyjson.com/data/products/55/3.jpg", - "https://i.dummyjson.com/data/products/55/4.jpg", - "https://i.dummyjson.com/data/products/55/thumbnail.jpg" - ] - }, - { - "id": 56, - "title": "Sneakers Joggers Shoes", - "description": "Gender: Men , Colors: Same as DisplayedCondition: 100% Brand New", - "price": 40, - "discountPercentage": 12.57, - "rating": 4.38, - "stock": 6, - "brand": "Sneakers", - "category": "mens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/56/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/56/1.jpg", - "https://i.dummyjson.com/data/products/56/2.jpg", - "https://i.dummyjson.com/data/products/56/3.jpg", - "https://i.dummyjson.com/data/products/56/4.jpg", - "https://i.dummyjson.com/data/products/56/5.jpg", - "https://i.dummyjson.com/data/products/56/thumbnail.jpg" - ] - }, - { - "id": 57, - "title": "Loafers for men", - "description": "Men Shoes - Loafers for men - Rubber Shoes - Nylon Shoes - Shoes for men - Moccassion - Pure Nylon (Rubber) Expot Quality.", - "price": 47, - "discountPercentage": 10.91, - "rating": 4.91, - "stock": 20, - "brand": "Rubber", - "category": "mens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/57/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/57/1.jpg", - "https://i.dummyjson.com/data/products/57/2.jpg", - "https://i.dummyjson.com/data/products/57/3.jpg", - "https://i.dummyjson.com/data/products/57/4.jpg", - "https://i.dummyjson.com/data/products/57/thumbnail.jpg" - ] - }, - { - "id": 58, - "title": "formal offices shoes", - "description": "Pattern Type: Solid, Material: PU, Toe Shape: Pointed Toe ,Outsole Material: Rubber", - "price": 57, - "discountPercentage": 12, - "rating": 4.41, - "stock": 68, - "brand": "The Warehouse", - "category": "mens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/58/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/58/1.jpg", - "https://i.dummyjson.com/data/products/58/2.jpg", - "https://i.dummyjson.com/data/products/58/3.jpg", - "https://i.dummyjson.com/data/products/58/4.jpg", - "https://i.dummyjson.com/data/products/58/thumbnail.jpg" - ] - }, - { - "id": 59, - "title": "Spring and summershoes", - "description": "Comfortable stretch cloth, lightweight body; ,rubber sole, anti-skid wear;", - "price": 20, - "discountPercentage": 8.71, - "rating": 4.33, - "stock": 137, - "brand": "Sneakers", - "category": "mens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/59/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/59/1.jpg", - "https://i.dummyjson.com/data/products/59/2.jpg", - "https://i.dummyjson.com/data/products/59/3.jpg", - "https://i.dummyjson.com/data/products/59/4.jpg", - "https://i.dummyjson.com/data/products/59/thumbnail.jpg" - ] - }, - { - "id": 60, - "title": "Stylish Casual Jeans Shoes", - "description": "High Quality ,Stylish design ,Comfortable wear ,FAshion ,Durable", - "price": 58, - "discountPercentage": 7.55, - "rating": 4.55, - "stock": 129, - "brand": "Sneakers", - "category": "mens-shoes", - "thumbnail": "https://i.dummyjson.com/data/products/60/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/60/1.jpg", - "https://i.dummyjson.com/data/products/60/2.jpg", - "https://i.dummyjson.com/data/products/60/3.jpg", - "https://i.dummyjson.com/data/products/60/thumbnail.jpg" - ] - }, - { - "id": 61, - "title": "Leather Straps Wristwatch", - "description": "Style:Sport ,Clasp:Buckles ,Water Resistance Depth:3Bar", - "price": 120, - "discountPercentage": 7.14, - "rating": 4.63, - "stock": 91, - "brand": "Naviforce", - "category": "mens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/61/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/61/1.jpg", - "https://i.dummyjson.com/data/products/61/2.png", - "https://i.dummyjson.com/data/products/61/3.jpg" - ] - }, - { - "id": 62, - "title": "Waterproof Leather Brand Watch", - "description": "Watch Crown With Environmental IPS Bronze Electroplating; Display system of 12 hours", - "price": 46, - "discountPercentage": 3.15, - "rating": 4.05, - "stock": 95, - "brand": "SKMEI 9117", - "category": "mens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/62/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/62/1.jpg", - "https://i.dummyjson.com/data/products/62/2.jpg" - ] - }, - { - "id": 63, - "title": "Royal Blue Premium Watch", - "description": "Men Silver Chain Royal Blue Premium Watch Latest Analog Watch", - "price": 50, - "discountPercentage": 2.56, - "rating": 4.89, - "stock": 142, - "brand": "SKMEI 9117", - "category": "mens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/63/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/63/1.jpg", - "https://i.dummyjson.com/data/products/63/2.jpg", - "https://i.dummyjson.com/data/products/63/3.png", - "https://i.dummyjson.com/data/products/63/4.jpeg" - ] - }, - { - "id": 64, - "title": "Leather Strap Skeleton Watch", - "description": "Leather Strap Skeleton Watch for Men - Stylish and Latest Design", - "price": 46, - "discountPercentage": 10.2, - "rating": 4.98, - "stock": 61, - "brand": "Strap Skeleton", - "category": "mens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/64/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/64/1.jpg", - "https://i.dummyjson.com/data/products/64/2.webp", - "https://i.dummyjson.com/data/products/64/3.jpg", - "https://i.dummyjson.com/data/products/64/thumbnail.jpg" - ] - }, - { - "id": 65, - "title": "Stainless Steel Wrist Watch", - "description": "Stylish Watch For Man (Luxury) Classy Men's Stainless Steel Wrist Watch - Box Packed", - "price": 47, - "discountPercentage": 17.79, - "rating": 4.79, - "stock": 94, - "brand": "Stainless", - "category": "mens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/65/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/65/1.jpg", - "https://i.dummyjson.com/data/products/65/2.webp", - "https://i.dummyjson.com/data/products/65/3.jpg", - "https://i.dummyjson.com/data/products/65/4.webp", - "https://i.dummyjson.com/data/products/65/thumbnail.webp" - ] - }, - { - "id": 66, - "title": "Steel Analog Couple Watches", - "description": "Elegant design, Stylish ,Unique & Trendy,Comfortable wear", - "price": 35, - "discountPercentage": 3.23, - "rating": 4.79, - "stock": 24, - "brand": "Eastern Watches", - "category": "womens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/66/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/66/1.jpg", - "https://i.dummyjson.com/data/products/66/2.jpg", - "https://i.dummyjson.com/data/products/66/3.jpg", - "https://i.dummyjson.com/data/products/66/4.JPG", - "https://i.dummyjson.com/data/products/66/thumbnail.jpg" - ] - }, - { - "id": 67, - "title": "Fashion Magnetic Wrist Watch", - "description": "Buy this awesome The product is originally manufactured by the company and it's a top selling product with a very reasonable", - "price": 60, - "discountPercentage": 16.69, - "rating": 4.03, - "stock": 46, - "brand": "Eastern Watches", - "category": "womens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/67/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/67/1.jpg", - "https://i.dummyjson.com/data/products/67/2.jpg", - "https://i.dummyjson.com/data/products/67/3.jpg", - "https://i.dummyjson.com/data/products/67/4.jpg", - "https://i.dummyjson.com/data/products/67/thumbnail.jpg" - ] - }, - { - "id": 68, - "title": "Stylish Luxury Digital Watch", - "description": "Stylish Luxury Digital Watch For Girls / Women - Led Smart Ladies Watches For Girls", - "price": 57, - "discountPercentage": 9.03, - "rating": 4.55, - "stock": 77, - "brand": "Luxury Digital", - "category": "womens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/68/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/68/1.jpg", - "https://i.dummyjson.com/data/products/68/2.jpg" - ] - }, - { - "id": 69, - "title": "Golden Watch Pearls Bracelet Watch", - "description": "Product details of Golden Watch Pearls Bracelet Watch For Girls - Golden Chain Ladies Bracelate Watch for Women", - "price": 47, - "discountPercentage": 17.55, - "rating": 4.77, - "stock": 89, - "brand": "Watch Pearls", - "category": "womens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/69/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/69/1.jpg", - "https://i.dummyjson.com/data/products/69/2.jpg", - "https://i.dummyjson.com/data/products/69/3.webp", - "https://i.dummyjson.com/data/products/69/4.jpg", - "https://i.dummyjson.com/data/products/69/thumbnail.jpg" - ] - }, - { - "id": 70, - "title": "Stainless Steel Women", - "description": "Fashion Skmei 1830 Shell Dial Stainless Steel Women Wrist Watch Lady Bracelet Watch Quartz Watches Ladies", - "price": 35, - "discountPercentage": 8.98, - "rating": 4.08, - "stock": 111, - "brand": "Bracelet", - "category": "womens-watches", - "thumbnail": "https://i.dummyjson.com/data/products/70/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/70/1.jpg", - "https://i.dummyjson.com/data/products/70/2.jpg", - "https://i.dummyjson.com/data/products/70/thumbnail.jpg" - ] - }, - { - "id": 71, - "title": "Women Shoulder Bags", - "description": "LouisWill Women Shoulder Bags Long Clutches Cross Body Bags Phone Bags PU Leather Hand Bags Large Capacity Card Holders Zipper Coin Purses Fashion Crossbody Bags for Girls Ladies", - "price": 46, - "discountPercentage": 14.65, - "rating": 4.71, - "stock": 17, - "brand": "LouisWill", - "category": "womens-bags", - "thumbnail": "https://i.dummyjson.com/data/products/71/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/71/1.jpg", - "https://i.dummyjson.com/data/products/71/2.jpg", - "https://i.dummyjson.com/data/products/71/3.webp", - "https://i.dummyjson.com/data/products/71/thumbnail.jpg" - ] - }, - { - "id": 72, - "title": "Handbag For Girls", - "description": "This fashion is designed to add a charming effect to your casual outfit. This Bag is made of synthetic leather.", - "price": 23, - "discountPercentage": 17.5, - "rating": 4.91, - "stock": 27, - "brand": "LouisWill", - "category": "womens-bags", - "thumbnail": "https://i.dummyjson.com/data/products/72/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/72/1.jpg", - "https://i.dummyjson.com/data/products/72/2.png", - "https://i.dummyjson.com/data/products/72/3.webp", - "https://i.dummyjson.com/data/products/72/4.jpg", - "https://i.dummyjson.com/data/products/72/thumbnail.webp" - ] - }, - { - "id": 73, - "title": "Fancy hand clutch", - "description": "This fashion is designed to add a charming effect to your casual outfit. This Bag is made of synthetic leather.", - "price": 44, - "discountPercentage": 10.39, - "rating": 4.18, - "stock": 101, - "brand": "Bracelet", - "category": "womens-bags", - "thumbnail": "https://i.dummyjson.com/data/products/73/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/73/1.jpg", - "https://i.dummyjson.com/data/products/73/2.webp", - "https://i.dummyjson.com/data/products/73/3.jpg", - "https://i.dummyjson.com/data/products/73/thumbnail.jpg" - ] - }, - { - "id": 74, - "title": "Leather Hand Bag", - "description": "It features an attractive design that makes it a must have accessory in your collection. We sell different kind of bags for boys, kids, women, girls and also for unisex.", - "price": 57, - "discountPercentage": 11.19, - "rating": 4.01, - "stock": 43, - "brand": "Copenhagen Luxe", - "category": "womens-bags", - "thumbnail": "https://i.dummyjson.com/data/products/74/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/74/1.jpg", - "https://i.dummyjson.com/data/products/74/2.jpg", - "https://i.dummyjson.com/data/products/74/3.jpg", - "https://i.dummyjson.com/data/products/74/4.jpg", - "https://i.dummyjson.com/data/products/74/thumbnail.jpg" - ] - }, - { - "id": 75, - "title": "Seven Pocket Women Bag", - "description": "Seven Pocket Women Bag Handbags Lady Shoulder Crossbody Bag Female Purse Seven Pocket Bag", - "price": 68, - "discountPercentage": 14.87, - "rating": 4.93, - "stock": 13, - "brand": "Steal Frame", - "category": "womens-bags", - "thumbnail": "https://i.dummyjson.com/data/products/75/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/75/1.jpg", - "https://i.dummyjson.com/data/products/75/2.jpg", - "https://i.dummyjson.com/data/products/75/3.jpg", - "https://i.dummyjson.com/data/products/75/thumbnail.jpg" - ] - }, - { - "id": 76, - "title": "Silver Ring Set Women", - "description": "Jewelry Type:RingsCertificate Type:NonePlating:Silver PlatedShapeattern:noneStyle:CLASSICReligious", - "price": 70, - "discountPercentage": 13.57, - "rating": 4.61, - "stock": 51, - "brand": "Darojay", - "category": "womens-jewellery", - "thumbnail": "https://i.dummyjson.com/data/products/76/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/76/1.jpg", - "https://i.dummyjson.com/data/products/76/2.jpg", - "https://i.dummyjson.com/data/products/76/thumbnail.jpg" - ] - }, - { - "id": 77, - "title": "Rose Ring", - "description": "Brand: The Greetings Flower Colour: RedRing Colour: GoldenSize: Adjustable", - "price": 100, - "discountPercentage": 3.22, - "rating": 4.21, - "stock": 149, - "brand": "Copenhagen Luxe", - "category": "womens-jewellery", - "thumbnail": "https://i.dummyjson.com/data/products/77/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/77/1.jpg", - "https://i.dummyjson.com/data/products/77/2.jpg", - "https://i.dummyjson.com/data/products/77/3.jpg", - "https://i.dummyjson.com/data/products/77/thumbnail.jpg" - ] - }, - { - "id": 78, - "title": "Rhinestone Korean Style Open Rings", - "description": "Fashion Jewellery 3Pcs Adjustable Pearl Rhinestone Korean Style Open Rings For Women", - "price": 30, - "discountPercentage": 8.02, - "rating": 4.69, - "stock": 9, - "brand": "Fashion Jewellery", - "category": "womens-jewellery", - "thumbnail": "https://i.dummyjson.com/data/products/78/thumbnail.jpg", - "images": ["https://i.dummyjson.com/data/products/78/thumbnail.jpg"] - }, - { - "id": 79, - "title": "Elegant Female Pearl Earrings", - "description": "Elegant Female Pearl Earrings Set Zircon Pearl Earings Women Party Accessories 9 Pairs/Set", - "price": 30, - "discountPercentage": 12.8, - "rating": 4.74, - "stock": 16, - "brand": "Fashion Jewellery", - "category": "womens-jewellery", - "thumbnail": "https://i.dummyjson.com/data/products/79/thumbnail.jpg", - "images": ["https://i.dummyjson.com/data/products/79/1.jpg"] - }, - { - "id": 80, - "title": "Chain Pin Tassel Earrings", - "description": "Pair Of Ear Cuff Butterfly Long Chain Pin Tassel Earrings - Silver ( Long Life Quality Product)", - "price": 45, - "discountPercentage": 17.75, - "rating": 4.59, - "stock": 9, - "brand": "Cuff Butterfly", - "category": "womens-jewellery", - "thumbnail": "https://i.dummyjson.com/data/products/80/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/80/1.jpg", - "https://i.dummyjson.com/data/products/80/2.jpg", - "https://i.dummyjson.com/data/products/80/3.png", - "https://i.dummyjson.com/data/products/80/4.jpg", - "https://i.dummyjson.com/data/products/80/thumbnail.jpg" - ] - }, - { - "id": 81, - "title": "Round Silver Frame Sun Glasses", - "description": "A pair of sunglasses can protect your eyes from being hurt. For car driving, vacation travel, outdoor activities, social gatherings,", - "price": 19, - "discountPercentage": 10.1, - "rating": 4.94, - "stock": 78, - "brand": "Designer Sun Glasses", - "category": "sunglasses", - "thumbnail": "https://i.dummyjson.com/data/products/81/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/81/1.jpg", - "https://i.dummyjson.com/data/products/81/2.jpg", - "https://i.dummyjson.com/data/products/81/3.jpg", - "https://i.dummyjson.com/data/products/81/4.webp", - "https://i.dummyjson.com/data/products/81/thumbnail.jpg" - ] - }, - { - "id": 82, - "title": "Kabir Singh Square Sunglass", - "description": "Orignal Metal Kabir Singh design 2020 Sunglasses Men Brand Designer Sun Glasses Kabir Singh Square Sunglass", - "price": 50, - "discountPercentage": 15.6, - "rating": 4.62, - "stock": 78, - "brand": "Designer Sun Glasses", - "category": "sunglasses", - "thumbnail": "https://i.dummyjson.com/data/products/82/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/82/1.jpg", - "https://i.dummyjson.com/data/products/82/2.webp", - "https://i.dummyjson.com/data/products/82/3.jpg", - "https://i.dummyjson.com/data/products/82/4.jpg", - "https://i.dummyjson.com/data/products/82/thumbnail.jpg" - ] - }, - { - "id": 83, - "title": "Wiley X Night Vision Yellow Glasses", - "description": "Wiley X Night Vision Yellow Glasses for Riders - Night Vision Anti Fog Driving Glasses - Free Night Glass Cover - Shield Eyes From Dust and Virus- For Night Sport Matches", - "price": 30, - "discountPercentage": 6.33, - "rating": 4.97, - "stock": 115, - "brand": "mastar watch", - "category": "sunglasses", - "thumbnail": "https://i.dummyjson.com/data/products/83/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/83/1.jpg", - "https://i.dummyjson.com/data/products/83/2.jpg", - "https://i.dummyjson.com/data/products/83/3.jpg", - "https://i.dummyjson.com/data/products/83/4.jpg", - "https://i.dummyjson.com/data/products/83/thumbnail.jpg" - ] - }, - { - "id": 84, - "title": "Square Sunglasses", - "description": "Fashion Oversized Square Sunglasses Retro Gradient Big Frame Sunglasses For Women One Piece Gafas Shade Mirror Clear Lens 17059", - "price": 28, - "discountPercentage": 13.89, - "rating": 4.64, - "stock": 64, - "brand": "mastar watch", - "category": "sunglasses", - "thumbnail": "https://i.dummyjson.com/data/products/84/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/84/1.jpg", - "https://i.dummyjson.com/data/products/84/2.jpg", - "https://i.dummyjson.com/data/products/84/thumbnail.jpg" - ] - }, - { - "id": 85, - "title": "LouisWill Men Sunglasses", - "description": "LouisWill Men Sunglasses Polarized Sunglasses UV400 Sunglasses Day Night Dual Use Safety Driving Night Vision Eyewear AL-MG Frame Sun Glasses with Free Box for Drivers", - "price": 50, - "discountPercentage": 11.27, - "rating": 4.98, - "stock": 92, - "brand": "LouisWill", - "category": "sunglasses", - "thumbnail": "https://i.dummyjson.com/data/products/85/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/85/1.jpg", - "https://i.dummyjson.com/data/products/85/2.jpg", - "https://i.dummyjson.com/data/products/85/thumbnail.jpg" - ] - }, - { - "id": 86, - "title": "Bluetooth Aux", - "description": "Bluetooth Aux Bluetooth Car Aux Car Bluetooth Transmitter Aux Audio Receiver Handfree Car Bluetooth Music Receiver Universal 3.5mm Streaming A2DP Wireless Auto AUX Audio Adapter With Mic For Phone MP3", - "price": 25, - "discountPercentage": 10.56, - "rating": 4.57, - "stock": 22, - "brand": "Car Aux", - "category": "automotive", - "thumbnail": "https://i.dummyjson.com/data/products/86/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/86/1.jpg", - "https://i.dummyjson.com/data/products/86/2.webp", - "https://i.dummyjson.com/data/products/86/3.jpg", - "https://i.dummyjson.com/data/products/86/4.jpg", - "https://i.dummyjson.com/data/products/86/thumbnail.jpg" - ] - }, - { - "id": 87, - "title": "t Temperature Controller Incubator Controller", - "description": "Both Heat and Cool Purpose, Temperature control range; -50 to +110, Temperature measurement accuracy; 0.1, Control accuracy; 0.1", - "price": 40, - "discountPercentage": 11.3, - "rating": 4.54, - "stock": 37, - "brand": "W1209 DC12V", - "category": "automotive", - "thumbnail": "https://i.dummyjson.com/data/products/87/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/87/1.jpg", - "https://i.dummyjson.com/data/products/87/2.jpg", - "https://i.dummyjson.com/data/products/87/3.jpg", - "https://i.dummyjson.com/data/products/87/4.jpg", - "https://i.dummyjson.com/data/products/87/thumbnail.jpg" - ] - }, - { - "id": 88, - "title": "TC Reusable Silicone Magic Washing Gloves", - "description": "TC Reusable Silicone Magic Washing Gloves with Scrubber, Cleaning Brush Scrubber Gloves Heat Resistant Pair for Cleaning of Kitchen, Dishes, Vegetables and Fruits, Bathroom, Car Wash, Pet Care and Multipurpose", - "price": 29, - "discountPercentage": 3.19, - "rating": 4.98, - "stock": 42, - "brand": "TC Reusable", - "category": "automotive", - "thumbnail": "https://i.dummyjson.com/data/products/88/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/88/1.jpg", - "https://i.dummyjson.com/data/products/88/2.jpg", - "https://i.dummyjson.com/data/products/88/3.jpg", - "https://i.dummyjson.com/data/products/88/4.webp", - "https://i.dummyjson.com/data/products/88/thumbnail.jpg" - ] - }, - { - "id": 89, - "title": "Qualcomm original Car Charger", - "description": "best Quality CHarger , Highly Recommended to all best Quality CHarger , Highly Recommended to all", - "price": 40, - "discountPercentage": 17.53, - "rating": 4.2, - "stock": 79, - "brand": "TC Reusable", - "category": "automotive", - "thumbnail": "https://i.dummyjson.com/data/products/89/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/89/1.jpg", - "https://i.dummyjson.com/data/products/89/2.jpg", - "https://i.dummyjson.com/data/products/89/3.jpg", - "https://i.dummyjson.com/data/products/89/4.jpg", - "https://i.dummyjson.com/data/products/89/thumbnail.jpg" - ] - }, - { - "id": 90, - "title": "Cycle Bike Glow", - "description": "Universal fitment and easy to install no special wires, can be easily installed and removed. Fits most standard tyre air stem valves of road, mountain bicycles, motocycles and cars.Bright led will turn on w", - "price": 35, - "discountPercentage": 11.08, - "rating": 4.1, - "stock": 63, - "brand": "Neon LED Light", - "category": "automotive", - "thumbnail": "https://i.dummyjson.com/data/products/90/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/90/1.jpg", - "https://i.dummyjson.com/data/products/90/2.jpg", - "https://i.dummyjson.com/data/products/90/3.jpg", - "https://i.dummyjson.com/data/products/90/4.jpg", - "https://i.dummyjson.com/data/products/90/thumbnail.jpg" - ] - }, - { - "id": 91, - "title": "Black Motorbike", - "description": "Engine Type:Wet sump, Single Cylinder, Four Stroke, Two Valves, Air Cooled with SOHC (Single Over Head Cam) Chain Drive Bore & Stroke:47.0 x 49.5 MM", - "price": 569, - "discountPercentage": 13.63, - "rating": 4.04, - "stock": 115, - "brand": "METRO 70cc Motorcycle - MR70", - "category": "motorcycle", - "thumbnail": "https://i.dummyjson.com/data/products/91/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/91/1.jpg", - "https://i.dummyjson.com/data/products/91/2.jpg", - "https://i.dummyjson.com/data/products/91/3.jpg", - "https://i.dummyjson.com/data/products/91/4.jpg", - "https://i.dummyjson.com/data/products/91/thumbnail.jpg" - ] - }, - { - "id": 92, - "title": "HOT SALE IN EUROPE electric racing motorcycle", - "description": "HOT SALE IN EUROPE electric racing motorcycle electric motorcycle for sale adult electric motorcycles", - "price": 920, - "discountPercentage": 14.4, - "rating": 4.19, - "stock": 22, - "brand": "BRAVE BULL", - "category": "motorcycle", - "thumbnail": "https://i.dummyjson.com/data/products/92/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/92/1.jpg", - "https://i.dummyjson.com/data/products/92/2.jpg", - "https://i.dummyjson.com/data/products/92/3.jpg", - "https://i.dummyjson.com/data/products/92/4.jpg" - ] - }, - { - "id": 93, - "title": "Automatic Motor Gas Motorcycles", - "description": "150cc 4-Stroke Motorcycle Automatic Motor Gas Motorcycles Scooter motorcycles 150cc scooter", - "price": 1050, - "discountPercentage": 3.34, - "rating": 4.84, - "stock": 127, - "brand": "shock absorber", - "category": "motorcycle", - "thumbnail": "https://i.dummyjson.com/data/products/93/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/93/1.jpg", - "https://i.dummyjson.com/data/products/93/2.jpg", - "https://i.dummyjson.com/data/products/93/3.jpg", - "https://i.dummyjson.com/data/products/93/4.jpg", - "https://i.dummyjson.com/data/products/93/thumbnail.jpg" - ] - }, - { - "id": 94, - "title": "new arrivals Fashion motocross goggles", - "description": "new arrivals Fashion motocross goggles motorcycle motocross racing motorcycle", - "price": 900, - "discountPercentage": 3.85, - "rating": 4.06, - "stock": 109, - "brand": "JIEPOLLY", - "category": "motorcycle", - "thumbnail": "https://i.dummyjson.com/data/products/94/thumbnail.webp", - "images": [ - "https://i.dummyjson.com/data/products/94/1.webp", - "https://i.dummyjson.com/data/products/94/2.jpg", - "https://i.dummyjson.com/data/products/94/3.jpg", - "https://i.dummyjson.com/data/products/94/thumbnail.webp" - ] - }, - { - "id": 95, - "title": "Wholesale cargo lashing Belt", - "description": "Wholesale cargo lashing Belt Tie Down end Ratchet strap customized strap 25mm motorcycle 1500kgs with rubber handle", - "price": 930, - "discountPercentage": 17.67, - "rating": 4.21, - "stock": 144, - "brand": "Xiangle", - "category": "motorcycle", - "thumbnail": "https://i.dummyjson.com/data/products/95/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/95/1.jpg", - "https://i.dummyjson.com/data/products/95/2.jpg", - "https://i.dummyjson.com/data/products/95/3.jpg", - "https://i.dummyjson.com/data/products/95/4.jpg", - "https://i.dummyjson.com/data/products/95/thumbnail.jpg" - ] - }, - { - "id": 96, - "title": "lighting ceiling kitchen", - "description": "Wholesale slim hanging decorative kid room lighting ceiling kitchen chandeliers pendant light modern", - "price": 30, - "discountPercentage": 14.89, - "rating": 4.83, - "stock": 96, - "brand": "lightingbrilliance", - "category": "lighting", - "thumbnail": "https://i.dummyjson.com/data/products/96/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/96/1.jpg", - "https://i.dummyjson.com/data/products/96/2.jpg", - "https://i.dummyjson.com/data/products/96/3.jpg", - "https://i.dummyjson.com/data/products/96/4.jpg", - "https://i.dummyjson.com/data/products/96/thumbnail.jpg" - ] - }, - { - "id": 97, - "title": "Metal Ceramic Flower", - "description": "Metal Ceramic Flower Chandelier Home Lighting American Vintage Hanging Lighting Pendant Lamp", - "price": 35, - "discountPercentage": 10.94, - "rating": 4.93, - "stock": 146, - "brand": "Ifei Home", - "category": "lighting", - "thumbnail": "https://i.dummyjson.com/data/products/97/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/97/1.jpg", - "https://i.dummyjson.com/data/products/97/2.jpg", - "https://i.dummyjson.com/data/products/97/3.jpg", - "https://i.dummyjson.com/data/products/97/4.webp", - "https://i.dummyjson.com/data/products/97/thumbnail.jpg" - ] - }, - { - "id": 98, - "title": "3 lights lndenpant kitchen islang", - "description": "3 lights lndenpant kitchen islang dining room pendant rice paper chandelier contemporary led pendant light modern chandelier", - "price": 34, - "discountPercentage": 5.92, - "rating": 4.99, - "stock": 44, - "brand": "DADAWU", - "category": "lighting", - "thumbnail": "https://i.dummyjson.com/data/products/98/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/98/1.jpg", - "https://i.dummyjson.com/data/products/98/2.jpg", - "https://i.dummyjson.com/data/products/98/3.jpg", - "https://i.dummyjson.com/data/products/98/4.jpg", - "https://i.dummyjson.com/data/products/98/thumbnail.jpg" - ] - }, - { - "id": 99, - "title": "American Vintage Wood Pendant Light", - "description": "American Vintage Wood Pendant Light Farmhouse Antique Hanging Lamp Lampara Colgante", - "price": 46, - "discountPercentage": 8.84, - "rating": 4.32, - "stock": 138, - "brand": "Ifei Home", - "category": "lighting", - "thumbnail": "https://i.dummyjson.com/data/products/99/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/99/1.jpg", - "https://i.dummyjson.com/data/products/99/2.jpg", - "https://i.dummyjson.com/data/products/99/3.jpg", - "https://i.dummyjson.com/data/products/99/4.jpg", - "https://i.dummyjson.com/data/products/99/thumbnail.jpg" - ] - }, - { - "id": 100, - "title": "Crystal chandelier maria theresa for 12 light", - "description": "Crystal chandelier maria theresa for 12 light", - "price": 47, - "discountPercentage": 16, - "rating": 4.74, - "stock": 133, - "brand": "YIOSI", - "category": "lighting", - "thumbnail": "https://i.dummyjson.com/data/products/100/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/100/1.jpg", - "https://i.dummyjson.com/data/products/100/2.jpg", - "https://i.dummyjson.com/data/products/100/3.jpg", - "https://i.dummyjson.com/data/products/100/thumbnail.jpg" - ] - }, - { - "title": "Mac Book Air ", - "description": "Mac Book Air ", - "brand": "Apple", - "category": "laptops", - "price": 1111, - "discountPercentage": 11, - "stock": 22, - "thumbnail": "https://i.dummyjson.com/data/products/6/thumbnail.png", - "images": [ - "https://i.dummyjson.com/data/products/6/thumbnail.png", - "https://i.dummyjson.com/data/products/6/thumbnail.png", - "https://i.dummyjson.com/data/products/6/thumbnail.png", - "https://i.dummyjson.com/data/products/6/thumbnail.png" - ], - "id": 101 - } - ], - "brands": [ - { - "value": "Apple", - "label": "Apple", - "checked": false - }, - { - "value": "Samsung", - "label": "Samsung", - "checked": false - }, - { - "value": "OPPO", - "label": "OPPO", - "checked": false - }, - { - "value": "Huawei", - "label": "Huawei", - "checked": false - }, - { - "value": "Microsoft Surface", - "label": "Microsoft Surface", - "checked": false - }, - { - "value": "Infinix", - "label": "Infinix", - "checked": false - }, - { - "value": "HP Pavilion", - "label": "HP Pavilion", - "checked": false - }, - { - "value": "Impression of Acqua Di Gio", - "label": "Impression of Acqua Di Gio", - "checked": false - }, - { - "value": "Royal_Mirage", - "label": "Royal_Mirage", - "checked": false - }, - { - "value": "Fog Scent Xpressio", - "label": "Fog Scent Xpressio", - "checked": false - }, - { - "value": "Al Munakh", - "label": "Al Munakh", - "checked": false - }, - { - "value": "Lord - Al-Rehab", - "label": "Lord Al Rehab", - "checked": false - }, - { - "value": "L'Oreal Paris", - "label": "L'Oreal Paris", - "checked": false - }, - { - "value": "Hemani Tea", - "label": "Hemani Tea", - "checked": false - }, - { - "value": "Dermive", - "label": "Dermive", - "checked": false - }, - { - "value": "ROREC White Rice", - "label": "ROREC White Rice", - "checked": false - }, - { - "value": "Fair & Clear", - "label": "Fair & Clear", - "checked": false - }, - { - "value": "Saaf & Khaas", - "label": "Saaf & Khaas", - "checked": false - }, - { - "value": "Bake Parlor Big", - "label": "Bake Parlor Big", - "checked": false - }, - { - "value": "Baking Food Items", - "label": "Baking Food Items", - "checked": false - }, - { - "value": "fauji", - "label": "fauji", - "checked": false - }, - { - "value": "Dry Rose", - "label": "Dry Rose", - "checked": false - }, - { - "value": "Boho Decor", - "label": "Boho Decor", - "checked": false - }, - { - "value": "Flying Wooden", - "label": "Flying Wooden", - "checked": false - }, - { - "value": "LED Lights", - "label": "LED Lights", - "checked": false - }, - { - "value": "luxury palace", - "label": "luxury palace", - "checked": false - }, - { - "value": "Golden", - "label": "Golden", - "checked": false - }, - { - "value": "Furniture Bed Set", - "label": "Furniture Bed Set", - "checked": false - }, - { - "value": "Ratttan Outdoor", - "label": "Ratttan Outdoor", - "checked": false - }, - { - "value": "Kitchen Shelf", - "label": "Kitchen Shelf", - "checked": false - }, - { - "value": "Multi Purpose", - "label": "Multi Purpose", - "checked": false - }, - { - "value": "AmnaMart", - "label": "AmnaMart", - "checked": false - }, - { - "value": "Professional Wear", - "label": "Professional Wear", - "checked": false - }, - { - "value": "Soft Cotton", - "label": "Soft Cotton", - "checked": false - }, - { - "value": "Top Sweater", - "label": "Top Sweater", - "checked": false - }, - { - "value": "RED MICKY MOUSE..", - "label": "RED MICKY MOUSE..", - "checked": false - }, - { - "value": "Digital Printed", - "label": "Digital Printed", - "checked": false - }, - { - "value": "Ghazi Fabric", - "label": "Ghazi Fabric", - "checked": false - }, - { - "value": "IELGY", - "label": "IELGY", - "checked": false - }, - { - "value": "IELGY fashion", - "label": "IELGY fashion", - "checked": false - }, - { - "value": "Synthetic Leather", - "label": "Synthetic Leather", - "checked": false - }, - { - "value": "Sandals Flip Flops", - "label": "Sandals Flip Flops", - "checked": false - }, - { - "value": "Maasai Sandals", - "label": "Maasai Sandals", - "checked": false - }, - { - "value": "Arrivals Genuine", - "label": "Arrivals Genuine", - "checked": false - }, - { - "value": "Vintage Apparel", - "label": "Vintage Apparel", - "checked": false - }, - { - "value": "FREE FIRE", - "label": "FREE FIRE", - "checked": false - }, - { - "value": "The Warehouse", - "label": "The Warehouse", - "checked": false - }, - { - "value": "Sneakers", - "label": "Sneakers", - "checked": false - }, - { - "value": "Rubber", - "label": "Rubber", - "checked": false - }, - { - "value": "Naviforce", - "label": "Naviforce", - "checked": false - }, - { - "value": "SKMEI 9117", - "label": "SKMEI 9117", - "checked": false - }, - { - "value": "Strap Skeleton", - "label": "Strap Skeleton", - "checked": false - }, - { - "value": "Stainless", - "label": "Stainless", - "checked": false - }, - { - "value": "Eastern Watches", - "label": "Eastern Watches", - "checked": false - }, - { - "value": "Luxury Digital", - "label": "Luxury Digital", - "checked": false - }, - { - "value": "Watch Pearls", - "label": "Watch Pearls", - "checked": false - }, - { - "value": "Bracelet", - "label": "Bracelet", - "checked": false - }, - { - "value": "LouisWill", - "label": "LouisWill", - "checked": false - }, - { - "value": "Copenhagen Luxe", - "label": "Copenhagen Luxe", - "checked": false - }, - { - "value": "Steal Frame", - "label": "Steal Frame", - "checked": false - }, - { - "value": "Darojay", - "label": "Darojay", - "checked": false - }, - { - "value": "Fashion Jewellery", - "label": "Fashion Jewellery", - "checked": false - }, - { - "value": "Cuff Butterfly", - "label": "Cuff Butterfly", - "checked": false - }, - { - "value": "Designer Sun Glasses", - "label": "Designer Sun Glasses", - "checked": false - }, - { - "value": "mastar watch", - "label": "mastar watch", - "checked": false - }, - { - "value": "Car Aux", - "label": "Car Aux", - "checked": false - }, - { - "value": "W1209 DC12V", - "label": "W1209 DC12V", - "checked": false - }, - { - "value": "TC Reusable", - "label": "TC Reusable", - "checked": false - }, - { - "value": "Neon LED Light", - "label": "Neon LED Light", - "checked": false - }, - { - "value": "METRO 70cc Motorcycle - MR70", - "label": "METRO 70cc Motorcycle MR70", - "checked": false - }, - { - "value": "BRAVE BULL", - "label": "BRAVE BULL", - "checked": false - }, - { - "value": "shock absorber", - "label": "shock absorber", - "checked": false - }, - { - "value": "JIEPOLLY", - "label": "JIEPOLLY", - "checked": false - }, - { - "value": "Xiangle", - "label": "Xiangle", - "checked": false - }, - { - "value": "lightingbrilliance", - "label": "lightingbrilliance", - "checked": false - }, - { - "value": "Ifei Home", - "label": "Ifei Home", - "checked": false - }, - { - "value": "DADAWU", - "label": "DADAWU", - "checked": false - }, - { - "value": "YIOSI", - "label": "YIOSI", - "checked": false - } - ], - "categories": [ - { - "value": "smartphones", - "label": "smartphones", - "checked": false - }, - { - "value": "laptops", - "label": "laptops", - "checked": false - }, - { - "value": "fragrances", - "label": "fragrances", - "checked": false - }, - { - "value": "skincare", - "label": "skincare", - "checked": false - }, - { - "value": "groceries", - "label": "groceries", - "checked": false - }, - { - "value": "home-decoration", - "label": "home decoration", - "checked": false - }, - { - "value": "furniture", - "label": "furniture", - "checked": false - }, - { - "value": "tops", - "label": "tops", - "checked": false - }, - { - "value": "womens-dresses", - "label": "womens dresses", - "checked": false - }, - { - "value": "womens-shoes", - "label": "womens shoes", - "checked": false - }, - { - "value": "mens-shirts", - "label": "mens shirts", - "checked": false - }, - { - "value": "mens-shoes", - "label": "mens shoes", - "checked": false - }, - { - "value": "mens-watches", - "label": "mens watches", - "checked": false - }, - { - "value": "womens-watches", - "label": "womens watches", - "checked": false - }, - { - "value": "womens-bags", - "label": "womens bags", - "checked": false - }, - { - "value": "womens-jewellery", - "label": "womens jewellery", - "checked": false - }, - { - "value": "sunglasses", - "label": "sunglasses", - "checked": false - }, - { - "value": "automotive", - "label": "automotive", - "checked": false - }, - { - "value": "motorcycle", - "label": "motorcycle", - "checked": false - }, - { - "value": "lighting", - "label": "lighting", - "checked": false - } - ], - "users": [ - { - "email": "test@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Abhishek Rathore", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" + "price": 10.99, + "discountPercentage": 18.15, + "rating": 2.74, + "stock": 40, + "tags": ["pet supplies", "dog food"], + "sku": "A6QRCH37", + "weight": 2, + "dimensions": { + "width": 29.39, + "height": 29.77, + "depth": 20.54 + }, + "warrantyInformation": "1 year warranty", + "shippingInformation": "Ships in 1 month", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Highly impressed!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Leo Rivera", + "reviewerEmail": "leo.rivera@x.dummyjson.com" }, { - "name": "Jack Morris", - "email": "jack@gmail.com", - "city": "Delhi", - "state": "Delhi", - "pinCode": "110006", - "phone": "12312331232", - "street": "12th cross" - } - ], - "id": 1 - }, - { - "email": "demo@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" + "rating": 4, + "comment": "Highly recommended!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Alexander Jones", + "reviewerEmail": "alexander.jones@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Addison Wright", + "reviewerEmail": "addison.wright@x.dummyjson.com" } ], - "id": 2 - }, - { - "email": "admin@gmail.com", - "password": "Qwerty123", - "addresses": [], - "role": "admin", - "id": 3 - } - ], - "cart": [ - { - "title": "Huawei P30", - "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", - "price": 499, - "discountPercentage": 10.58, - "rating": 4.09, - "stock": 32, - "brand": "Huawei", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", + "returnPolicy": "90 days return policy", + "minimumOrderQuantity": 29, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "7957222289508", + "qrCode": "https://dummyjson.com/public/qr-code.png" + }, "images": [ - "https://i.dummyjson.com/data/products/5/1.jpg", - "https://i.dummyjson.com/data/products/5/2.jpg", - "https://i.dummyjson.com/data/products/5/3.jpg" - ], - "productId": 5, - "quantity": 1, - "user": 2, - "id": 1 - } - ], - "orders": [ - { - "items": [ - { - "title": "iPhone X", - "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", - "price": 899, - "discountPercentage": 17.94, - "rating": 4.44, - "stock": 34, - "brand": "Apple", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/2/1.jpg", - "https://i.dummyjson.com/data/products/2/2.jpg", - "https://i.dummyjson.com/data/products/2/3.jpg", - "https://i.dummyjson.com/data/products/2/thumbnail.jpg" - ], - "quantity": 2, - "user": 1, - "id": 6 - } + "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/1.png" ], - "totalAmount": 1798, - "totalItems": 2, - "user": { - "email": "test@gmail.com", - "password": "Qwerty123", - "addresses": [ - { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - } - ], - "id": 1 - }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - "status": "dispatched", - "id": 1 + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/thumbnail.png" }, { - "items": [ - { - "title": "iPhone X", - "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", - "price": 899, - "discountPercentage": 17.94, - "rating": 4.44, - "stock": 34, - "brand": "Apple", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/2/1.jpg", - "https://i.dummyjson.com/data/products/2/2.jpg", - "https://i.dummyjson.com/data/products/2/3.jpg", - "https://i.dummyjson.com/data/products/2/thumbnail.jpg" - ], - "quantity": 2, - "user": 1, - "id": 6 - } - ], - "totalAmount": 1798, - "totalItems": 2, - "user": { - "email": "test@gmail.com", - "password": "Qwerty123", - "addresses": [ - { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - } - ], - "id": 1 - }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" + "id": 23, + "title": "Eggs", + "description": "Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.", + "category": "groceries", + "price": 2.99, + "discountPercentage": 5.8, + "rating": 4.46, + "stock": 10, + "tags": ["dairy"], + "sku": "YA617RI7", + "weight": 4, + "dimensions": { + "width": 12.3, + "height": 10.99, + "depth": 15.53 }, - "status": "delivered", - "id": 2 - }, - { - "items": [ - { - "id": 3, - "title": "Samsung Universe 9", - "description": "Samsung's new variant which goes beyond Galaxy to the Universe", - "price": 1249, - "discountPercentage": 15.46, - "rating": 4.09, - "stock": 36, - "brand": "Samsung", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", - "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], - "quantity": 2, - "user": 2 + "warrantyInformation": "3 year warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 2, + "comment": "Very unhappy with my purchase!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Mateo Perez", + "reviewerEmail": "mateo.perez@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Cameron Perez", + "reviewerEmail": "cameron.perez@x.dummyjson.com" }, { - "id": 5, - "title": "Huawei P30", - "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", - "price": 499, - "discountPercentage": 10.58, - "rating": 4.09, - "stock": 32, - "brand": "Huawei", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/5/1.jpg", - "https://i.dummyjson.com/data/products/5/2.jpg", - "https://i.dummyjson.com/data/products/5/3.jpg" - ], - "quantity": 1, - "user": 2 + "rating": 5, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Aurora Barnes", + "reviewerEmail": "aurora.barnes@x.dummyjson.com" } ], - "totalAmount": 2997, - "totalItems": 3, - "user": { - "email": "demo@gmail.com", - "password": "Qwerty123", - "addresses": [ - { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - } - ], - "id": 2 + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 43, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "7095702028776", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "paymentMethod": "card", - "selectedAddress": { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - }, - "status": "cancelled", - "id": 3 - }, - { - "items": [ - { - "title": "iPhone 9", - "description": "An apple mobile which is nothing like apple", - "price": 549, - "discountPercentage": 12.96, - "rating": 4.69, - "stock": 94, - "brand": "Apple", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/1/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/1/1.jpg", - "https://i.dummyjson.com/data/products/1/2.jpg", - "https://i.dummyjson.com/data/products/1/3.jpg", - "https://i.dummyjson.com/data/products/1/4.jpg", - "https://i.dummyjson.com/data/products/1/thumbnail.jpg" - ], - "quantity": 2, - "user": 1, - "id": 1 - } + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Eggs/1.png" ], - "totalAmount": 1098, - "totalItems": 2, - "user": { - "email": "test@gmail.com", - "password": "Qwerty123", - "addresses": [ - { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - } - ], - "id": 1 - }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Abhishek R", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - "status": "pending", - "id": 4 + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Eggs/thumbnail.png" }, { - "items": [ - { - "title": "iPhone X", - "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", - "price": 899, - "discountPercentage": 17.94, - "rating": 4.44, - "stock": 34, - "brand": "Apple", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/2/1.jpg", - "https://i.dummyjson.com/data/products/2/2.jpg", - "https://i.dummyjson.com/data/products/2/3.jpg", - "https://i.dummyjson.com/data/products/2/thumbnail.jpg" - ], - "quantity": 1, - "user": 1, - "id": 1 + "id": 24, + "title": "Fish Steak", + "description": "Quality fish steak, suitable for grilling, baking, or pan-searing.", + "category": "groceries", + "price": 14.99, + "discountPercentage": 7, + "rating": 4.83, + "stock": 99, + "tags": ["seafood"], + "sku": "XNIH1MTA", + "weight": 8, + "dimensions": { + "width": 20.14, + "height": 8.4, + "depth": 10.01 + }, + "warrantyInformation": "1 year warranty", + "shippingInformation": "Ships in 1 month", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Great value for money!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Michael Johnson", + "reviewerEmail": "michael.johnson@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Julian Newton", + "reviewerEmail": "julian.newton@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Lila Hudson", + "reviewerEmail": "lila.hudson@x.dummyjson.com" } ], - "totalAmount": 899, - "totalItems": 1, - "user": { - "email": "test@gmail.com", - "password": "Qwerty123", - "addresses": [ - { - "name": "Abhishek Rathore", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - { - "name": "Jack Morris", - "email": "jack@gmail.com", - "city": "Delhi", - "state": "Delhi", - "pinCode": "110006", - "phone": "12312331232", - "street": "12th cross" - } - ], - "id": 1 + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 49, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "4250692197342", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Abhishek Rathore", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - "status": "pending", - "id": 5 + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png" }, { - "items": [ - { - "title": "iPhone X", - "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", - "price": 1111, - "discountPercentage": 17.94, - "rating": 0, - "stock": 34, - "brand": "Apple", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/2/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/2/1.jpg", - "https://i.dummyjson.com/data/products/2/2.jpg", - "https://i.dummyjson.com/data/products/2/3.jpg", - "https://i.dummyjson.com/data/products/2/thumbnail.jpg" - ], - "quantity": 2, - "user": 1, - "id": 1 + "id": 25, + "title": "Green Bell Pepper", + "description": "Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.", + "category": "groceries", + "price": 1.29, + "discountPercentage": 15.5, + "rating": 4.28, + "stock": 89, + "tags": ["vegetables"], + "sku": "HU7S7VQ0", + "weight": 7, + "dimensions": { + "width": 7.32, + "height": 14.31, + "depth": 21.38 + }, + "warrantyInformation": "5 year warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Maya Reed", + "reviewerEmail": "maya.reed@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Madison Collins", + "reviewerEmail": "madison.collins@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Would buy again!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Ethan Thompson", + "reviewerEmail": "ethan.thompson@x.dummyjson.com" } ], - "totalAmount": 1824, - "totalItems": 2, - "user": { - "email": "test@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Abhishek Rathore", - "email": "test@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Banaglore", - "state": "Karnataka", - "pinCode": "560034" - }, - { - "name": "Jack Morris", - "email": "jack@gmail.com", - "city": "Delhi", - "state": "Delhi", - "pinCode": "110006", - "phone": "12312331232", - "street": "12th cross" - } - ], - "id": 1 + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 1, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "7583442707568", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Jack Morris", - "email": "jack@gmail.com", - "city": "Delhi", - "state": "Delhi", - "pinCode": "110006", - "phone": "12312331232", - "street": "12th cross" - }, - "status": "pending", - "id": 6 + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png" }, { - "items": [ - { - "title": "Samsung Universe 9", - "description": "Samsung's new variant which goes beyond Galaxy to the Universe", - "price": 1249, - "discountPercentage": 15.46, - "rating": 4.09, - "stock": 36, - "brand": "Samsung", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", - "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], - "quantity": 1, - "user": 2, - "id": 1 + "id": 26, + "title": "Green Chili Pepper", + "description": "Spicy green chili pepper, ideal for adding heat to your favorite recipes.", + "category": "groceries", + "price": 0.99, + "discountPercentage": 18.51, + "rating": 4.43, + "stock": 8, + "tags": ["vegetables"], + "sku": "Y4RM3JCB", + "weight": 2, + "dimensions": { + "width": 18.67, + "height": 21.17, + "depth": 25.26 + }, + "warrantyInformation": "No warranty", + "shippingInformation": "Ships in 1-2 business days", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 2, + "comment": "Disappointing product!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Mateo Bennett", + "reviewerEmail": "mateo.bennett@x.dummyjson.com" }, { - "title": "Huawei P30", - "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", - "price": 499, - "discountPercentage": 10.58, - "rating": 4.09, - "stock": 32, - "brand": "Huawei", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/5/1.jpg", - "https://i.dummyjson.com/data/products/5/2.jpg", - "https://i.dummyjson.com/data/products/5/3.jpg" - ], - "quantity": 1, - "user": 2, - "id": 2 + "rating": 5, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Natalie Price", + "reviewerEmail": "natalie.price@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Avery Barnes", + "reviewerEmail": "avery.barnes@x.dummyjson.com" } ], - "totalAmount": 1502, - "totalItems": 2, - "user": { - "email": "demo@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - } - ], - "id": 2 + "returnPolicy": "30 days return policy", + "minimumOrderQuantity": 43, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "8400326844874", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - }, - "status": "pending", - "id": 7 + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png" }, { - "items": [ - { - "title": "Samsung Universe 9", - "description": "Samsung's new variant which goes beyond Galaxy to the Universe", - "price": 1249, - "discountPercentage": 15.46, - "rating": 4.09, - "stock": 36, - "brand": "Samsung", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/3/thumbnail.jpg", - "images": ["https://i.dummyjson.com/data/products/3/1.jpg"], - "quantity": 1, - "user": 2, - "id": 1 + "id": 27, + "title": "Honey Jar", + "description": "Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.", + "category": "groceries", + "price": 6.99, + "discountPercentage": 1.91, + "rating": 3.5, + "stock": 25, + "tags": ["condiments"], + "sku": "BTBNIIOU", + "weight": 9, + "dimensions": { + "width": 26.53, + "height": 27.11, + "depth": 6.63 + }, + "warrantyInformation": "2 year warranty", + "shippingInformation": "Ships overnight", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Fast shipping!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Nicholas Bailey", + "reviewerEmail": "nicholas.bailey@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Awesome product!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Gabriel Hayes", + "reviewerEmail": "gabriel.hayes@x.dummyjson.com" }, { - "title": "Huawei P30", - "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", - "price": 499, - "discountPercentage": 10.58, - "rating": 4.09, - "stock": 32, - "brand": "Huawei", - "category": "smartphones", - "thumbnail": "https://i.dummyjson.com/data/products/5/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/5/1.jpg", - "https://i.dummyjson.com/data/products/5/2.jpg", - "https://i.dummyjson.com/data/products/5/3.jpg" - ], - "quantity": 1, - "user": 2, - "id": 2 + "rating": 5, + "comment": "Highly impressed!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "James Garcia", + "reviewerEmail": "james.garcia@x.dummyjson.com" } ], - "totalAmount": 1502, - "totalItems": 2, - "user": { - "email": "demo@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - } - ], - "id": 2 + "returnPolicy": "90 days return policy", + "minimumOrderQuantity": 1, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "0668665656044", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - }, - "status": "pending", - "id": 8 + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/thumbnail.png" }, { - "items": [ - { - "title": "MacBook Pro", - "description": "MacBook Pro 2021 with mini-LED display may launch between September, November", - "price": 1999, - "discountPercentage": 11.02, - "rating": 0, - "stock": 83, - "brand": "Apple", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/6/thumbnail.png", - "images": [ - "https://i.dummyjson.com/data/products/6/1.png", - "https://i.dummyjson.com/data/products/6/2.jpg", - "https://i.dummyjson.com/data/products/6/3.png", - "https://i.dummyjson.com/data/products/6/thumbnail.png" - ], - "quantity": 1, - "user": 2, - "id": 1 + "id": 28, + "title": "Ice Cream", + "description": "Creamy and delicious ice cream, available in various flavors for a delightful treat.", + "category": "groceries", + "price": 5.49, + "discountPercentage": 7.58, + "rating": 3.77, + "stock": 76, + "tags": ["desserts"], + "sku": "VEZMU1EQ", + "weight": 5, + "dimensions": { + "width": 17.66, + "height": 24.49, + "depth": 25.98 + }, + "warrantyInformation": "2 year warranty", + "shippingInformation": "Ships in 2 weeks", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 5, + "comment": "Great product!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Elena Baker", + "reviewerEmail": "elena.baker@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Highly impressed!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Madeline Simpson", + "reviewerEmail": "madeline.simpson@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Very happy with my purchase!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Caleb Nelson", + "reviewerEmail": "caleb.nelson@x.dummyjson.com" } ], - "totalAmount": 1779, - "totalItems": 1, - "user": { - "email": "demo@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - } - ], - "id": 2 - }, - "paymentMethod": "card", - "selectedAddress": { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" + "returnPolicy": "No return policy", + "minimumOrderQuantity": 19, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "9603960319256", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "status": "pending", - "id": 9 + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/1.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/2.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/3.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/4.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png" }, { - "items": [ - { - "title": "Microsoft Surface Laptop 4", - "description": "Style and speed. Stand out on HD video calls backed by Studio Mics. Capture ideas on the vibrant touchscreen.", - "price": 1499, - "discountPercentage": 10.23, - "rating": 4.43, - "stock": 68, - "brand": "Microsoft Surface", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/8/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/8/1.jpg", - "https://i.dummyjson.com/data/products/8/2.jpg", - "https://i.dummyjson.com/data/products/8/3.jpg", - "https://i.dummyjson.com/data/products/8/4.jpg", - "https://i.dummyjson.com/data/products/8/thumbnail.jpg" - ], - "quantity": 1, - "user": 2, - "id": 1 + "id": 29, + "title": "Juice", + "description": "Refreshing fruit juice, packed with vitamins and great for staying hydrated.", + "category": "groceries", + "price": 3.99, + "discountPercentage": 5.45, + "rating": 3.41, + "stock": 99, + "tags": ["beverages"], + "sku": "M2K19S06", + "weight": 2, + "dimensions": { + "width": 8.97, + "height": 12.26, + "depth": 15.05 + }, + "warrantyInformation": "1 week warranty", + "shippingInformation": "Ships in 1-2 business days", + "availabilityStatus": "In Stock", + "reviews": [ + { + "rating": 4, + "comment": "Very satisfied!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Leo Rivera", + "reviewerEmail": "leo.rivera@x.dummyjson.com" + }, + { + "rating": 2, + "comment": "Not worth the price!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Ethan Martinez", + "reviewerEmail": "ethan.martinez@x.dummyjson.com" + }, + { + "rating": 4, + "comment": "Excellent quality!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Max Parker", + "reviewerEmail": "max.parker@x.dummyjson.com" } ], - "totalAmount": 1346, - "totalItems": 1, - "user": { - "email": "demo@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - } - ], - "id": 2 + "returnPolicy": "90 days return policy", + "minimumOrderQuantity": 26, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "8546824122355", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "paymentMethod": "card", - "selectedAddress": { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - }, - "status": "pending", - "id": 10 + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Juice/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Juice/thumbnail.png" }, { - "items": [ - { - "title": "Microsoft Surface Laptop 4", - "description": "Style and speed. Stand out on HD video calls backed by Studio Mics. Capture ideas on the vibrant touchscreen.", - "price": 1499, - "discountPercentage": 10.23, - "rating": 4.43, - "stock": 68, - "brand": "Microsoft Surface", - "category": "laptops", - "thumbnail": "https://i.dummyjson.com/data/products/8/thumbnail.jpg", - "images": [ - "https://i.dummyjson.com/data/products/8/1.jpg", - "https://i.dummyjson.com/data/products/8/2.jpg", - "https://i.dummyjson.com/data/products/8/3.jpg", - "https://i.dummyjson.com/data/products/8/4.jpg", - "https://i.dummyjson.com/data/products/8/thumbnail.jpg" - ], - "quantity": 2, - "user": 2, - "id": 1 + "id": 30, + "title": "Kiwi", + "description": "Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.", + "category": "groceries", + "price": 2.49, + "discountPercentage": 10.32, + "rating": 4.37, + "stock": 1, + "tags": ["fruits"], + "sku": "0X3NORB9", + "weight": 8, + "dimensions": { + "width": 27.3, + "height": 7.48, + "depth": 15.08 + }, + "warrantyInformation": "6 months warranty", + "shippingInformation": "Ships in 3-5 business days", + "availabilityStatus": "Low Stock", + "reviews": [ + { + "rating": 5, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Nora Russell", + "reviewerEmail": "nora.russell@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Very pleased!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Dylan Wells", + "reviewerEmail": "dylan.wells@x.dummyjson.com" + }, + { + "rating": 5, + "comment": "Great product!", + "date": "2024-05-23T08:56:21.620Z", + "reviewerName": "Noah Hernandez", + "reviewerEmail": "noah.hernandez@x.dummyjson.com" } ], - "totalAmount": 2692, - "totalItems": 2, - "user": { - "email": "demo@gmail.com", - "password": "Qwerty123", - "role": "user", - "addresses": [ - { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" - } - ], - "id": 2 - }, - "paymentMethod": "cash", - "selectedAddress": { - "name": "Demo user", - "email": "demo@gmail.com", - "phone": "1234567788", - "street": "11th Main", - "city": "Mumbai", - "state": "Maharastra", - "pinCode": "220001" + "returnPolicy": "7 days return policy", + "minimumOrderQuantity": 8, + "meta": { + "createdAt": "2024-05-23T08:56:21.620Z", + "updatedAt": "2024-05-23T08:56:21.620Z", + "barcode": "3325493172934", + "qrCode": "https://dummyjson.com/public/qr-code.png" }, - "status": "pending", - "id": 11 + "images": [ + "https://cdn.dummyjson.com/products/images/groceries/Kiwi/1.png" + ], + "thumbnail": "https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png" } ] } diff --git a/src/app/store.js b/src/app/store.js index 9eca6d2..aacfdad 100644 --- a/src/app/store.js +++ b/src/app/store.js @@ -1,8 +1,8 @@ -import { configureStore } from '@reduxjs/toolkit'; -import counterReducer from '../features/counter/counterSlice'; +import { configureStore } from "@reduxjs/toolkit"; +import productReducer from "../features/product/productSlice"; export const store = configureStore({ reducer: { - counter: counterReducer, + product: productReducer, }, }); diff --git a/src/features/product/components/ProductList.js b/src/features/product/components/ProductList.js index ab7896f..225961a 100644 --- a/src/features/product/components/ProductList.js +++ b/src/features/product/components/ProductList.js @@ -1,6 +1,6 @@ -import React, { useState, Fragment } from "react"; +import React, { useState, Fragment, useEffect } from "react"; import { useSelector, useDispatch } from "react-redux"; -import { increment, incrementAsync, selectCount } from "../productSlice"; +import { fetchAllProductsAsync, selectAllProducts } from "../productSlice"; import { Dialog, Disclosure, Menu, Transition } from "@headlessui/react"; import { StarIcon, XMarkIcon } from "@heroicons/react/24/outline"; import { ChevronLeftIcon, ChevronRightIcon } from "@heroicons/react/20/solid"; @@ -63,1785 +63,14 @@ function classNames(...classes) { return classes.filter(Boolean).join(" "); } -const products = [ - { - id: 1, - title: "Essence Mascara Lash Princess", - description: - "The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.", - category: "beauty", - price: 9.99, - discountPercentage: 7.17, - rating: 4.94, - stock: 5, - tags: ["beauty", "mascara"], - brand: "Essence", - sku: "RCH45Q1A", - weight: 2, - dimensions: { - width: 23.17, - height: 14.43, - depth: 28.01, - }, - warrantyInformation: "1 month warranty", - shippingInformation: "Ships in 1 month", - availabilityStatus: "Low Stock", - reviews: [ - { - rating: 2, - comment: "Very unhappy with my purchase!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "John Doe", - reviewerEmail: "john.doe@x.dummyjson.com", - }, - { - rating: 2, - comment: "Not as described!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Nolan Gonzalez", - reviewerEmail: "nolan.gonzalez@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Scarlett Wright", - reviewerEmail: "scarlett.wright@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 24, - meta: { - createdAt: "2024-05-23T08:56:21.618Z", - updatedAt: "2024-05-23T08:56:21.618Z", - barcode: "9164035109868", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png", - }, - { - id: 2, - title: "Eyeshadow Palette with Mirror", - description: - "The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.", - category: "beauty", - price: 19.99, - discountPercentage: 5.5, - rating: 3.28, - stock: 44, - tags: ["beauty", "eyeshadow"], - brand: "Glamour Beauty", - sku: "MVCFH27F", - weight: 3, - dimensions: { - width: 12.42, - height: 8.63, - depth: 29.13, - }, - warrantyInformation: "1 year warranty", - shippingInformation: "Ships in 2 weeks", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Liam Garcia", - reviewerEmail: "liam.garcia@x.dummyjson.com", - }, - { - rating: 1, - comment: "Very disappointed!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Nora Russell", - reviewerEmail: "nora.russell@x.dummyjson.com", - }, - { - rating: 5, - comment: "Highly impressed!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Elena Baker", - reviewerEmail: "elena.baker@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 32, - meta: { - createdAt: "2024-05-23T08:56:21.618Z", - updatedAt: "2024-05-23T08:56:21.618Z", - barcode: "2817839095220", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png", - }, - { - id: 3, - title: "Powder Canister", - description: - "The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.", - category: "beauty", - price: 14.99, - discountPercentage: 18.14, - rating: 3.82, - stock: 59, - tags: ["beauty", "face powder"], - brand: "Velvet Touch", - sku: "9EN8WLT2", - weight: 8, - dimensions: { - width: 24.16, - height: 10.7, - depth: 11.07, - }, - warrantyInformation: "2 year warranty", - shippingInformation: "Ships in 1-2 business days", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Ethan Thompson", - reviewerEmail: "ethan.thompson@x.dummyjson.com", - }, - { - rating: 4, - comment: "Great value for money!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Levi Hicks", - reviewerEmail: "levi.hicks@x.dummyjson.com", - }, - { - rating: 5, - comment: "Highly impressed!", - date: "2024-05-23T08:56:21.618Z", - reviewerName: "Hazel Gardner", - reviewerEmail: "hazel.gardner@x.dummyjson.com", - }, - ], - returnPolicy: "60 days return policy", - minimumOrderQuantity: 25, - meta: { - createdAt: "2024-05-23T08:56:21.618Z", - updatedAt: "2024-05-23T08:56:21.618Z", - barcode: "0516267971277", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/thumbnail.png", - }, - { - id: 4, - title: "Red Lipstick", - description: - "The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.", - category: "beauty", - price: 12.99, - discountPercentage: 19.03, - rating: 2.51, - stock: 68, - tags: ["beauty", "lipstick"], - brand: "Chic Cosmetics", - sku: "O5IF1NTA", - weight: 5, - dimensions: { - width: 14.37, - height: 13.94, - depth: 14.6, - }, - warrantyInformation: "Lifetime warranty", - shippingInformation: "Ships in 2 weeks", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Great product!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Leo Rivera", - reviewerEmail: "leo.rivera@x.dummyjson.com", - }, - { - rating: 4, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Oscar Powers", - reviewerEmail: "oscar.powers@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Carter Rivera", - reviewerEmail: "carter.rivera@x.dummyjson.com", - }, - ], - returnPolicy: "90 days return policy", - minimumOrderQuantity: 6, - meta: { - createdAt: "2024-05-23T08:56:21.619Z", - updatedAt: "2024-05-23T08:56:21.619Z", - barcode: "9444582199406", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png", - }, - { - id: 5, - title: "Red Nail Polish", - description: - "The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.", - category: "beauty", - price: 8.99, - discountPercentage: 2.46, - rating: 3.91, - stock: 71, - tags: ["beauty", "nail polish"], - brand: "Nail Couture", - sku: "YUIIIP4W", - weight: 9, - dimensions: { - width: 8.11, - height: 10.89, - depth: 29.06, - }, - warrantyInformation: "1 year warranty", - shippingInformation: "Ships in 1 week", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Leo Rivera", - reviewerEmail: "leo.rivera@x.dummyjson.com", - }, - { - rating: 5, - comment: "Great product!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Evan Reed", - reviewerEmail: "evan.reed@x.dummyjson.com", - }, - { - rating: 4, - comment: "Highly recommended!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Evelyn Sanchez", - reviewerEmail: "evelyn.sanchez@x.dummyjson.com", - }, - ], - returnPolicy: "No return policy", - minimumOrderQuantity: 46, - meta: { - createdAt: "2024-05-23T08:56:21.619Z", - updatedAt: "2024-05-23T08:56:21.619Z", - barcode: "3212847902461", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png", - }, - { - id: 6, - title: "Calvin Klein CK One", - description: - "CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.", - category: "fragrances", - price: 49.99, - discountPercentage: 0.32, - rating: 4.85, - stock: 17, - tags: ["fragrances", "perfumes"], - brand: "Calvin Klein", - sku: "DZM2JQZE", - weight: 5, - dimensions: { - width: 11.53, - height: 14.44, - depth: 6.81, - }, - warrantyInformation: "5 year warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Great value for money!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Sophia Brown", - reviewerEmail: "sophia.brown@x.dummyjson.com", - }, - { - rating: 3, - comment: "Very disappointed!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Madison Collins", - reviewerEmail: "madison.collins@x.dummyjson.com", - }, - { - rating: 1, - comment: "Poor quality!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Maya Reed", - reviewerEmail: "maya.reed@x.dummyjson.com", - }, - ], - returnPolicy: "No return policy", - minimumOrderQuantity: 20, - meta: { - createdAt: "2024-05-23T08:56:21.619Z", - updatedAt: "2024-05-23T08:56:21.619Z", - barcode: "2210136215089", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/1.png", - "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/2.png", - "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png", - }, - { - id: 7, - title: "Chanel Coco Noir Eau De", - description: - "Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.", - category: "fragrances", - price: 129.99, - discountPercentage: 18.64, - rating: 2.76, - stock: 41, - tags: ["fragrances", "perfumes"], - brand: "Chanel", - sku: "K71HBCGS", - weight: 4, - dimensions: { - width: 21.27, - height: 28, - depth: 11.89, - }, - warrantyInformation: "1 week warranty", - shippingInformation: "Ships in 1 month", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 1, - comment: "Disappointing product!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Lincoln Kelly", - reviewerEmail: "lincoln.kelly@x.dummyjson.com", - }, - { - rating: 4, - comment: "Great product!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Lincoln Kelly", - reviewerEmail: "lincoln.kelly@x.dummyjson.com", - }, - { - rating: 4, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Lucas Allen", - reviewerEmail: "lucas.allen@x.dummyjson.com", - }, - ], - returnPolicy: "60 days return policy", - minimumOrderQuantity: 5, - meta: { - createdAt: "2024-05-23T08:56:21.619Z", - updatedAt: "2024-05-23T08:56:21.619Z", - barcode: "1435582999795", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/1.png", - "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/2.png", - "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/thumbnail.png", - }, - { - id: 8, - title: "Dior J'adore", - description: - "J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.", - category: "fragrances", - price: 89.99, - discountPercentage: 17.44, - rating: 3.31, - stock: 91, - tags: ["fragrances", "perfumes"], - brand: "Dior", - sku: "E70NB03B", - weight: 10, - dimensions: { - width: 21.51, - height: 7, - depth: 26.51, - }, - warrantyInformation: "Lifetime warranty", - shippingInformation: "Ships in 2 weeks", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Fast shipping!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Zoe Nicholson", - reviewerEmail: "zoe.nicholson@x.dummyjson.com", - }, - { - rating: 4, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Addison Wright", - reviewerEmail: "addison.wright@x.dummyjson.com", - }, - { - rating: 4, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Clara Berry", - reviewerEmail: "clara.berry@x.dummyjson.com", - }, - ], - returnPolicy: "7 days return policy", - minimumOrderQuantity: 8, - meta: { - createdAt: "2024-05-23T08:56:21.619Z", - updatedAt: "2024-05-23T08:56:21.619Z", - barcode: "0887083199279", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/1.png", - "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/2.png", - "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png", - }, - { - id: 9, - title: "Dolce Shine Eau de", - description: - "Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.", - category: "fragrances", - price: 69.99, - discountPercentage: 11.47, - rating: 2.68, - stock: 3, - tags: ["fragrances", "perfumes"], - brand: "Dolce & Gabbana", - sku: "1NBFK980", - weight: 5, - dimensions: { - width: 17, - height: 24.57, - depth: 13.3, - }, - warrantyInformation: "5 year warranty", - shippingInformation: "Ships in 1-2 business days", - availabilityStatus: "Low Stock", - reviews: [ - { - rating: 4, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Xavier Wright", - reviewerEmail: "xavier.wright@x.dummyjson.com", - }, - { - rating: 1, - comment: "Poor quality!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Mila Hernandez", - reviewerEmail: "mila.hernandez@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.619Z", - reviewerName: "Sophia Brown", - reviewerEmail: "sophia.brown@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 9, - meta: { - createdAt: "2024-05-23T08:56:21.619Z", - updatedAt: "2024-05-23T08:56:21.619Z", - barcode: "1939383392674", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/1.png", - "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/2.png", - "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/thumbnail.png", - }, - { - id: 10, - title: "Gucci Bloom Eau de", - description: - "Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.", - category: "fragrances", - price: 79.99, - discountPercentage: 8.9, - rating: 2.69, - stock: 93, - tags: ["fragrances", "perfumes"], - brand: "Gucci", - sku: "FFKZ6HOF", - weight: 10, - dimensions: { - width: 22.28, - height: 17.81, - depth: 27.18, - }, - warrantyInformation: "No warranty", - shippingInformation: "Ships in 2 weeks", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Great value for money!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Aria Parker", - reviewerEmail: "aria.parker@x.dummyjson.com", - }, - { - rating: 4, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Natalie Harris", - reviewerEmail: "natalie.harris@x.dummyjson.com", - }, - { - rating: 4, - comment: "Fast shipping!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Ava Harris", - reviewerEmail: "ava.harris@x.dummyjson.com", - }, - ], - returnPolicy: "No return policy", - minimumOrderQuantity: 10, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "8232190382069", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/1.png", - "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/2.png", - "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/thumbnail.png", - }, - { - id: 11, - title: "Annibale Colombo Bed", - description: - "The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.", - category: "furniture", - price: 1899.99, - discountPercentage: 0.29, - rating: 4.14, - stock: 47, - tags: ["furniture", "beds"], - brand: "Annibale Colombo", - sku: "4KMDTZWF", - weight: 3, - dimensions: { - width: 28.75, - height: 26.88, - depth: 24.47, - }, - warrantyInformation: "2 year warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Great value for money!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Julian Newton", - reviewerEmail: "julian.newton@x.dummyjson.com", - }, - { - rating: 5, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Madison Collins", - reviewerEmail: "madison.collins@x.dummyjson.com", - }, - { - rating: 4, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Clara Berry", - reviewerEmail: "clara.berry@x.dummyjson.com", - }, - ], - returnPolicy: "7 days return policy", - minimumOrderQuantity: 1, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "7113807059215", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/1.png", - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/2.png", - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png", - }, - { - id: 12, - title: "Annibale Colombo Sofa", - description: - "The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.", - category: "furniture", - price: 2499.99, - discountPercentage: 18.54, - rating: 3.08, - stock: 16, - tags: ["furniture", "sofas"], - brand: "Annibale Colombo", - sku: "LUU95CQP", - weight: 3, - dimensions: { - width: 20.97, - height: 19.11, - depth: 25.81, - }, - warrantyInformation: "1 month warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Tyler Davis", - reviewerEmail: "tyler.davis@x.dummyjson.com", - }, - { - rating: 5, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Hannah Robinson", - reviewerEmail: "hannah.robinson@x.dummyjson.com", - }, - { - rating: 3, - comment: "Waste of money!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Madison Collins", - reviewerEmail: "madison.collins@x.dummyjson.com", - }, - ], - returnPolicy: "7 days return policy", - minimumOrderQuantity: 1, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "0426785817074", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/1.png", - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/2.png", - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/thumbnail.png", - }, - { - id: 13, - title: "Bedside Table African Cherry", - description: - "The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.", - category: "furniture", - price: 299.99, - discountPercentage: 9.58, - rating: 4.48, - stock: 16, - tags: ["furniture", "bedside tables"], - brand: "Furniture Co.", - sku: "OWPLTZYX", - weight: 10, - dimensions: { - width: 25.43, - height: 20.2, - depth: 24.95, - }, - warrantyInformation: "6 months warranty", - shippingInformation: "Ships in 1-2 business days", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "John Doe", - reviewerEmail: "john.doe@x.dummyjson.com", - }, - { - rating: 4, - comment: "Highly recommended!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Avery Carter", - reviewerEmail: "avery.carter@x.dummyjson.com", - }, - { - rating: 4, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Evelyn Sanchez", - reviewerEmail: "evelyn.sanchez@x.dummyjson.com", - }, - ], - returnPolicy: "No return policy", - minimumOrderQuantity: 5, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "2913244159666", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/1.png", - "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/2.png", - "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/thumbnail.png", - }, - { - id: 14, - title: "Knoll Saarinen Executive Conference Chair", - description: - "The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.", - category: "furniture", - price: 499.99, - discountPercentage: 15.23, - rating: 4.11, - stock: 47, - tags: ["furniture", "office chairs"], - brand: "Knoll", - sku: "RKHVJ4FE", - weight: 3, - dimensions: { - width: 16.59, - height: 21.46, - depth: 29.07, - }, - warrantyInformation: "Lifetime warranty", - shippingInformation: "Ships in 3-5 business days", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Leah Gutierrez", - reviewerEmail: "leah.gutierrez@x.dummyjson.com", - }, - { - rating: 4, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Nolan Gonzalez", - reviewerEmail: "nolan.gonzalez@x.dummyjson.com", - }, - { - rating: 2, - comment: "Waste of money!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Stella Morris", - reviewerEmail: "stella.morris@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 5, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "0726316339746", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/1.png", - "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/2.png", - "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/thumbnail.png", - }, - { - id: 15, - title: "Wooden Bathroom Sink With Mirror", - description: - "The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.", - category: "furniture", - price: 799.99, - discountPercentage: 11.22, - rating: 3.26, - stock: 95, - tags: ["furniture", "bathroom"], - brand: "Bath Trends", - sku: "7OLTIEVO", - weight: 6, - dimensions: { - width: 7.32, - height: 22.64, - depth: 12.37, - }, - warrantyInformation: "6 months warranty", - shippingInformation: "Ships in 3-5 business days", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Highly recommended!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Charlotte Lopez", - reviewerEmail: "charlotte.lopez@x.dummyjson.com", - }, - { - rating: 1, - comment: "Would not recommend!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "William Gonzalez", - reviewerEmail: "william.gonzalez@x.dummyjson.com", - }, - { - rating: 2, - comment: "Not worth the price!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Ava Harrison", - reviewerEmail: "ava.harrison@x.dummyjson.com", - }, - ], - returnPolicy: "7 days return policy", - minimumOrderQuantity: 1, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "7839797529453", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/1.png", - "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/2.png", - "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/3.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/thumbnail.png", - }, - { - id: 16, - title: "Apple", - description: - "Fresh and crisp apples, perfect for snacking or incorporating into various recipes.", - category: "groceries", - price: 1.99, - discountPercentage: 1.97, - rating: 2.96, - stock: 9, - tags: ["fruits"], - sku: "QTROUV79", - weight: 8, - dimensions: { - width: 8.29, - height: 5.58, - depth: 12.41, - }, - warrantyInformation: "2 year warranty", - shippingInformation: "Ships in 2 weeks", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Great product!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Logan Lee", - reviewerEmail: "logan.lee@x.dummyjson.com", - }, - { - rating: 4, - comment: "Great product!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Elena Long", - reviewerEmail: "elena.long@x.dummyjson.com", - }, - { - rating: 1, - comment: "Not as described!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Grayson Coleman", - reviewerEmail: "grayson.coleman@x.dummyjson.com", - }, - ], - returnPolicy: "60 days return policy", - minimumOrderQuantity: 44, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "2517819903837", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: ["https://cdn.dummyjson.com/products/images/groceries/Apple/1.png"], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png", - }, - { - id: 17, - title: "Beef Steak", - description: - "High-quality beef steak, great for grilling or cooking to your preferred level of doneness.", - category: "groceries", - price: 12.99, - discountPercentage: 17.99, - rating: 2.83, - stock: 96, - tags: ["meat"], - sku: "BWWA2MSO", - weight: 9, - dimensions: { - width: 23.35, - height: 13.48, - depth: 26.4, - }, - warrantyInformation: "1 month warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Ethan Martinez", - reviewerEmail: "ethan.martinez@x.dummyjson.com", - }, - { - rating: 3, - comment: "Disappointing product!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Owen Fisher", - reviewerEmail: "owen.fisher@x.dummyjson.com", - }, - { - rating: 4, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Scarlett Wright", - reviewerEmail: "scarlett.wright@x.dummyjson.com", - }, - ], - returnPolicy: "90 days return policy", - minimumOrderQuantity: 21, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "8335515097879", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/thumbnail.png", - }, - { - id: 18, - title: "Cat Food", - description: - "Nutritious cat food formulated to meet the dietary needs of your feline friend.", - category: "groceries", - price: 8.99, - discountPercentage: 9.57, - rating: 2.88, - stock: 13, - tags: ["pet supplies", "cat food"], - sku: "C3F8QN6O", - weight: 9, - dimensions: { - width: 15.4, - height: 13.97, - depth: 25.13, - }, - warrantyInformation: "3 months warranty", - shippingInformation: "Ships in 1-2 business days", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Mateo Bennett", - reviewerEmail: "mateo.bennett@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Aurora Barnes", - reviewerEmail: "aurora.barnes@x.dummyjson.com", - }, - { - rating: 5, - comment: "Great value for money!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Ellie Stewart", - reviewerEmail: "ellie.stewart@x.dummyjson.com", - }, - ], - returnPolicy: "7 days return policy", - minimumOrderQuantity: 48, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "5503491330693", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png", - }, - { - id: 19, - title: "Chicken Meat", - description: - "Fresh and tender chicken meat, suitable for various culinary preparations.", - category: "groceries", - price: 9.99, - discountPercentage: 10.46, - rating: 4.61, - stock: 69, - tags: ["meat"], - sku: "G5YEHW7B", - weight: 7, - dimensions: { - width: 15.96, - height: 29.24, - depth: 26.25, - }, - warrantyInformation: "Lifetime warranty", - shippingInformation: "Ships in 1 month", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Sophia Jones", - reviewerEmail: "sophia.jones@x.dummyjson.com", - }, - { - rating: 5, - comment: "Great value for money!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Maya Reed", - reviewerEmail: "maya.reed@x.dummyjson.com", - }, - { - rating: 4, - comment: "Highly recommended!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Harper Turner", - reviewerEmail: "harper.turner@x.dummyjson.com", - }, - ], - returnPolicy: "7 days return policy", - minimumOrderQuantity: 46, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "0966223559510", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/1.png", - "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/2.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png", - }, - { - id: 20, - title: "Cooking Oil", - description: - "Versatile cooking oil suitable for frying, sautéing, and various culinary applications.", - category: "groceries", - price: 4.99, - discountPercentage: 18.89, - rating: 4.01, - stock: 22, - tags: ["cooking essentials"], - sku: "Q6ZP1UY8", - weight: 8, - dimensions: { - width: 8.18, - height: 27.45, - depth: 27.88, - }, - warrantyInformation: "Lifetime warranty", - shippingInformation: "Ships in 1 month", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Mason Parker", - reviewerEmail: "mason.parker@x.dummyjson.com", - }, - { - rating: 3, - comment: "Poor quality!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Jonathan Pierce", - reviewerEmail: "jonathan.pierce@x.dummyjson.com", - }, - { - rating: 5, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Alexander Hernandez", - reviewerEmail: "alexander.hernandez@x.dummyjson.com", - }, - ], - returnPolicy: "60 days return policy", - minimumOrderQuantity: 2, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "6707669443381", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png", - }, - { - id: 21, - title: "Cucumber", - description: - "Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.", - category: "groceries", - price: 1.49, - discountPercentage: 11.44, - rating: 4.71, - stock: 22, - tags: ["vegetables"], - sku: "6KGF2K6Z", - weight: 9, - dimensions: { - width: 11.04, - height: 20.5, - depth: 8.18, - }, - warrantyInformation: "5 year warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Elijah Hill", - reviewerEmail: "elijah.hill@x.dummyjson.com", - }, - { - rating: 5, - comment: "Fast shipping!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Liam Garcia", - reviewerEmail: "liam.garcia@x.dummyjson.com", - }, - { - rating: 4, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Ella Cook", - reviewerEmail: "ella.cook@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 7, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "2597004869708", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Cucumber/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Cucumber/thumbnail.png", - }, - { - id: 22, - title: "Dog Food", - description: - "Specially formulated dog food designed to provide essential nutrients for your canine companion.", - category: "groceries", - price: 10.99, - discountPercentage: 18.15, - rating: 2.74, - stock: 40, - tags: ["pet supplies", "dog food"], - sku: "A6QRCH37", - weight: 2, - dimensions: { - width: 29.39, - height: 29.77, - depth: 20.54, - }, - warrantyInformation: "1 year warranty", - shippingInformation: "Ships in 1 month", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Highly impressed!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Leo Rivera", - reviewerEmail: "leo.rivera@x.dummyjson.com", - }, - { - rating: 4, - comment: "Highly recommended!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Alexander Jones", - reviewerEmail: "alexander.jones@x.dummyjson.com", - }, - { - rating: 4, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Addison Wright", - reviewerEmail: "addison.wright@x.dummyjson.com", - }, - ], - returnPolicy: "90 days return policy", - minimumOrderQuantity: 29, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "7957222289508", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/thumbnail.png", - }, - { - id: 23, - title: "Eggs", - description: - "Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.", - category: "groceries", - price: 2.99, - discountPercentage: 5.8, - rating: 4.46, - stock: 10, - tags: ["dairy"], - sku: "YA617RI7", - weight: 4, - dimensions: { - width: 12.3, - height: 10.99, - depth: 15.53, - }, - warrantyInformation: "3 year warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 2, - comment: "Very unhappy with my purchase!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Mateo Perez", - reviewerEmail: "mateo.perez@x.dummyjson.com", - }, - { - rating: 4, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Cameron Perez", - reviewerEmail: "cameron.perez@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Aurora Barnes", - reviewerEmail: "aurora.barnes@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 43, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "7095702028776", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: ["https://cdn.dummyjson.com/products/images/groceries/Eggs/1.png"], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Eggs/thumbnail.png", - }, - { - id: 24, - title: "Fish Steak", - description: - "Quality fish steak, suitable for grilling, baking, or pan-searing.", - category: "groceries", - price: 14.99, - discountPercentage: 7, - rating: 4.83, - stock: 99, - tags: ["seafood"], - sku: "XNIH1MTA", - weight: 8, - dimensions: { - width: 20.14, - height: 8.4, - depth: 10.01, - }, - warrantyInformation: "1 year warranty", - shippingInformation: "Ships in 1 month", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Great value for money!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Michael Johnson", - reviewerEmail: "michael.johnson@x.dummyjson.com", - }, - { - rating: 4, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Julian Newton", - reviewerEmail: "julian.newton@x.dummyjson.com", - }, - { - rating: 5, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Lila Hudson", - reviewerEmail: "lila.hudson@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 49, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "4250692197342", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png", - }, - { - id: 25, - title: "Green Bell Pepper", - description: - "Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.", - category: "groceries", - price: 1.29, - discountPercentage: 15.5, - rating: 4.28, - stock: 89, - tags: ["vegetables"], - sku: "HU7S7VQ0", - weight: 7, - dimensions: { - width: 7.32, - height: 14.31, - depth: 21.38, - }, - warrantyInformation: "5 year warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Maya Reed", - reviewerEmail: "maya.reed@x.dummyjson.com", - }, - { - rating: 4, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Madison Collins", - reviewerEmail: "madison.collins@x.dummyjson.com", - }, - { - rating: 5, - comment: "Would buy again!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Ethan Thompson", - reviewerEmail: "ethan.thompson@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 1, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "7583442707568", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png", - }, - { - id: 26, - title: "Green Chili Pepper", - description: - "Spicy green chili pepper, ideal for adding heat to your favorite recipes.", - category: "groceries", - price: 0.99, - discountPercentage: 18.51, - rating: 4.43, - stock: 8, - tags: ["vegetables"], - sku: "Y4RM3JCB", - weight: 2, - dimensions: { - width: 18.67, - height: 21.17, - depth: 25.26, - }, - warrantyInformation: "No warranty", - shippingInformation: "Ships in 1-2 business days", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 2, - comment: "Disappointing product!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Mateo Bennett", - reviewerEmail: "mateo.bennett@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Natalie Price", - reviewerEmail: "natalie.price@x.dummyjson.com", - }, - { - rating: 4, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Avery Barnes", - reviewerEmail: "avery.barnes@x.dummyjson.com", - }, - ], - returnPolicy: "30 days return policy", - minimumOrderQuantity: 43, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "8400326844874", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png", - }, - { - id: 27, - title: "Honey Jar", - description: - "Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.", - category: "groceries", - price: 6.99, - discountPercentage: 1.91, - rating: 3.5, - stock: 25, - tags: ["condiments"], - sku: "BTBNIIOU", - weight: 9, - dimensions: { - width: 26.53, - height: 27.11, - depth: 6.63, - }, - warrantyInformation: "2 year warranty", - shippingInformation: "Ships overnight", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Fast shipping!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Nicholas Bailey", - reviewerEmail: "nicholas.bailey@x.dummyjson.com", - }, - { - rating: 5, - comment: "Awesome product!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Gabriel Hayes", - reviewerEmail: "gabriel.hayes@x.dummyjson.com", - }, - { - rating: 5, - comment: "Highly impressed!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "James Garcia", - reviewerEmail: "james.garcia@x.dummyjson.com", - }, - ], - returnPolicy: "90 days return policy", - minimumOrderQuantity: 1, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "0668665656044", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/1.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/thumbnail.png", - }, - { - id: 28, - title: "Ice Cream", - description: - "Creamy and delicious ice cream, available in various flavors for a delightful treat.", - category: "groceries", - price: 5.49, - discountPercentage: 7.58, - rating: 3.77, - stock: 76, - tags: ["desserts"], - sku: "VEZMU1EQ", - weight: 5, - dimensions: { - width: 17.66, - height: 24.49, - depth: 25.98, - }, - warrantyInformation: "2 year warranty", - shippingInformation: "Ships in 2 weeks", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 5, - comment: "Great product!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Elena Baker", - reviewerEmail: "elena.baker@x.dummyjson.com", - }, - { - rating: 5, - comment: "Highly impressed!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Madeline Simpson", - reviewerEmail: "madeline.simpson@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very happy with my purchase!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Caleb Nelson", - reviewerEmail: "caleb.nelson@x.dummyjson.com", - }, - ], - returnPolicy: "No return policy", - minimumOrderQuantity: 19, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "9603960319256", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: [ - "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/1.png", - "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/2.png", - "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/3.png", - "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/4.png", - ], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png", - }, - { - id: 29, - title: "Juice", - description: - "Refreshing fruit juice, packed with vitamins and great for staying hydrated.", - category: "groceries", - price: 3.99, - discountPercentage: 5.45, - rating: 3.41, - stock: 99, - tags: ["beverages"], - sku: "M2K19S06", - weight: 2, - dimensions: { - width: 8.97, - height: 12.26, - depth: 15.05, - }, - warrantyInformation: "1 week warranty", - shippingInformation: "Ships in 1-2 business days", - availabilityStatus: "In Stock", - reviews: [ - { - rating: 4, - comment: "Very satisfied!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Leo Rivera", - reviewerEmail: "leo.rivera@x.dummyjson.com", - }, - { - rating: 2, - comment: "Not worth the price!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Ethan Martinez", - reviewerEmail: "ethan.martinez@x.dummyjson.com", - }, - { - rating: 4, - comment: "Excellent quality!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Max Parker", - reviewerEmail: "max.parker@x.dummyjson.com", - }, - ], - returnPolicy: "90 days return policy", - minimumOrderQuantity: 26, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "8546824122355", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: ["https://cdn.dummyjson.com/products/images/groceries/Juice/1.png"], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Juice/thumbnail.png", - }, - { - id: 30, - title: "Kiwi", - description: - "Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.", - category: "groceries", - price: 2.49, - discountPercentage: 10.32, - rating: 4.37, - stock: 1, - tags: ["fruits"], - sku: "0X3NORB9", - weight: 8, - dimensions: { - width: 27.3, - height: 7.48, - depth: 15.08, - }, - warrantyInformation: "6 months warranty", - shippingInformation: "Ships in 3-5 business days", - availabilityStatus: "Low Stock", - reviews: [ - { - rating: 5, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Nora Russell", - reviewerEmail: "nora.russell@x.dummyjson.com", - }, - { - rating: 5, - comment: "Very pleased!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Dylan Wells", - reviewerEmail: "dylan.wells@x.dummyjson.com", - }, - { - rating: 5, - comment: "Great product!", - date: "2024-05-23T08:56:21.620Z", - reviewerName: "Noah Hernandez", - reviewerEmail: "noah.hernandez@x.dummyjson.com", - }, - ], - returnPolicy: "7 days return policy", - minimumOrderQuantity: 8, - meta: { - createdAt: "2024-05-23T08:56:21.620Z", - updatedAt: "2024-05-23T08:56:21.620Z", - barcode: "3325493172934", - qrCode: "https://dummyjson.com/public/qr-code.png", - }, - images: ["https://cdn.dummyjson.com/products/images/groceries/Kiwi/1.png"], - thumbnail: - "https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png", - }, -]; - export default function ProductList() { - const count = useSelector(selectCount); - const dispatch = useDispatch(); const [mobileFiltersOpen, setMobileFiltersOpen] = useState(false); + const products = useSelector(selectAllProducts); + const dispatch = useDispatch(); + useEffect(() => { + dispatch(fetchAllProductsAsync()); + }, [dispatch]); return (
diff --git a/src/features/product/productAPI.js b/src/features/product/productAPI.js index 76c5e9b..0f33107 100644 --- a/src/features/product/productAPI.js +++ b/src/features/product/productAPI.js @@ -1,8 +1,8 @@ -export function fetchCount(amount = 1) { - return new Promise(async (resolve) =>{ - const response = await fetch('http://localhost:8080') - const data = await response.json() - resolve({data}) - } - ); +export function fetchAllProducts() { + return new Promise(async (resolve) => { + // TODO: we will not hard coded server url here... + const response = await fetch("http://localhost:8080/products"); + const data = await response.json(); + resolve({ data }); + }); } diff --git a/src/features/product/productSlice.js b/src/features/product/productSlice.js index fa5503a..f76ca01 100644 --- a/src/features/product/productSlice.js +++ b/src/features/product/productSlice.js @@ -1,22 +1,22 @@ -import { createAsyncThunk, createSlice } from '@reduxjs/toolkit'; -import { fetchCount } from './productAPI'; +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { fetchAllProducts } from "./productAPI"; const initialState = { - value: 0, - status: 'idle', + products: [], + status: "idle", }; -export const incrementAsync = createAsyncThunk( - 'counter/fetchCount', - async (amount) => { - const response = await fetchCount(amount); +export const fetchAllProductsAsync = createAsyncThunk( + "product/fetchAllProducts", + async () => { + const response = await fetchAllProducts(); // The value we return becomes the `fulfilled` action payload return response.data; } ); -export const counterSlice = createSlice({ - name: 'counter', +export const productSlice = createSlice({ + name: "product", initialState, reducers: { increment: (state) => { @@ -25,18 +25,18 @@ export const counterSlice = createSlice({ }, extraReducers: (builder) => { builder - .addCase(incrementAsync.pending, (state) => { - state.status = 'loading'; + .addCase(fetchAllProductsAsync.pending, (state) => { + state.status = "loading"; }) - .addCase(incrementAsync.fulfilled, (state, action) => { - state.status = 'idle'; - state.value += action.payload; + .addCase(fetchAllProductsAsync.fulfilled, (state, action) => { + state.status = "idle"; + state.products = action.payload; }); }, }); -export const { increment } = counterSlice.actions; +export const { increment } = productSlice.actions; -export const selectCount = (state) => state.counter.value; +export const selectAllProducts = (state) => state.product.products; -export default counterSlice.reducer; +export default productSlice.reducer; From 37a15cb8d9ba7d32ec268b94aa138034b835391e Mon Sep 17 00:00:00 2001 From: Murtaza Tankiwala <115138620+murtazatankiwala456@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:11:05 +0530 Subject: [PATCH 04/47] adding brands and categories section extracting from json (using map) --- .../product/components/ProductList.js | 61 +- test.js | 1810 +++++++++++++++++ 2 files changed, 1846 insertions(+), 25 deletions(-) create mode 100644 test.js diff --git a/src/features/product/components/ProductList.js b/src/features/product/components/ProductList.js index 225961a..823a07e 100644 --- a/src/features/product/components/ProductList.js +++ b/src/features/product/components/ProductList.js @@ -23,38 +23,49 @@ const sortOptions = [ const filters = [ { - id: "color", - name: "Color", + id: "brand", + name: "Brands", options: [ - { value: "white", label: "White", checked: false }, - { value: "beige", label: "Beige", checked: false }, - { value: "blue", label: "Blue", checked: true }, - { value: "brown", label: "Brown", checked: false }, - { value: "green", label: "Green", checked: false }, - { value: "purple", label: "Purple", checked: false }, + { value: "Essence", label: "Essence", checked: false }, + + { value: "Glamour Beauty", label: "Glamour Beauty", checked: false }, + + { value: "Velvet Touch", label: "Velvet Touch", checked: false }, + + { value: "Chic Cosmetics", label: "Chic Cosmetics", checked: false }, + + { value: "Nail Couture", label: "Nail Couture", checked: false }, + + { value: "Calvin Klein", label: "Calvin Klein", checked: false }, + + { value: "Chanel", label: "Chanel", checked: false }, + + { value: "Dior", label: "Dior", checked: false }, + + { value: "Dolce & Gabbana", label: "Dolce & Gabbana", checked: false }, + + { value: "Gucci", label: "Gucci", checked: false }, + + { value: "Annibale Colombo", label: "Annibale Colombo", checked: false }, + + { value: "Furniture Co.", label: "Furniture Co.", checked: false }, + + { value: "Knoll", label: "Knoll", checked: false }, + + { value: "Bath Trends", label: "Bath Trends", checked: false }, ], }, { id: "category", name: "Category", options: [ - { value: "new-arrivals", label: "New Arrivals", checked: false }, - { value: "sale", label: "Sale", checked: false }, - { value: "travel", label: "Travel", checked: true }, - { value: "organization", label: "Organization", checked: false }, - { value: "accessories", label: "Accessories", checked: false }, - ], - }, - { - id: "size", - name: "Size", - options: [ - { value: "2l", label: "2L", checked: false }, - { value: "6l", label: "6L", checked: false }, - { value: "12l", label: "12L", checked: false }, - { value: "18l", label: "18L", checked: false }, - { value: "20l", label: "20L", checked: false }, - { value: "40l", label: "40L", checked: true }, + { value: "beauty", label: "Beauty", checked: false }, + + { value: "fragrances", label: "Fragrances", checked: false }, + + { value: "furniture", label: "Furniture", checked: false }, + + { value: "groceries", label: "Groceries", checked: false }, ], }, ]; diff --git a/test.js b/test.js new file mode 100644 index 0000000..3f1eb36 --- /dev/null +++ b/test.js @@ -0,0 +1,1810 @@ +const products = [ + { + id: 1, + title: "Essence Mascara Lash Princess", + description: + "The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.", + category: "beauty", + price: 9.99, + discountPercentage: 7.17, + rating: 4.94, + stock: 5, + tags: ["beauty", "mascara"], + brand: "Essence", + sku: "RCH45Q1A", + weight: 2, + dimensions: { + width: 23.17, + height: 14.43, + depth: 28.01, + }, + warrantyInformation: "1 month warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "Low Stock", + reviews: [ + { + rating: 2, + comment: "Very unhappy with my purchase!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "John Doe", + reviewerEmail: "john.doe@x.dummyjson.com", + }, + { + rating: 2, + comment: "Not as described!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Nolan Gonzalez", + reviewerEmail: "nolan.gonzalez@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Scarlett Wright", + reviewerEmail: "scarlett.wright@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 24, + meta: { + createdAt: "2024-05-23T08:56:21.618Z", + updatedAt: "2024-05-23T08:56:21.618Z", + barcode: "9164035109868", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png", + }, + { + id: 2, + title: "Eyeshadow Palette with Mirror", + description: + "The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.", + category: "beauty", + price: 19.99, + discountPercentage: 5.5, + rating: 3.28, + stock: 44, + tags: ["beauty", "eyeshadow"], + brand: "Glamour Beauty", + sku: "MVCFH27F", + weight: 3, + dimensions: { + width: 12.42, + height: 8.63, + depth: 29.13, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Liam Garcia", + reviewerEmail: "liam.garcia@x.dummyjson.com", + }, + { + rating: 1, + comment: "Very disappointed!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Nora Russell", + reviewerEmail: "nora.russell@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Elena Baker", + reviewerEmail: "elena.baker@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 32, + meta: { + createdAt: "2024-05-23T08:56:21.618Z", + updatedAt: "2024-05-23T08:56:21.618Z", + barcode: "2817839095220", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png", + }, + { + id: 3, + title: "Powder Canister", + description: + "The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.", + category: "beauty", + price: 14.99, + discountPercentage: 18.14, + rating: 3.82, + stock: 59, + tags: ["beauty", "face powder"], + brand: "Velvet Touch", + sku: "9EN8WLT2", + weight: 8, + dimensions: { + width: 24.16, + height: 10.7, + depth: 11.07, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Ethan Thompson", + reviewerEmail: "ethan.thompson@x.dummyjson.com", + }, + { + rating: 4, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Levi Hicks", + reviewerEmail: "levi.hicks@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.618Z", + reviewerName: "Hazel Gardner", + reviewerEmail: "hazel.gardner@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 25, + meta: { + createdAt: "2024-05-23T08:56:21.618Z", + updatedAt: "2024-05-23T08:56:21.618Z", + barcode: "0516267971277", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Powder%20Canister/thumbnail.png", + }, + { + id: 4, + title: "Red Lipstick", + description: + "The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.", + category: "beauty", + price: 12.99, + discountPercentage: 19.03, + rating: 2.51, + stock: 68, + tags: ["beauty", "lipstick"], + brand: "Chic Cosmetics", + sku: "O5IF1NTA", + weight: 5, + dimensions: { + width: 14.37, + height: 13.94, + depth: 14.6, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Oscar Powers", + reviewerEmail: "oscar.powers@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Carter Rivera", + reviewerEmail: "carter.rivera@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 6, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "9444582199406", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png", + }, + { + id: 5, + title: "Red Nail Polish", + description: + "The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.", + category: "beauty", + price: 8.99, + discountPercentage: 2.46, + rating: 3.91, + stock: 71, + tags: ["beauty", "nail polish"], + brand: "Nail Couture", + sku: "YUIIIP4W", + weight: 9, + dimensions: { + width: 8.11, + height: 10.89, + depth: 29.06, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 1 week", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Evan Reed", + reviewerEmail: "evan.reed@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Evelyn Sanchez", + reviewerEmail: "evelyn.sanchez@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 46, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "3212847902461", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png", + }, + { + id: 6, + title: "Calvin Klein CK One", + description: + "CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.", + category: "fragrances", + price: 49.99, + discountPercentage: 0.32, + rating: 4.85, + stock: 17, + tags: ["fragrances", "perfumes"], + brand: "Calvin Klein", + sku: "DZM2JQZE", + weight: 5, + dimensions: { + width: 11.53, + height: 14.44, + depth: 6.81, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Sophia Brown", + reviewerEmail: "sophia.brown@x.dummyjson.com", + }, + { + rating: 3, + comment: "Very disappointed!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + { + rating: 1, + comment: "Poor quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Maya Reed", + reviewerEmail: "maya.reed@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 20, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "2210136215089", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png", + }, + { + id: 7, + title: "Chanel Coco Noir Eau De", + description: + "Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.", + category: "fragrances", + price: 129.99, + discountPercentage: 18.64, + rating: 2.76, + stock: 41, + tags: ["fragrances", "perfumes"], + brand: "Chanel", + sku: "K71HBCGS", + weight: 4, + dimensions: { + width: 21.27, + height: 28, + depth: 11.89, + }, + warrantyInformation: "1 week warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 1, + comment: "Disappointing product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Lincoln Kelly", + reviewerEmail: "lincoln.kelly@x.dummyjson.com", + }, + { + rating: 4, + comment: "Great product!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Lincoln Kelly", + reviewerEmail: "lincoln.kelly@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Lucas Allen", + reviewerEmail: "lucas.allen@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 5, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "1435582999795", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Chanel%20Coco%20Noir%20Eau%20De/thumbnail.png", + }, + { + id: 8, + title: "Dior J'adore", + description: + "J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.", + category: "fragrances", + price: 89.99, + discountPercentage: 17.44, + rating: 3.31, + stock: 91, + tags: ["fragrances", "perfumes"], + brand: "Dior", + sku: "E70NB03B", + weight: 10, + dimensions: { + width: 21.51, + height: 7, + depth: 26.51, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Zoe Nicholson", + reviewerEmail: "zoe.nicholson@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Addison Wright", + reviewerEmail: "addison.wright@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Clara Berry", + reviewerEmail: "clara.berry@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 8, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "0887083199279", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png", + }, + { + id: 9, + title: "Dolce Shine Eau de", + description: + "Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.", + category: "fragrances", + price: 69.99, + discountPercentage: 11.47, + rating: 2.68, + stock: 3, + tags: ["fragrances", "perfumes"], + brand: "Dolce & Gabbana", + sku: "1NBFK980", + weight: 5, + dimensions: { + width: 17, + height: 24.57, + depth: 13.3, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "Low Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Xavier Wright", + reviewerEmail: "xavier.wright@x.dummyjson.com", + }, + { + rating: 1, + comment: "Poor quality!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Mila Hernandez", + reviewerEmail: "mila.hernandez@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.619Z", + reviewerName: "Sophia Brown", + reviewerEmail: "sophia.brown@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 9, + meta: { + createdAt: "2024-05-23T08:56:21.619Z", + updatedAt: "2024-05-23T08:56:21.619Z", + barcode: "1939383392674", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Dolce%20Shine%20Eau%20de/thumbnail.png", + }, + { + id: 10, + title: "Gucci Bloom Eau de", + description: + "Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.", + category: "fragrances", + price: 79.99, + discountPercentage: 8.9, + rating: 2.69, + stock: 93, + tags: ["fragrances", "perfumes"], + brand: "Gucci", + sku: "FFKZ6HOF", + weight: 10, + dimensions: { + width: 22.28, + height: 17.81, + depth: 27.18, + }, + warrantyInformation: "No warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Aria Parker", + reviewerEmail: "aria.parker@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Natalie Harris", + reviewerEmail: "natalie.harris@x.dummyjson.com", + }, + { + rating: 4, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ava Harris", + reviewerEmail: "ava.harris@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 10, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8232190382069", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/1.png", + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/2.png", + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/fragrances/Gucci%20Bloom%20Eau%20de/thumbnail.png", + }, + { + id: 11, + title: "Annibale Colombo Bed", + description: + "The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.", + category: "furniture", + price: 1899.99, + discountPercentage: 0.29, + rating: 4.14, + stock: 47, + tags: ["furniture", "beds"], + brand: "Annibale Colombo", + sku: "4KMDTZWF", + weight: 3, + dimensions: { + width: 28.75, + height: 26.88, + depth: 24.47, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Julian Newton", + reviewerEmail: "julian.newton@x.dummyjson.com", + }, + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Clara Berry", + reviewerEmail: "clara.berry@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7113807059215", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png", + }, + { + id: 12, + title: "Annibale Colombo Sofa", + description: + "The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.", + category: "furniture", + price: 2499.99, + discountPercentage: 18.54, + rating: 3.08, + stock: 16, + tags: ["furniture", "sofas"], + brand: "Annibale Colombo", + sku: "LUU95CQP", + weight: 3, + dimensions: { + width: 20.97, + height: 19.11, + depth: 25.81, + }, + warrantyInformation: "1 month warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Tyler Davis", + reviewerEmail: "tyler.davis@x.dummyjson.com", + }, + { + rating: 5, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Hannah Robinson", + reviewerEmail: "hannah.robinson@x.dummyjson.com", + }, + { + rating: 3, + comment: "Waste of money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0426785817074", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Sofa/thumbnail.png", + }, + { + id: 13, + title: "Bedside Table African Cherry", + description: + "The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.", + category: "furniture", + price: 299.99, + discountPercentage: 9.58, + rating: 4.48, + stock: 16, + tags: ["furniture", "bedside tables"], + brand: "Furniture Co.", + sku: "OWPLTZYX", + weight: 10, + dimensions: { + width: 25.43, + height: 20.2, + depth: 24.95, + }, + warrantyInformation: "6 months warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "John Doe", + reviewerEmail: "john.doe@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Avery Carter", + reviewerEmail: "avery.carter@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Evelyn Sanchez", + reviewerEmail: "evelyn.sanchez@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 5, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "2913244159666", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Bedside%20Table%20African%20Cherry/thumbnail.png", + }, + { + id: 14, + title: "Knoll Saarinen Executive Conference Chair", + description: + "The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.", + category: "furniture", + price: 499.99, + discountPercentage: 15.23, + rating: 4.11, + stock: 47, + tags: ["furniture", "office chairs"], + brand: "Knoll", + sku: "RKHVJ4FE", + weight: 3, + dimensions: { + width: 16.59, + height: 21.46, + depth: 29.07, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 3-5 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Leah Gutierrez", + reviewerEmail: "leah.gutierrez@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Nolan Gonzalez", + reviewerEmail: "nolan.gonzalez@x.dummyjson.com", + }, + { + rating: 2, + comment: "Waste of money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Stella Morris", + reviewerEmail: "stella.morris@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 5, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0726316339746", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Knoll%20Saarinen%20Executive%20Conference%20Chair/thumbnail.png", + }, + { + id: 15, + title: "Wooden Bathroom Sink With Mirror", + description: + "The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.", + category: "furniture", + price: 799.99, + discountPercentage: 11.22, + rating: 3.26, + stock: 95, + tags: ["furniture", "bathroom"], + brand: "Bath Trends", + sku: "7OLTIEVO", + weight: 6, + dimensions: { + width: 7.32, + height: 22.64, + depth: 12.37, + }, + warrantyInformation: "6 months warranty", + shippingInformation: "Ships in 3-5 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Charlotte Lopez", + reviewerEmail: "charlotte.lopez@x.dummyjson.com", + }, + { + rating: 1, + comment: "Would not recommend!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "William Gonzalez", + reviewerEmail: "william.gonzalez@x.dummyjson.com", + }, + { + rating: 2, + comment: "Not worth the price!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ava Harrison", + reviewerEmail: "ava.harrison@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7839797529453", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/1.png", + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/2.png", + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/3.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/furniture/Wooden%20Bathroom%20Sink%20With%20Mirror/thumbnail.png", + }, + { + id: 16, + title: "Apple", + description: + "Fresh and crisp apples, perfect for snacking or incorporating into various recipes.", + category: "groceries", + price: 1.99, + discountPercentage: 1.97, + rating: 2.96, + stock: 9, + tags: ["fruits"], + sku: "QTROUV79", + weight: 8, + dimensions: { + width: 8.29, + height: 5.58, + depth: 12.41, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Logan Lee", + reviewerEmail: "logan.lee@x.dummyjson.com", + }, + { + rating: 4, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Elena Long", + reviewerEmail: "elena.long@x.dummyjson.com", + }, + { + rating: 1, + comment: "Not as described!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Grayson Coleman", + reviewerEmail: "grayson.coleman@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 44, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "2517819903837", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Apple/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png", + }, + { + id: 17, + title: "Beef Steak", + description: + "High-quality beef steak, great for grilling or cooking to your preferred level of doneness.", + category: "groceries", + price: 12.99, + discountPercentage: 17.99, + rating: 2.83, + stock: 96, + tags: ["meat"], + sku: "BWWA2MSO", + weight: 9, + dimensions: { + width: 23.35, + height: 13.48, + depth: 26.4, + }, + warrantyInformation: "1 month warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ethan Martinez", + reviewerEmail: "ethan.martinez@x.dummyjson.com", + }, + { + rating: 3, + comment: "Disappointing product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Owen Fisher", + reviewerEmail: "owen.fisher@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Scarlett Wright", + reviewerEmail: "scarlett.wright@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 21, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8335515097879", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Beef%20Steak/thumbnail.png", + }, + { + id: 18, + title: "Cat Food", + description: + "Nutritious cat food formulated to meet the dietary needs of your feline friend.", + category: "groceries", + price: 8.99, + discountPercentage: 9.57, + rating: 2.88, + stock: 13, + tags: ["pet supplies", "cat food"], + sku: "C3F8QN6O", + weight: 9, + dimensions: { + width: 15.4, + height: 13.97, + depth: 25.13, + }, + warrantyInformation: "3 months warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mateo Bennett", + reviewerEmail: "mateo.bennett@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Aurora Barnes", + reviewerEmail: "aurora.barnes@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ellie Stewart", + reviewerEmail: "ellie.stewart@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 48, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "5503491330693", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png", + }, + { + id: 19, + title: "Chicken Meat", + description: + "Fresh and tender chicken meat, suitable for various culinary preparations.", + category: "groceries", + price: 9.99, + discountPercentage: 10.46, + rating: 4.61, + stock: 69, + tags: ["meat"], + sku: "G5YEHW7B", + weight: 7, + dimensions: { + width: 15.96, + height: 29.24, + depth: 26.25, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Sophia Jones", + reviewerEmail: "sophia.jones@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Maya Reed", + reviewerEmail: "maya.reed@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Harper Turner", + reviewerEmail: "harper.turner@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 46, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0966223559510", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/1.png", + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/2.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png", + }, + { + id: 20, + title: "Cooking Oil", + description: + "Versatile cooking oil suitable for frying, sautéing, and various culinary applications.", + category: "groceries", + price: 4.99, + discountPercentage: 18.89, + rating: 4.01, + stock: 22, + tags: ["cooking essentials"], + sku: "Q6ZP1UY8", + weight: 8, + dimensions: { + width: 8.18, + height: 27.45, + depth: 27.88, + }, + warrantyInformation: "Lifetime warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mason Parker", + reviewerEmail: "mason.parker@x.dummyjson.com", + }, + { + rating: 3, + comment: "Poor quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Jonathan Pierce", + reviewerEmail: "jonathan.pierce@x.dummyjson.com", + }, + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Alexander Hernandez", + reviewerEmail: "alexander.hernandez@x.dummyjson.com", + }, + ], + returnPolicy: "60 days return policy", + minimumOrderQuantity: 2, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "6707669443381", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png", + }, + { + id: 21, + title: "Cucumber", + description: + "Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.", + category: "groceries", + price: 1.49, + discountPercentage: 11.44, + rating: 4.71, + stock: 22, + tags: ["vegetables"], + sku: "6KGF2K6Z", + weight: 9, + dimensions: { + width: 11.04, + height: 20.5, + depth: 8.18, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Elijah Hill", + reviewerEmail: "elijah.hill@x.dummyjson.com", + }, + { + rating: 5, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Liam Garcia", + reviewerEmail: "liam.garcia@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ella Cook", + reviewerEmail: "ella.cook@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 7, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "2597004869708", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Cucumber/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Cucumber/thumbnail.png", + }, + { + id: 22, + title: "Dog Food", + description: + "Specially formulated dog food designed to provide essential nutrients for your canine companion.", + category: "groceries", + price: 10.99, + discountPercentage: 18.15, + rating: 2.74, + stock: 40, + tags: ["pet supplies", "dog food"], + sku: "A6QRCH37", + weight: 2, + dimensions: { + width: 29.39, + height: 29.77, + depth: 20.54, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 4, + comment: "Highly recommended!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Alexander Jones", + reviewerEmail: "alexander.jones@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Addison Wright", + reviewerEmail: "addison.wright@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 29, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7957222289508", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Dog%20Food/thumbnail.png", + }, + { + id: 23, + title: "Eggs", + description: + "Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.", + category: "groceries", + price: 2.99, + discountPercentage: 5.8, + rating: 4.46, + stock: 10, + tags: ["dairy"], + sku: "YA617RI7", + weight: 4, + dimensions: { + width: 12.3, + height: 10.99, + depth: 15.53, + }, + warrantyInformation: "3 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 2, + comment: "Very unhappy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mateo Perez", + reviewerEmail: "mateo.perez@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Cameron Perez", + reviewerEmail: "cameron.perez@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Aurora Barnes", + reviewerEmail: "aurora.barnes@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 43, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7095702028776", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Eggs/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Eggs/thumbnail.png", + }, + { + id: 24, + title: "Fish Steak", + description: + "Quality fish steak, suitable for grilling, baking, or pan-searing.", + category: "groceries", + price: 14.99, + discountPercentage: 7, + rating: 4.83, + stock: 99, + tags: ["seafood"], + sku: "XNIH1MTA", + weight: 8, + dimensions: { + width: 20.14, + height: 8.4, + depth: 10.01, + }, + warrantyInformation: "1 year warranty", + shippingInformation: "Ships in 1 month", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great value for money!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Michael Johnson", + reviewerEmail: "michael.johnson@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Julian Newton", + reviewerEmail: "julian.newton@x.dummyjson.com", + }, + { + rating: 5, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Lila Hudson", + reviewerEmail: "lila.hudson@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 49, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "4250692197342", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png", + }, + { + id: 25, + title: "Green Bell Pepper", + description: + "Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.", + category: "groceries", + price: 1.29, + discountPercentage: 15.5, + rating: 4.28, + stock: 89, + tags: ["vegetables"], + sku: "HU7S7VQ0", + weight: 7, + dimensions: { + width: 7.32, + height: 14.31, + depth: 21.38, + }, + warrantyInformation: "5 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Maya Reed", + reviewerEmail: "maya.reed@x.dummyjson.com", + }, + { + rating: 4, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madison Collins", + reviewerEmail: "madison.collins@x.dummyjson.com", + }, + { + rating: 5, + comment: "Would buy again!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ethan Thompson", + reviewerEmail: "ethan.thompson@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "7583442707568", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png", + }, + { + id: 26, + title: "Green Chili Pepper", + description: + "Spicy green chili pepper, ideal for adding heat to your favorite recipes.", + category: "groceries", + price: 0.99, + discountPercentage: 18.51, + rating: 4.43, + stock: 8, + tags: ["vegetables"], + sku: "Y4RM3JCB", + weight: 2, + dimensions: { + width: 18.67, + height: 21.17, + depth: 25.26, + }, + warrantyInformation: "No warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 2, + comment: "Disappointing product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Mateo Bennett", + reviewerEmail: "mateo.bennett@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Natalie Price", + reviewerEmail: "natalie.price@x.dummyjson.com", + }, + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Avery Barnes", + reviewerEmail: "avery.barnes@x.dummyjson.com", + }, + ], + returnPolicy: "30 days return policy", + minimumOrderQuantity: 43, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8400326844874", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png", + }, + { + id: 27, + title: "Honey Jar", + description: + "Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.", + category: "groceries", + price: 6.99, + discountPercentage: 1.91, + rating: 3.5, + stock: 25, + tags: ["condiments"], + sku: "BTBNIIOU", + weight: 9, + dimensions: { + width: 26.53, + height: 27.11, + depth: 6.63, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships overnight", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Fast shipping!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Nicholas Bailey", + reviewerEmail: "nicholas.bailey@x.dummyjson.com", + }, + { + rating: 5, + comment: "Awesome product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Gabriel Hayes", + reviewerEmail: "gabriel.hayes@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "James Garcia", + reviewerEmail: "james.garcia@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 1, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "0668665656044", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/1.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Honey%20Jar/thumbnail.png", + }, + { + id: 28, + title: "Ice Cream", + description: + "Creamy and delicious ice cream, available in various flavors for a delightful treat.", + category: "groceries", + price: 5.49, + discountPercentage: 7.58, + rating: 3.77, + stock: 76, + tags: ["desserts"], + sku: "VEZMU1EQ", + weight: 5, + dimensions: { + width: 17.66, + height: 24.49, + depth: 25.98, + }, + warrantyInformation: "2 year warranty", + shippingInformation: "Ships in 2 weeks", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Elena Baker", + reviewerEmail: "elena.baker@x.dummyjson.com", + }, + { + rating: 5, + comment: "Highly impressed!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Madeline Simpson", + reviewerEmail: "madeline.simpson@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very happy with my purchase!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Caleb Nelson", + reviewerEmail: "caleb.nelson@x.dummyjson.com", + }, + ], + returnPolicy: "No return policy", + minimumOrderQuantity: 19, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "9603960319256", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: [ + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/1.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/2.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/3.png", + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/4.png", + ], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png", + }, + { + id: 29, + title: "Juice", + description: + "Refreshing fruit juice, packed with vitamins and great for staying hydrated.", + category: "groceries", + price: 3.99, + discountPercentage: 5.45, + rating: 3.41, + stock: 99, + tags: ["beverages"], + sku: "M2K19S06", + weight: 2, + dimensions: { + width: 8.97, + height: 12.26, + depth: 15.05, + }, + warrantyInformation: "1 week warranty", + shippingInformation: "Ships in 1-2 business days", + availabilityStatus: "In Stock", + reviews: [ + { + rating: 4, + comment: "Very satisfied!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Leo Rivera", + reviewerEmail: "leo.rivera@x.dummyjson.com", + }, + { + rating: 2, + comment: "Not worth the price!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Ethan Martinez", + reviewerEmail: "ethan.martinez@x.dummyjson.com", + }, + { + rating: 4, + comment: "Excellent quality!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Max Parker", + reviewerEmail: "max.parker@x.dummyjson.com", + }, + ], + returnPolicy: "90 days return policy", + minimumOrderQuantity: 26, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "8546824122355", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Juice/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Juice/thumbnail.png", + }, + { + id: 30, + title: "Kiwi", + description: + "Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.", + category: "groceries", + price: 2.49, + discountPercentage: 10.32, + rating: 4.37, + stock: 1, + tags: ["fruits"], + sku: "0X3NORB9", + weight: 8, + dimensions: { + width: 27.3, + height: 7.48, + depth: 15.08, + }, + warrantyInformation: "6 months warranty", + shippingInformation: "Ships in 3-5 business days", + availabilityStatus: "Low Stock", + reviews: [ + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Nora Russell", + reviewerEmail: "nora.russell@x.dummyjson.com", + }, + { + rating: 5, + comment: "Very pleased!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Dylan Wells", + reviewerEmail: "dylan.wells@x.dummyjson.com", + }, + { + rating: 5, + comment: "Great product!", + date: "2024-05-23T08:56:21.620Z", + reviewerName: "Noah Hernandez", + reviewerEmail: "noah.hernandez@x.dummyjson.com", + }, + ], + returnPolicy: "7 days return policy", + minimumOrderQuantity: 8, + meta: { + createdAt: "2024-05-23T08:56:21.620Z", + updatedAt: "2024-05-23T08:56:21.620Z", + barcode: "3325493172934", + qrCode: "https://dummyjson.com/public/qr-code.png", + }, + images: ["https://cdn.dummyjson.com/products/images/groceries/Kiwi/1.png"], + thumbnail: + "https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png", + }, +]; + +// const categories = [...new Set([...products.map((p) => p.category)])]; + +// categories.map((c) => ({ +// value: c, +// label: c.split("-").join(" "), +// checked: false, +// })); + +//categories results:- +// {value: 'beauty', label: 'beauty', checked: false}, +// {value: 'fragrances', label: 'fragrances', checked: false}, +// {value: 'furniture', label: 'furniture', checked: false}, +// {value: 'groceries', label: 'groceries', checked: false}, + +const brands = [...new Set([...products.map((p) => p.brand)])]; + +brands.map((c) => ({ + value: c, + label: c, + checked: false, +})); + +// Brands results:- +// {value: 'Essence', label: 'Essence', checked: false}, +// {value: 'Glamour Beauty', label: 'Glamour Beauty', checked: false}, +// {value: 'Velvet Touch', label: 'Velvet Touch', checked: false}, +// {value: 'Chic Cosmetics', label: 'Chic Cosmetics', checked: false}, +// {value: 'Nail Couture', label: 'Nail Couture', checked: false}, +// {value: 'Calvin Klein', label: 'Calvin Klein', checked: false}, +// {value: 'Chanel', label: 'Chanel', checked: false}, +// {value: 'Dior', label: 'Dior', checked: false}, +// {value: 'Gucci', label: 'Gucci', checked: false}, +// {value: 'Annibale Colombo', label: 'Annibale Colombo', checked: false}, +// {value: 'Furniture Co.', label: 'Furniture Co.', checked: false}, +// {value: 'Knoll', label: 'Knoll', checked: false}, +// {value: 'Bath Trends', label: 'Bath Trends', checked: false}, From a92b677492f72fc71d736df985b2f12f4c846a34 Mon Sep 17 00:00:00 2001 From: Murtaza Tankiwala <115138620+murtazatankiwala456@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:02:55 +0530 Subject: [PATCH 05/47] filter feature added using redux and json server api --- .../product/components/ProductList.js | 53 +++++++++---------- src/features/product/productAPI.js | 16 ++++++ src/features/product/productSlice.js | 17 +++++- test.js | 12 ++--- 4 files changed, 64 insertions(+), 34 deletions(-) diff --git a/src/features/product/components/ProductList.js b/src/features/product/components/ProductList.js index 823a07e..0815dd1 100644 --- a/src/features/product/components/ProductList.js +++ b/src/features/product/components/ProductList.js @@ -1,6 +1,10 @@ import React, { useState, Fragment, useEffect } from "react"; import { useSelector, useDispatch } from "react-redux"; -import { fetchAllProductsAsync, selectAllProducts } from "../productSlice"; +import { + fetchAllProductsAsync, + fetchProductsByFiltersAsync, + selectAllProducts, +} from "../productSlice"; import { Dialog, Disclosure, Menu, Transition } from "@headlessui/react"; import { StarIcon, XMarkIcon } from "@heroicons/react/24/outline"; import { ChevronLeftIcon, ChevronRightIcon } from "@heroicons/react/20/solid"; @@ -22,52 +26,36 @@ const sortOptions = [ ]; const filters = [ + { + id: "category", + name: "Category", + options: [ + { value: "beauty", label: "Beauty", checked: false }, + { value: "fragrances", label: "Fragrances", checked: false }, + { value: "furniture", label: "Furniture", checked: false }, + { value: "groceries", label: "Groceries", checked: false }, + ], + }, { id: "brand", name: "Brands", options: [ { value: "Essence", label: "Essence", checked: false }, - { value: "Glamour Beauty", label: "Glamour Beauty", checked: false }, - { value: "Velvet Touch", label: "Velvet Touch", checked: false }, - { value: "Chic Cosmetics", label: "Chic Cosmetics", checked: false }, - { value: "Nail Couture", label: "Nail Couture", checked: false }, - { value: "Calvin Klein", label: "Calvin Klein", checked: false }, - { value: "Chanel", label: "Chanel", checked: false }, - { value: "Dior", label: "Dior", checked: false }, - { value: "Dolce & Gabbana", label: "Dolce & Gabbana", checked: false }, - { value: "Gucci", label: "Gucci", checked: false }, - { value: "Annibale Colombo", label: "Annibale Colombo", checked: false }, - { value: "Furniture Co.", label: "Furniture Co.", checked: false }, - { value: "Knoll", label: "Knoll", checked: false }, - { value: "Bath Trends", label: "Bath Trends", checked: false }, ], }, - { - id: "category", - name: "Category", - options: [ - { value: "beauty", label: "Beauty", checked: false }, - - { value: "fragrances", label: "Fragrances", checked: false }, - - { value: "furniture", label: "Furniture", checked: false }, - - { value: "groceries", label: "Groceries", checked: false }, - ], - }, ]; function classNames(...classes) { @@ -78,10 +66,18 @@ export default function ProductList() { const [mobileFiltersOpen, setMobileFiltersOpen] = useState(false); const products = useSelector(selectAllProducts); const dispatch = useDispatch(); + const [filter, setFilter] = useState({}); + const handleFilter = (e, section, option) => { + const newFilter = { ...filter, [section.id]: option.value }; + setFilter(newFilter); + dispatch(fetchProductsByFiltersAsync(newFilter)); + console.log(section.id, option.value); + }; useEffect(() => { dispatch(fetchAllProductsAsync()); }, [dispatch]); + return (
@@ -314,6 +310,9 @@ export default function ProductList() { defaultValue={option.value} type="checkbox" defaultChecked={option.checked} + onChange={(e) => { + handleFilter(e, section, option); + }} className="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500" />