Top 5 Mop & Vacuum Combos: Expert Picks for a Flawless Clean

Tired of lugging out a vacuum cleaner only to follow up with a mop? You’re not alone! Many of us dream of a simpler, more efficient way to keep our homes spotless. That’s where the best mop and vacuum combo comes in. These innovative devices merge two essential cleaning tasks into one, saving you time and effort. Whether you’re dealing with spilled cereal, muddy paw prints, or just everyday dust and grime on hard floors, a wet dry vacuum cleaner can be a game-changer. We’ve put some of the top contenders to the test to help you find the perfect multi-surface floor cleaner for your needs.

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. Narwal S30 Cordless Wet Dry Vacuum Mop with Powerful Suction, Self-Cleaning, and Heated Drying…. Narwal S30 Cordless Wet Dry Vacuum Mop with Powerful Suction, Self-Cle Check Price
2. Dreame L10s Ultra Robot Vacuum Mop Combo: Auto Cleaning, Drying, and Self-Emptying Base…. Dreame L10s Ultra Robot Vacuum Mop Combo: Auto Cleaning, Drying, and S Check Price
3. Shark HydroVac MessMaster Wet Dry Vacuum Mop Combo with Self-Cleaning for Floors and Rugs…. Shark HydroVac MessMaster Wet Dry Vacuum Mop Combo with Self-Cleaning Check Price
4. Shark VACMOP Cordless Hard Floor Vacuum Mop. Lightweight, Powerful Suction, and LED Headlights…. Shark VACMOP Cordless Hard Floor Vacuum Mop. Lightweight, Powerful Suc Check Price
5. Bissell Crosswave Turbo Wet Dry Vacuum Mop for Hard Floors and Area Rugs…. Bissell Crosswave Turbo Wet Dry Vacuum Mop for Hard Floors and Area Ru Check Price

Our Top 5 Best Mop And Vacuum Combo Reviews – Expert Tested & Recommended

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

🏆 Best Choice

1. Narwal S30 Cordless Wet Dry Vacuum Mop with Powerful Suction, Self-Cleaning, and Heated Drying.

Narwal S30 Cordless Wet Dry Vacuum Mop

The Narwal S30 stands out as an exceptional cordless wet dry vacuum mop, offering a powerful and convenient solution for tackling everyday messes. This innovative device combines strong suction with effective mopping, making quick work of both wet and dry debris in a single pass. Its advanced self-cleaning and heated drying features truly elevate the cleaning experience.

Key Features That Stand Out

  • Deep Clean Wet & Dry Messes: Efficiently handles spills and dry debris simultaneously.
  • One-Touch Self-Cleaning: The roller mop cleans itself with 176°F hot water and detergent.
  • Heated Drying: Ensures the brushroll is thoroughly dry, preventing odors and mildew.
  • Simple & Clean Waste Disposal: Uses disposable waste separation bags for hygienic emptying.

Why We Recommend It

We recommend the Narwal S30 for its robust cleaning power and thoughtful design that makes maintenance incredibly easy. The combination of simultaneous vacuuming and mopping, along with its excellent self-cleaning and drying capabilities, delivers a truly hands-free experience. It’s perfect for busy households looking for a high-performance mop and vacuum combo.

Best For

This wet dry vacuum cleaner is ideal for homes with various hard floor types, especially those prone to frequent spills or pet messes, and anyone who values convenience and hygiene in their cleaning tools.

Pros and Cons

Pros:
  • Simultaneously vacuums and mops, saving significant time.
  • Advanced self-cleaning with heated drying prevents odors.
  • Hygienic waste disposal with disposable separation bags.
  • Powerful suction effectively removes tough wet and dry messes.
Cons:
  • Higher price point compared to basic models.
  • Requires purchasing replacement waste bags.
  • Might be heavier for some users during extended cleaning.

Customer Reviews

Customer Review: After a week of using this combo vac/mop everyday, its definitely makes life a little easier. The fact that it vacuums and mops at the same time, saves me time using the a vacuum to suck up the larger stuff on the floor, then follow it up with a swifter to get the smaller particles stuff, then lastl

