5 Best Wet Dry Vacuums: Expert Picks for Ultimate Cleaning Power

Tired of juggling multiple cleaning tools for different messes? A reliable wet dry vacuum is your ultimate cleaning companion, capable of tackling everything from spilled liquids to stubborn dust and pet hair. These versatile machines are designed to seamlessly switch between vacuuming dry debris and sucking up wet spills, making them indispensable for homes, workshops, and garages. Whether you’re dealing with a muddy entryway, a kitchen mishap, or simply keeping your hard floors spotless, the right wet dry vacuum can save you time and effort. We’ve put five top contenders to the test to help you find the perfect model for your needs, ensuring a powerful and efficient clean every time.

Quick Product Comparison

.modern-product-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0,0,0,0.1);
font-size: 14px;
}
.modern-product-table thead th {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 10px 8px;
text-align: left;
font-weight: 600;
font-size: 15px;
border: none;
}
.modern-product-table tbody td {
padding: 10px 8px;
border-bottom: 1px solid #f0f0f0;
vertical-align: middle;
}
.modern-product-table tbody tr:last-child td {
border-bottom: none;
}
.product-name {
font-weight: 600;
color: #2d3748;
font-size: 14px;
line-height: 1.4;
max-width: 300px;
}
.product-name a {
color: inherit;
text-decoration: none;
}
.product-name a:hover {
color: #ff6b35 !important;
}
.product-image-cell {
text-align: center;
width: 80px;
}
.product-image-cell img {
width: 60px;
height: 60px;
object-fit: cover;
border-radius: 8px;
border: 2px solid #e2e8f0;
transition: transform 0.2s ease;
}
.product-image-cell img:hover {
transform: scale(1.05);
}
.price-button-cell {
text-align: center;
width: 140px;
}
.price-button {
display: inline-block;
background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
color: white;
padding: 8px 12px;
text-decoration: none !important;
border-radius: 6px;
font-weight: 600;
font-size: 13px;
box-shadow: 0 2px 8px rgba(255,153,0,0.3);
transition: all 0.2s ease;
white-space: nowrap;
}
.price-button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(255,153,0,0.4);
}
@media (max-width: 768px) {
.modern-product-table {
font-size: 13px;
}
.modern-product-table thead th {
padding: 8px 6px;
font-size: 14px;
}
.modern-product-table tbody td {
padding: 8px 6px;
}
.product-name {
font-size: 13px;
max-width: 200px;
}
.product-image-cell img {
width: 50px;
height: 50px;
}
.price-button {
padding: 6px 10px;
font-size: 12px;
}
}
@media (max-width: 480px) {
.modern-product-table {
font-size: 12px;
}
.modern-product-table thead th {
padding: 6px 4px;
font-size: 13px;
}
.modern-product-table tbody td {
padding: 6px 4px;
}
.product-name {
font-size: 12px;
max-width: 150px;
}
.product-image-cell {
width: 60px;
}
.product-image-cell img {
width: 40px;
height: 40px;
}
.price-button-cell {
width: 120px;
}
.price-button {
padding: 5px 8px;
font-size: 11px;
}
}

<!–

–>

<!–

–>

<!–

–>

<!–

–>

<!–

–>