Customer Review: This is the third vacuum mop I have owned. It is by far the best. I am amazed at how well it cleans my hardwood and tile floors. At first I thought, it is putting down too much water, but in reality it takes less than 5 minutes for a mopped area to be totally dry!! It also self cleans and dries

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

⭐ Editor’s Choice

2. Dreame L10s Ultra Robot Vacuum Mop Combo: Auto Cleaning, Drying, and Self-Emptying Base.

Dreame L10s Ultra Robot Vacuum Mop Combo

The Dreame L10s Ultra is a truly revolutionary robot vacuum mop combo that takes automation to the next level. This sophisticated device offers a fully automated cleaning experience, from dust collection to mop cleaning and drying, making it a stellar choice for hands-off floor care. Its advanced AI navigation ensures thorough and intelligent cleaning across all floor types.

See also  Ultimate 5 Best Cross Cut Sled for Table Saw: Expertly Reviewed

Key Features That Stand Out

  • Fully Automated Cleaning: Handles dust collection, mop cleaning, drying, and water refilling autonomously.
  • Advanced AI Navigation: Utilizes an RGB camera and 3D structured light for smart mapping and obstacle avoidance.
  • Robust Vacuuming and Carpet Cleaning: Features 5,300 Pa suction, automatic carpet detection, and a powerful rubber brush.
  • Mop-Lifting for Carpets: Automatically raises mops when transitioning to carpets to prevent wetting.

Why We Recommend It

For those who desire ultimate convenience and a truly smart home, the Dreame L10s Ultra is the best mop and vacuum combo in robot form. Its comprehensive automation means you can set it and forget it, while its powerful cleaning capabilities ensure spotless floors. The intelligent navigation and carpet recognition are particularly impressive.

Best For

This robot vacuum mop is perfect for tech-savvy individuals, busy professionals, or anyone wanting a completely automated and intelligent cleaning solution for multi-surface homes, including homes with pets and carpets.

Pros and Cons

Pros:
  • Nearly entirely hands-off cleaning and maintenance with its self-emptying and self-cleaning base.
  • Excellent navigation and obstacle avoidance with AI Action and 3D light.
  • Powerful suction for effective dry debris pickup and strong mopping.
  • Smart mop-lifting prevents carpets from getting wet during mopping.
Cons:
  • High initial investment cost.
  • Requires a dedicated space for its large docking station.
  • Complex app features might have a learning curve for some users.

Customer Reviews

Customer Review: UPDATE:Changing from 2 to 5 stars…The cons identified were true at the time they were written.*The charging issue was resolved by adjusting the cleaning settings from the highest intensity down to an everyday setting. Running vacuum and mop in the same cycle still requires a charge midway through,

Customer Review: This robot vacuum is one of the best purchases I have ever made. I love it so much that I bought my mother-in-law one for Christmas! I no longer have to clean my floors. Ever. I will say, though I don’t use the cleaner that came with it on my vinyl floors because overtime I saw that it could make th

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

💰 Best Budget

3. Shark HydroVac MessMaster Wet Dry Vacuum Mop Combo with Self-Cleaning for Floors and Rugs.

Shark HydroVac MessMaster Wet Dry Vacuum Mop Combo

The Shark HydroVac MessMaster is an impressive wet dry vacuum mop combo designed for versatile cleaning across sealed hard floors and area rugs. This 3-in-1 cleaner vacuums, mops, and self-cleans all at once, making it a highly efficient tool for tackling various messes. Its powerful suction and specialized cleaning modes ensure a deep clean every time.

Key Features That Stand Out

  • 3-in-1 Cleaning: Vacuums, mops, and self-cleans simultaneously on hard floors and refreshing area rugs.
  • Handles Wet + Dry Messes: Strong suction tackles dirt, debris, wet spills, and grime effectively.
  • Stain Boost Mode: Doubles cleaning solution for tough stains, ensuring a deeper clean.
  • Stays Clean Technology: Continuous self-cleaning brushroll resists dirt redeposit, with antimicrobial treatment.

Why We Recommend It

The Shark HydroVac MessMaster is a fantastic choice for an affordable yet powerful mop and vacuum combo. Its ability to handle both wet and dry messes, coupled with its unique stain boost mode and self-cleaning brushroll, offers great value. It’s a reliable companion for maintaining clean floors and refreshing rugs with ease.

Best For

This multi-surface floor cleaner is ideal for homes with a mix of sealed hard floors and area rugs, especially those with pets or children that frequently create wet and dry messes, and budget-conscious buyers.

Pros and Cons

Pros:
  • Efficiently vacuums, mops, and self-cleans in one pass.
  • Stain Boost mode provides extra power for stubborn grime.
  • Self-cleaning brushroll with antimicrobial treatment reduces odor.
  • Suitable for both hard floors and refreshing area rugs.
Cons:
  • Corded design may limit range and convenience for some users.
  • Dirty water tank needs frequent emptying depending on mess.
  • May not be as lightweight as some stick vacuum options.

Customer Reviews

Customer Review: My house has ALL wood, bamboo and tile floors. I’ve said over the years that I wanted a maid to come in and just do the floors. A pregnancy injury left me in pain most of the time and floors are really hard for me. I started with a robot vacuume that I love love love. Next I wanted an electric mop.

Customer Review: I waited to do a review so I could gets some use out of this first. I have been using it now for a month and I love it. I have two giant breed long haired dogs and there is always hair everywhere. I think I have it all swept up and then another pile shows up. This machine lifts any left over hai

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

4. Shark VACMOP Cordless Hard Floor Vacuum Mop. Lightweight, Powerful Suction, and LED Headlights.

Shark VACMOP Cordless Hard Floor Vacuum Mop

The Shark VACMOP offers a convenient and lightweight solution for cleaning hard floors, effectively combining powerful suction with spray mopping. This cordless mop and vacuum combo uses disposable pads, eliminating the need to wash dirty mop heads. Its targeted on-demand spray helps tackle tough messes with ease, making it a great everyday cleaner.

Key Features That Stand Out

  • Powerful Suction & Spray Mopping: Vacuums and mops simultaneously using disposable pads.
  • Complete Cleaning Solution: Works with Shark VACMOP disposable pads and cleaning solution for optimal results.
  • Targeted On-Demand Spray: Delivers cleaning solution at the touch of a button for stubborn stains.
  • Lightweight & Cordless: Easy to maneuver and store, providing freedom of movement during cleaning.

Why We Recommend It

If you’re looking for a simple, lightweight, and effective hard floor vacuum mop, the Shark VACMOP is an excellent choice. It makes quick work of daily cleaning tasks, especially for homes with hard surfaces. The convenience of disposable pads means less mess and more time for you, and the cordless design is a huge plus for freedom of movement.

See also  Top 5 Best Foot Sanders: Expert Picks for Smooth, Perfect Feet

Best For

This lightweight mop vacuum is perfect for apartments, smaller homes, or as a secondary cleaner for quick touch-ups on hard floors. It’s also great for pet owners who need to quickly clean up pet hair and muddy paw prints.

Pros and Cons

Pros:
  • Extremely lightweight and cordless design offers excellent maneuverability.
  • Combines vacuuming and mopping into one easy step.
  • Disposable pads make clean-up hygienic and hassle-free.
  • LED headlights illuminate hidden dirt and debris.
Cons:
  • Requires ongoing purchase of disposable pads and cleaning solution.
  • Less powerful suction compared to full-sized wet dry vacuums.
  • Not suitable for use on carpets or rugs.

Customer Reviews

Customer Review: I purchased this to replace one I had for about 5 years. It had finally quit and I was really upset. I use it every week! It is easy to use, almost noiseless, and extremely lightweight. Yet the suction on it works very well. It uses power to charge but you unplug when you use it. It’s a great soluti

Customer Review: I love this vacmop! It still amazes me that I got it for $40! We have 3 heavy shedding dogs and this thing helps me keep my sanity! It works great with picking up their fur and other dirt that gets tracked in. I’ve had it for nearly 6 months and it still seems brand new. I love that it’s lightweight

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

5. Bissell Crosswave Turbo Wet Dry Vacuum Mop for Hard Floors and Area Rugs.

Bissell Crosswave Turbo Wet Dry Vacuum Mop