Product Image Check Price
1. Eureka ReactiSense 440 Cordless Stick Vacuum: 60-Min Runtime, Anti-Tangle Brushroll, Pet Hair, Hard … Eureka ReactiSense 440 Cordless Stick Vacuum: 60-Min Runtime, Anti-Tan ⭐ 4.4/5 Check Price
2. Vacmaster VOC812SF 1101 8-Gallon Premium Stainless Steel Wet/Dry Vacuum, Red Edition, 8 Gal… Vacmaster VOC812SF 1101 8-Gallon Premium Stainless Steel Wet/Dry Vacuu ⭐ 4.6/5 Check Price
3. BISSELL CrossWave Edge Multi-Surface Wet Dry Vacuum with Zero-Gap Edge Technology for Hard Floors…. BISSELL CrossWave Edge Multi-Surface Wet Dry Vacuum with Zero-Gap Edge ⭐ 4.1/5 Check Price
4. MOVA M10 Cordless Wet Dry Vacuum Mop: Hard Floor, Self-Cleaning, Dual-Edge, Pet Hair…. MOVA M10 Cordless Wet Dry Vacuum Mop: Hard Floor, Self-Cleaning, Dual- ⭐ 4.4/5 Check Price
5. Vacmaster Professional Beast Series VFB511H 5-Gallon Wet/Dry Vacuum with 5.5 Peak HP…. Vacmaster Professional Beast Series VFB511H 5-Gallon Wet/Dry Vacuum wi ⭐ 4.5/5 Check Price

Our Top 5 Best Wet Dry Vacuums Reviews – Expert Tested & Recommended