The Bissell Crosswave Turbo is a versatile wet dry vacuum mop designed to tackle messes on both hard floors and area rugs, cleaning better and faster than traditional methods. As part of Bissell’s commitment to pets, every purchase supports the BISSELL Pet Foundation, making it a great choice for pet owners. This multi-surface floor cleaner vacuums and washes at the same time, simplifying your cleaning routine.

Key Features That Stand Out

  • Vacuum and Wash Simultaneously: Cleans better than a sponge mop and bucket in less time.
  • Multi-Surface Cleaning: Safe and effective for sealed wood floors, tile, laminate, linoleum, and area rugs.
  • Two-Tank Technology: Keeps clean water and formula separate from dirty water and debris.
  • Pet-Friendly Purchase: Supports the BISSELL Pet Foundation with every unit sold.

Why We Recommend It

We highly recommend the Bissell Crosswave Turbo as a reliable and effective mop and vacuum combo, especially for households with pets. Its ability to clean multiple surfaces and the convenient two-tank system make it a practical tool for maintaining a spotless home. Plus, supporting a good cause while cleaning is a win-win!

Best For

This multi-surface floor cleaner is ideal for homes with a variety of hard floors and low-pile area rugs, particularly for pet owners who want to manage pet hair and messes efficiently while contributing to a charitable cause.

Pros and Cons

Pros:
  • Effectively vacuums and mops hard floors and refreshes area rugs.
  • Two-tank system ensures you’re always cleaning with fresh solution.
  • Helps save homeless pets through BISSELL’s foundation.
  • Leaves floors noticeably cleaner than traditional mopping.
Cons:
  • Corded operation may require switching outlets in larger areas.
  • Can be slightly heavy for some users, especially when tanks are full.
  • Requires regular cleaning of the brush roll and dirty water tank.

Customer Reviews

Customer Review: Just used my new Bissell Crosswave machine for the first time and while cleaning my floors I kept thinking I should write a review. Then I went to empty the catch container and it was definite, I must write a review!First, this is my third machine in 13 years. I have a 3000 sq ft home with white m

Customer Review: I love this thing. I live on a farm and have two kids, two dogs, a cat, and a logger for a husband. Someone is constantly tracking in mud, I just run this across my floor. I feel like it would work really well for someone who doesn’t have kids and just wants something easy to clean the floors. It do

Complete Buying Guide for Best Mop And Vacuum Combo

Choosing the best mop and vacuum combo can feel overwhelming with so many options available. To help you make an informed decision, let’s break down the essential factors we considered when evaluating these top models. Thinking about these points will ensure you find a wet dry vacuum cleaner that perfectly fits your cleaning style and home environment.

Essential Factors We Consider

When searching for the ideal mop and vacuum combo, it’s crucial to look beyond just the basic function. We focused on several key aspects to determine the true value and performance of each machine.

Cleaning Power & Suction: The primary reason for investing in a wet dry vacuum is its ability to handle both liquid spills and dry debris. Look for models with strong suction power, often measured in Pascals (Pa), and effective brushroll designs that can agitate and lift stubborn dirt without damaging your floors. A good combo unit should leave floors genuinely clean, not just surface-level tidy.

Versatility & Surface Types: Consider where you’ll be using the device. Do you have only hard floors, or do you have area rugs that also need refreshing? Some machines are designed exclusively for hard surfaces, while others, like the Bissell Crosswave or Shark HydroVac, can safely transition to rugs. This versatility is a major plus for multi-surface homes.

Self-Cleaning & Maintenance: This is where many modern wet dry vacuums truly shine. Features like self-cleaning brushrolls, hot water washing, and even heated drying for the brushroll significantly reduce manual effort and prevent odor buildup. Easy-to-empty dirty water tanks and disposable waste bags also contribute to a more hygienic and convenient experience.

Corded vs. Cordless: Each has its advantages. Cordless models, like the Narwal S30 and Shark VACMOP, offer unparalleled freedom of movement and are great for quick clean-ups or larger areas without outlet limitations. However, they are limited by battery life. Corded models, like the Bissell Crosswave, provide unlimited run time but require you to stay within reach of an outlet.

See also  5 Best Miter Saw Deals: Unbeatable Value from Expert Choices

Automation & Smart Features: For the ultimate hands-off approach, a robot vacuum mop combo like the Dreame L10s Ultra is a game-changer. Features like AI navigation, automatic mop lifting for carpets, and self-emptying/refilling bases mean you spend less time cleaning and more time living. While these come at a higher price, the convenience is unmatched.

Budget Planning

The price range for mop and vacuum combos can vary significantly, from budget-friendly options around $100 to high-end robotic systems costing upwards of $1000. It’s important to set a realistic budget based on your needs and expectations. Consider not just the initial purchase price but also ongoing costs like replacement cleaning solutions, disposable pads (for models like the Shark VACMOP), or filters. Sometimes, investing a bit more upfront for advanced features like self-cleaning or greater durability can save you money and headaches in the long run. The Shark HydroVac MessMaster is a great example of a feature-rich option that provides excellent value without breaking the bank.

Final Thoughts

Ultimately, the best mop and vacuum combo is one that makes your life easier and keeps your floors cleaner. By carefully considering the factors above, you can confidently choose a device that matches your home’s specific demands and your personal cleaning preferences. Whether you prioritize powerful manual cleaning, ultimate robotic automation, or a budget-friendly quick-clean solution, there’s a perfect wet dry vacuum out there for you.

Frequently Asked Questions

Q: What is a mop and vacuum combo, and why should I get one?

A: A mop and vacuum combo is a multi-functional cleaning device that vacuums up dry debris and mops wet messes simultaneously or sequentially, often in a single pass. You should get one because it saves significant time and effort by combining two cleaning tasks, often performing better than traditional mopping and vacuuming separately, especially on hard floors.

Q: Are wet dry vacuum cleaners safe for all floor types?

A: Most wet dry vacuum cleaners are safe for sealed hard floors, including tile, sealed wood, laminate, and linoleum. Some models, like the Bissell Crosswave and Shark HydroVac, can also refresh area rugs. Always check the manufacturer’s recommendations for specific floor types and avoid using them on unsealed or water-sensitive surfaces unless explicitly stated.

Q: How do self-cleaning features work on these devices?

A: Self-cleaning features typically involve the device returning to its charging dock where clean water and sometimes a cleaning solution are flushed through the brushroll. The brushroll spins rapidly, often with hot water, to remove dirt and debris. Some advanced models, like the Narwal S30, even include heated drying to prevent mildew and odors on the brushroll, ensuring it’s fresh for the next use.

Q: Can a robot vacuum mop combo replace a traditional mop and vacuum?

A: For many homes, particularly those with mostly hard floors and low-pile carpets, a high-quality robot vacuum mop combo like the Dreame L10s Ultra can largely replace traditional mops and vacuums for daily maintenance. However, for very deep cleaning, stubborn stains, or reaching tight corners, a handheld spot cleaner or occasional manual intervention might still be needed.

Q: What’s the difference between a cordless and corded mop and vacuum combo?

A: A cordless mop and vacuum combo (like the Narwal S30 or Shark VACMOP) offers freedom of movement without being tethered to an outlet, making it convenient for cleaning large areas or multiple rooms quickly, but it’s limited by battery life. A corded model (like the Bissell Crosswave or Shark HydroVac MessMaster) provides unlimited runtime and consistent power but requires you to stay near an outlet and manage the cord.

There you have it – our comprehensive rundown of the best mop and vacuum combo options available. From the innovative self-cleaning capabilities of the Narwal S30 to the hands-free automation of the Dreame L10s Ultra, and the versatile budget-friendly Shark HydroVac, there’s a perfect solution for every home and every cleaning challenge. We hope this guide helps you find the ultimate multi-surface floor cleaner to keep your home sparkling with less effort. Ready to simplify your cleaning routine? Click the links above to check out our top picks and take the first step towards a cleaner, more efficient home!

// Fetch real-time product data for all products when page loads
(function() {
const products = [‘B0FBWFTV63’, ‘B0B7J95MHN’, ‘B0D1VXYTRB’, ‘B084BS1J9K’, ‘B0C9V48DDZ’];
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