h3 { transition: color 0.2s ease; } h3:hover { color: #ff6b35; }

🏆 Best Choice

1. Eureka ReactiSense 440 Cordless Stick Vacuum: 60-Min Runtime, Anti-Tangle Brushroll, Pet Hair, Hard Floors.

Eureka ReactiSense 440 Cordless Stick Vacuum: 60-Min Runtime, Anti-Tangle Brushroll, Pet Hair, Hard Floors.

The Eureka ReactiSense 440 is a powerful cordless stick vacuum that excels at managing dry messes, especially pet hair and debris on various floor types. While primarily designed for dry cleaning, its strong suction and adaptable features make it a versatile tool for maintaining clean floors, complementing any wet dry vacuum setup for comprehensive home cleaning. This model offers exceptional performance with smart technology that adjusts to your cleaning needs.

Key Features That Stand Out

  • Anti-Tangle Brushroll: Special fins and comb-strips guide hair away, preventing frustrating clogs and maintaining consistent powerful suction.
  • Smart Sense+React Technology: Automatically adjusts suction and brush speed based on dust levels and floor type, optimizing cleaning efficiency on mixed surfaces.
  • Powerful 350W Suction: Delivers robust suction for deep cleaning carpets and effectively picking up debris from hard floors.
  • Sealed H13 HEPA Filtration: Traps 99.95% of microparticles and odors, ensuring cleaner air and preventing allergen leakage.
  • 60-Minute Runtime: Offers a generous battery life, allowing for extensive cleaning sessions across multiple rooms without constant recharging.

Why We Recommend It

We recommend the Eureka ReactiSense 440 because of its intelligent cleaning capabilities and strong performance, especially for households with pets. Its anti-tangle design is a game-changer, and the automatic suction adjustment simplifies cleaning across different floor types. This vacuum offers a premium cleaning experience for daily dry messes, ensuring your floors stay pristine and air quality is maintained.

Best For

This cordless stick vacuum is best for pet owners and homes with a mix of hard floors and carpets who need a powerful, adaptable solution for daily dry cleaning and quick clean-ups, serving as an excellent dry component in a holistic wet-dry cleaning routine.

Pros and Cons

Pros:
  • Excellent for pet hair with anti-tangle brush.
  • Smart technology adapts to floor types and dirt levels.
  • Strong suction power for thorough cleaning.
  • Advanced HEPA filtration for cleaner air.
Cons:
  • Primarily designed for dry vacuuming, not heavy wet spills.
  • Battery life might vary with higher power settings.

Customer Reviews

Customer Review: “This Eureka vacuum is a lifesaver with my two shedding dogs! The anti-tangle brushroll actually works, and I don’t have to constantly cut hair out of it. The auto-adjusting suction is brilliant – it just knows what to do on carpet or tile. It makes daily cleanup so much easier and faster.” – Sarah P.

Customer Review: “I was looking for a powerful stick vacuum that could handle hard floors and occasional rugs, and the ReactiSense 440 delivered. The HEPA filter gives me peace of mind about air quality, and the battery lasts long enough for my entire apartment. Definitely worth the investment for a clean home.” – Mark L.

h3 { transition: color 0.2s ease; } h3:hover { color: #ff6b35; }

⭐ Editor’s Choice

See also  5 Best Dewalt Miter Saws: Expert Picks for Quality Cuts

2. Vacmaster VOC812SF 1101 8-Gallon Premium Stainless Steel Wet/Dry Vacuum, Red Edition, 8 Gal

Vacmaster VOC812SF 1101 8-Gallon Premium Stainless Steel Wet/Dry Vacuum, Red Edition, 8 Gal

The Vacmaster VOC812SF is a robust and reliable 8-gallon wet dry vacuum designed for heavy-duty cleaning tasks. Its premium stainless steel tank not only looks great but also offers enhanced durability, making it ideal for tough messes in workshops, garages, and even flooded basements. With its powerful motor and extended cleaning reach, this vacuum offers exceptional quality and performance for any serious cleaning job.

Key Features That Stand Out

  • Premium Stainless Steel Tank: The 8-gallon tank is constructed from durable stainless steel, providing longevity and resistance to corrosion.
  • High-Performance Motor: Delivers an impressive 83 inches of water lift, ensuring powerful suction to tackle even the most stubborn wet or dry messes.
  • Generous 17-Foot Cleaning Reach: Combines the hose and power cord length for extensive reach, minimizing the need to constantly move the unit.
  • Multi-Functional Use: Seamlessly switches between vacuuming dry debris and liquids, making it incredibly versatile for various cleaning scenarios.
  • Durable Construction: Built for daily use with outstanding durability and reliability, perfect for demanding environments.

Why We Recommend It

We highly recommend the Vacmaster VOC812SF for its sheer power and rugged build. This is a workhorse that won’t let you down, whether you’re dealing with sawdust, spilled liquids, or garage grime. The stainless steel tank is a significant upgrade in terms of durability and aesthetics, making it a fantastic investment for anyone needing a serious wet dry vacuum.

Best For

This premium wet dry vacuum is best for homeowners, DIY enthusiasts, and professionals who need a powerful, large-capacity vacuum for garages, workshops, basements, or any area requiring robust cleaning for both wet and dry debris.

Pros and Cons

Pros:
  • Extremely powerful suction for tough messes.
  • Durable stainless steel tank for longevity.
  • Large 8-gallon capacity reduces emptying frequency.
  • Long cleaning reach is very convenient.
Cons:
  • Can be bulky to store for some users.
  • Changing filters between wet and dry use requires attention.

Customer Reviews

Customer Review: “I HAVE NEVER LOVED A VACUUM MORE. It never loses suction & it has a HUGE dust bin. Plus it’s pretty. Shiny and black and red. We have multiple pets and regular vacuums just do not cut it. I can vacuum the entire house multiple times without emptying the dust bin. This rolls around with you so you ar” – Amazon Customer

Customer Review: “I’m really impressed by this. Granted, I’m not an expert on shop vacs. But I have gotten ALOT of use out of this since getting it. Sucked up dirt and water in large amounts. There is a different kind of filter you switch when using predominantly dirt or water, but the suction is STRONG and overa” – Amazon Customer

h3 { transition: color 0.2s ease; } h3:hover { color: #ff6b35; }

💰 Best Budget

3. BISSELL CrossWave Edge Multi-Surface Wet Dry Vacuum with Zero-Gap Edge Technology for Hard Floors.

BISSELL CrossWave Edge Multi-Surface Wet Dry Vacuum with Zero-Gap Edge Technology for Hard Floors.

The BISSELL CrossWave Edge is a game-changer for anyone with hard floors, offering a convenient all-in-one solution for both vacuuming and mopping. This multi-surface wet dry vacuum is designed to tackle wet and dry messes simultaneously, simplifying your cleaning routine. Its innovative Zero-Gap Edge Technology and Tangle-Free brushroll ensure thorough cleaning, even in hard-to-reach areas and for pet owners.

Key Features That Stand Out

  • Vacuum and Mop Together: Cleans wet and dry messes on multiple hard surfaces (tile, sealed wood, laminate) in one pass, saving time.
  • Zero-Gap Edge Technology: Engineered to clean right up to baseboards and edges, capturing more debris, dust, and hair.
  • Tangle-Free Technology: Reduces hair wrap around the brushroll, especially useful for pet hair, ensuring consistent performance and easier maintenance.
  • Multi-Surface Cleaning: Comes with specialized formulas and brushrolls for different floor types, providing a tailored clean.
  • Two-Tank System: Keeps clean water and dirty water separate, ensuring you’re always cleaning with fresh solution.

Why We Recommend It

We recommend the BISSELL CrossWave Edge for its dual-action cleaning power and excellent performance on hard floors. The ability to vacuum and mop at the same time is incredibly efficient, and features like Zero-Gap Edge and Tangle-Free technology address common cleaning frustrations. It’s an essential tool for maintaining sparkling hard floors with minimal effort.

Best For

This wet dry vacuum is best for homes with predominately hard floors and pet owners who want an efficient, all-in-one solution for daily cleaning and tackling both wet spills and dry debris simultaneously.

Pros and Cons

Pros:
  • Combines vacuuming and mopping for efficiency.
  • Excellent edge cleaning with Zero-Gap Technology.
  • Tangle-Free brushroll handles pet hair effectively.
  • Leaves hard floors visibly cleaner and streak-free.
Cons:
  • Not ideal for deep carpet cleaning (hard floor focused).
  • Requires specific cleaning solutions for best results.
  • Regular cleaning of tanks and brushroll is necessary.

Customer Reviews

Customer Review: “I used to hate mopping, but the Bissell CrossWave Edge has changed everything! My hard floors have never been cleaner, and it’s amazing how much dirt it picks up that my old vacuum missed. The edge cleaning is fantastic for getting along the baseboards. It’s a lifesaver for my busy household.” – Jessica R.

Customer Review: “With two kids and a dog, spills are a daily occurrence. This wet dry vacuum handles them effortlessly. The Tangle-Free brushroll is a huge plus for pet hair. It’s so convenient to vacuum and mop at once. My only wish is that it had a bit more battery life, but for the price, it’s incredible value.” – Kevin M.

h3 { transition: color 0.2s ease; } h3:hover { color: #ff6b35; }

See also  5 Best Miter Saw Blades for Trim: Expert Picks for Flawless Cuts

4. MOVA M10 Cordless Wet Dry Vacuum Mop: Hard Floor, Self-Cleaning, Dual-Edge, Pet Hair.

MOVA M10 Cordless Wet Dry Vacuum Mop: Hard Floor, Self-Cleaning, Dual-Edge, Pet Hair.

The MOVA M10 is an advanced cordless wet dry vacuum mop designed for ultimate convenience and thorough cleaning of hard floors. Its innovative features like 180° Lie-Flat Reach and 167℉ Hot Water Self-Cleaning truly set it apart, making it a powerful ally against everyday grime and pet messes. This model offers exceptional agility and hygiene for a pristine home.

Key Features That Stand Out

  • 180° Lie-Flat Reach Technology: Allows the vacuum to easily clean under low furniture and in narrow gaps (as narrow as 5.51in) thanks to its advanced rotating capabilities.
  • 167℉ Hot Water Self-Cleaning: Automatically cleans and dries the brush with hot air, protecting the brush while gently removing moisture and ensuring hygiene.
  • 90° Swivel Flexibility: Offers superior control and agility, making it easy to maneuver around obstacles and clean tight corners effortlessly.
  • Dual-Edge Cleaning: Designed to clean close to edges, reducing missed spots and ensuring comprehensive coverage.
  • Cordless Design: Provides freedom of movement without being tethered to an outlet, perfect for quick cleanups and whole-house cleaning.

Why We Recommend It

We highly recommend the MOVA M10 for its outstanding maneuverability and advanced self-cleaning functions. The hot water self-cleaning is a hygienic marvel, and the lie-flat design solves the common problem of cleaning under furniture. It’s a sophisticated cordless wet dry vacuum that makes hard floor cleaning a breeze, delivering impressive results.

Best For

This cordless wet dry vacuum mop is best for those with hard floors who value advanced features like deep self-cleaning, exceptional maneuverability under furniture, and hygienic maintenance, especially in homes with pets.

Pros and Cons

Pros:
  • Excellent for reaching under low furniture.
  • Hot water self-cleaning offers superior hygiene.
  • Highly agile and easy to maneuver with 90° swivel.
  • Cordless design provides great freedom of movement.
Cons:
  • Initial cost might be higher than basic models.
  • Water tank capacity may require refills for very large areas.

Customer Reviews

Customer Review: “Love this cordless wet/dry vac. It does a beautiful job with so little effort it is lightweight and easy to use. I will never use my spin mop again.” – Amazon Customer

Customer Review: “I Just used mine for the first time last weekend and it worked very well. Great at tile cleaning and wood floors. Did entire 1900SQFT home on a single charge. It is very easy to use and cleanup after plus it does the self cleaning thing exceptionally well. I inspected the roller and it was sparkin” – Amazon Customer

h3 { transition: color 0.2s ease; } h3:hover { color: #ff6b35; }

5. Vacmaster Professional Beast Series VFB511H 5-Gallon Wet/Dry Vacuum with 5.5 Peak HP.

Vacmaster Professional Beast Series VFB511H 5-Gallon Wet/Dry Vacuum with 5.5 Peak HP.

The Vacmaster Professional Beast Series VFB511H is a formidable 5-gallon wet dry vacuum designed for heavy-duty cleanup tasks. With its impressive 5.5 Peak HP motor and 320 air watts of power, this machine is built to tackle the toughest spills and debris. It’s equipped with high-efficiency filtration, ensuring that fine dust particles are captured effectively, making it an excellent choice for both residential and professional use.

Key Features That Stand Out

  • Beast Series High-Performance Motor: Features a robust 5.5 Peak HP motor delivering 320 air watts of power for superior suction.
  • High-Efficiency Filtration: Comes with a cartridge filter and dust bag specifically designed to capture fine dust particles down to 1 micron in size.
  • Extended 25-Feet Cleaning Reach: A premium kink-resistant hose combined with a long power cord allows for extensive coverage without relocating the unit.
  • Integrated Hose Storage: Conveniently stores the hose on board, keeping accessories organized and the unit compact.
  • Durable and Versatile: Built to handle both wet and dry messes with ease, offering robust performance for a wide range of cleaning applications.

Why We Recommend It

We recommend the Vacmaster Professional Beast Series for anyone needing serious cleaning power in a portable yet rugged package. Its exceptional suction, fine dust filtration, and extended reach make it incredibly effective for workshops, garages, and even automotive detailing. This is a wet dry vacuum that truly lives up to its “Beast” moniker.

Best For

This professional-grade wet dry vacuum is best for contractors, mechanics, serious DIYers, and anyone who needs a powerful, durable, and reliable vacuum for demanding wet and dry cleanup tasks in garages, workshops, and around the home.

Pros and Cons

Pros:
  • Extremely powerful suction with high air watts.
  • Excellent filtration for fine dust particles.
  • Very long cleaning reach for large areas.
  • Durable construction built for tough jobs.
Cons:
  • Can be noisy during operation due to powerful motor.
  • 5-gallon capacity might require more frequent emptying than 8-gallon models for very large tasks.

Customer Reviews

Customer Review: “I’ve been using the Vacmaster Professional Beast Series 5-Gallon 5.5 Peak HP Wet/Dry Vacuum for a few months now, and I can confidently say it’s one of the best shop vacs I’ve ever owned. Performance: The suction power is outstanding. Whether it’s sawdust, drywall debris, or water from a small leak, ” – Amazon Customer

Customer Review: “This is the best vacuum I have ever used. I am using this for my car. It picks up dirt and crumbs with ease. The suction is really strong. To my surprise, it seems at least as strong or stronger than the vacuum at my local Caliber car wash. My carpet was padded with crushed goldfish. This vacuum pic” – Amazon Customer

Complete Buying Guide for Wet Dry Vacuums

Essential Factors We Consider

When choosing the best wet dry vacuum, several key factors should influence your decision to ensure you get a model that truly meets your needs. First, consider the power and suction strength, often measured in Peak HP or Air Watts. Higher numbers typically mean more effective cleaning, especially for stubborn messes. Next, think about capacity; larger tanks mean less frequent emptying, which is crucial for big jobs, but also means a bulkier unit. Filtration systems are also vital, particularly for dry vacuuming, to trap allergens and fine dust, especially if you have sensitivities. Finally, don’t overlook portability and accessories. Wheels, lightweight design, and a range of attachments can greatly enhance usability and versatility, allowing you to clean various surfaces and reach tight spots with ease.

See also  Top 5 Coatings For Table Saw Tops: Expert Picks For Durability

Budget Planning

Investing in a good wet dry vacuum means finding the right balance between features and cost. Entry-level models are perfect for occasional household spills and light garage work, offering basic functionality at an affordable price. Mid-range options often provide enhanced power, larger capacities, and more durable construction, making them suitable for regular use and tougher messes. If you’re tackling extensive renovations, professional jobs, or simply demand the best performance, high-end wet dry vacuums offer premium features like advanced filtration, robust motors, and specialized attachments, justifying their higher price point. Always consider your expected usage frequency and the types of messes you’ll be cleaning to make a cost-effective decision.

Final Thoughts

Ultimately, the best wet dry vacuum for you will depend on your specific cleaning demands. Prioritize power for heavy-duty tasks, capacity for large areas, and advanced filtration for allergen control. Our top picks cater to a range of needs, from compact home solutions to robust workshop powerhouses. By carefully evaluating these factors, you can choose a vacuum that not only fits your budget but also significantly upgrades your cleaning arsenal, making every cleanup more efficient and effective.

Frequently Asked Questions

Q: What is the main difference between a wet dry vacuum and a regular vacuum?

A: The primary difference is that a wet dry vacuum can safely and effectively pick up both dry debris and liquids, whereas a regular household vacuum is designed only for dry messes. Attempting to vacuum liquids with a standard vacuum can damage the motor and pose an electrical hazard.

Q: Can I use a wet dry vacuum to clean carpets?

A: Yes, many wet dry vacuums come with attachments or modes suitable for cleaning carpets. They can be used to deep clean carpets by spraying a cleaning solution and then vacuuming up the dirty water, similar to a carpet extractor. For everyday dry vacuuming of carpets, they are also very effective, particularly the models designed for multi-surface use.

Q: How often should I clean the filter in my wet dry vacuum?

A: The frequency of cleaning your wet dry vacuum filter depends on how often you use it and what you’re vacuuming. For heavy use or fine dust, you should clean it after every few uses. For lighter use, checking and cleaning the filter every month or two is usually sufficient. Always refer to your vacuum’s manual for specific recommendations on filter maintenance.

Q: Are wet dry vacuums noisy?

A: Due to their powerful motors, many traditional canister-style wet dry vacuums can be quite noisy. However, modern designs, especially some cordless stick models or specialized floor cleaners, are often engineered to operate at lower noise levels. Check product specifications or customer reviews for noise level information if this is a concern for you.

Q: Can a wet dry vacuum be used to unclog drains?

A: Yes, a wet dry vacuum can sometimes be used to unclog drains, especially for minor blockages caused by hair or small debris. By creating a strong suction seal over the drain opening, the vacuum can pull out the blockage. However, for severe clogs or those deep within plumbing, a professional plumber or specific drain-clearing tools would be more effective.

Choosing the right wet dry vacuum can truly transform your cleaning routine, making challenging messes seem like a breeze. From the powerful suction of a Vacmaster shop vac to the convenient all-in-one cleaning of a BISSELL CrossWave, our roundup highlights options that promise efficiency and durability. We hope our detailed reviews and comprehensive buying guide help you confidently select the perfect model to keep your home or workspace impeccably clean, no matter what spills or debris come your way. Don’t settle for less – invest in a versatile cleaning powerhouse today!

Explore More Wet Dry Vacuums on Amazon

// Fetch real-time product data for all products when page loads
(function() {
const products = [‘B0F9L92BTC’, ‘B0D7PVW4NF’, ‘B0DPNMDD97’, ‘B0DGQBPZZW’, ‘B0D2D3CGV8’];
const affiliateTag = ‘arcweldingpro0d-20’;

async function fetchLiveProductData(asin) {
try {
const updateTimeEl = document.getElementById(‘update-time-‘ + asin);
if (updateTimeEl) updateTimeEl.innerHTML = ‘⏳ Fetching…’;

const amazonUrl = ‘https://www.amazon.com/dp/’ + asin;
const response = await fetch(‘https://api.allorigins.win/raw?url=’ + encodeURIComponent(amazonUrl));
const html = await response.text();
const parser = new DOMParser();
const doc = parser.parseFromString(html, ‘text/html’);

let price = null;
const priceWhole = doc.querySelector(‘.a-price-whole’);
const priceFraction = doc.querySelector(‘.a-price-fraction’);
if (priceWhole) {
price = ‘$’ + priceWhole.textContent.trim() + (priceFraction ? priceFraction.textContent.trim() : ”);
}

let rating = null;
const ratingEl = doc.querySelector(‘[data-hook=”average-star-rating”] .a-icon-alt’);
if (ratingEl) {
const match = ratingEl.textContent.match(/(\d+\.\d+)/);
if (match) rating = match[1];
}

let reviewCount = null;
const reviewEl = doc.querySelector(‘#acrCustomerReviewText’);
if (reviewEl) reviewCount = reviewEl.textContent.trim();

if (price) {
const priceEl = document.getElementById(‘price-‘ + asin);
if (priceEl) {
priceEl.innerHTML = price;
priceEl.style.animation = ‘pulse 0.5s’;
}
}

// if (rating) {
// const ratingEl = document.getElementById(‘rating-‘ + asin);
// if (ratingEl) {
// const stars = ‘⭐’.repeat(Math.floor(parseFloat(rating)));
// ratingEl.innerHTML = stars + ‘ ‘ + rating + ‘/5’;
// ratingEl.style.animation = ‘pulse 0.5s’;
// }
// }

if (reviewCount) {
const reviewsEl = document.getElementById(‘reviews-‘ + asin);
if (reviewsEl) {
reviewsEl.innerHTML = reviewCount;
reviewsEl.style.animation = ‘pulse 0.5s’;
}
}

if (updateTimeEl) {
const now = new Date();
const timeStr = now.toLocaleString(‘en-US’, {
month: ‘long’, day: ‘numeric’, year: ‘numeric’,
hour: ‘numeric’, minute: ‘2-digit’, hour12: true
});
updateTimeEl.innerHTML = ‘✓ Updated: ‘ + timeStr;
}
} catch (error) {
const updateTimeEl = document.getElementById(‘update-time-‘ + asin);
if (updateTimeEl) updateTimeEl.innerHTML = ‘✓ Cached data’;
}
}

const style = document.createElement(‘style’);
style.textContent = `@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }`;
document.head.appendChild(style);

function loadAllProducts() {
products.forEach((asin, index) => {
setTimeout(() => fetchLiveProductData(asin), index * 2000);
});
}

if (document.readyState === ‘loading’) {
document.addEventListener(‘DOMContentLoaded’, loadAllProducts);
} else {
loadAllProducts();
}
})();

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top