import wixData from 'wix-data'; let skip = 0; const limit = 9; let isLoading = false; $w.onReady(() => { loadMoreProducts(); // OPTIONAL: If using button for load more // $w("#loadMore").onClick(() => { // loadMoreProducts(); // }); // Auto scroll trigger $w("#repeater1").onViewportEnter(() => { loadMoreProducts(); }); }); function loadMoreProducts() { if (isLoading) return; isLoading = true; wixData.query("Products") .skip(skip) .limit(limit) .find() .then((results) => { if (results.items.length > 0) { const newItems = results.items; const currentItems = $w("#repeater1").data || []; $w("#repeater1").data = [...currentItems, ...newItems]; skip += limit; } else { // No more products $w("#loadMore").hide(); // if using button } isLoading = false; }); }
top of page

Design

Experience architectural minimalism with our curated selection. Our palette of red, grey, and white enhances any space, creating a serene environment for your urban lifestyle.

Comfort

Discover our cotton mattresses designed for ultimate relaxation. Sleepyhead Laxe focus ensures a calm sleep, perfect for rejuvenating after a busy day.

Innovation

Explore our tech offerings featuring the 70mai A810. This advanced technology enhances your daily routines, merging functionality with modern design.

Modularity

Transform your living space with ModuLyfe's urban habitat gear. Our modular solutions adapt to your needs, promoting efficiency and style in every corner.

I’m a paragraph

  • Qubo AI Guard 4G Live Dashcam

  • ​Description:

  • Conquer the coastal loops around Devghali Beach safely. Equipped with live GPS tracking, collision G-Sensors, and instant cloud backups over local networks.

  •         Heavy-Duty Surge Protection

​Ensure your high-tier remote operations maintain full velocity. High-capacity surge protectors paired with structural cord organizers built for distraction-free setups.

 

  • ProtoArc CaseUp WFH Travel Kit

  • ​Description:

  • The ultra-viral remote work upgrade. Combines a foldable Bluetooth mechanical keyboard, silent mouse, and modular ergonomic laptop stand into a single travel case.

JisuLife Portable Turbo Fan

​Beat the humid coastal microclimates on foot. Features silent multi-speed turbine airflow and a multi-hour runtime profile modeled like executive travel headphones.

 

Search

I'm a paragraph. Click here to add your own text and edit me. It's easy.

bottom of page
// ======================================= // MetroNeeds.in – Final Unified Deploy Snippet // ======================================= import { getSecrets } from 'backend/secureKeys.jsw'; import { oneClickDeploy, scheduledDeploy } from 'backend/autoDeploy.jsw'; import { deployMetroNeeds } from 'backend/liveDeployMetro.jsw'; $w.onReady(async function () { console.log("🚀 MetroNeeds Unified Deploy Loaded"); // ====== 1. GLOBAL CALIBRATIONS ====== const SCROLL_BATCH = 4; // Products per scroll const AUTO_DEPLOY_INTERVAL = 21600000; // 6 hours let skipCount = 0; // ====== 2. SECRETS (affiliate ID, API keys etc.) ====== let secrets = {}; try { secrets = await getSecrets("metrneeds"); console.log("Secrets loaded ✅"); } catch (err) { console.error("Secrets fetch failed:", err); } // ====== 3. POPULATE FRONTEND ====== async function populateMetroNeeds(skip = 0) { try { const data = await deployMetroNeeds(); // Products batch const batch = data.products.slice(skip, skip + SCROLL_BATCH); $w("#repeaterProducts").data = batch; // Banners (rotate on reload) $w("#bannerRepeater").data = rotateArray(data.banners); // Video Blogs $w("#videoRepeater").data = rotateArray(data.videos); $w("#videoRepeater").onItemReady(($item, itemData) => { $item("#youtubeFrame").src = itemData.url; $item("#videoTitle").text = itemData.title; $item("#ctaButton").link = `${secrets.affiliateBase}?nipid=${Date.now()}-${itemData.title}`; }); // Map integration (if available) if (data.map) { $w("#mapWidget").location = data.map.location; $w("#mapWidget").marker = data.map.marker; } } catch (err) { console.error("Error populating MetroNeeds:", err); } } function rotateArray(arr) { if (!arr || arr.length <= 1) return arr; const first = arr.shift(); arr.push(first); return arr; } // ====== 4. INITIAL LOAD ====== await populateMetroNeeds(); // ====== 5. INFINITE SCROLL ====== $w("#repeaterProducts").onViewportEnter(async () => { skipCount += SCROLL_BATCH; await populateMetroNeeds(skipCount); }); // ====== 6. ADMIN CONTROLS ====== if ($w("#deployButton")) { $w("#deployButton").onClick(async () => { $w("#deployStatus").text = "Deploying updates..."; try { const res = await oneClickDeploy(); $w("#deployStatus").text = res.message; skipCount = 0; await populateMetroNeeds(); } catch (err) { console.error(err); $w("#deployStatus").text = "❌ Deployment failed"; } }); } if ($w("#previewButton")) { $w("#previewButton").onClick(async () => { try { const preview = await deployMetroNeeds(); $w("#previewRepeater").data = preview.products; $w("#previewStatus").text = "Preview loaded ✅"; } catch (err) { console.error(err); $w("#previewStatus").text = "❌ Preview failed"; } }); } // ====== 7. AUTO DEPLOY SCHEDULE ====== setInterval(async () => { try { const res = await scheduledDeploy(); console.log("Auto-deploy:", res); skipCount = 0; await populateMetroNeeds(); } catch (err) { console.error("Scheduled deploy failed:", err); } }, AUTO_DEPLOY_INTERVAL); }); // ================================ // Master Endless Scroll Integration // Works for MetroNeeds.in, ModuLyfe.in, PalmSpringsLakeResort.in // ================================ let productIndex = 0; const productsPerLoad = 20; const maxProducts = 1000; function loadProducts() { const container = document.getElementById("product-container"); if (!container) return; for (let i = 0; i < productsPerLoad && productIndex < maxProducts; i++) { productIndex++; const card = document.createElement("div"); card.className = "product-card"; card.innerHTML = `

Product #${productIndex}

Auto-loaded via Endless Scroll

`; container.appendChild(card); if (productIndex % 10 === 0) { const adBlock = document.createElement("div"); adBlock.className = "adsense-slot my-4"; adBlock.innerHTML = ``; container.appendChild(adBlock); if (window.adsbygoogle) window.adsbygoogle.push({}); } } } window.addEventListener("scroll", () => { if (window.innerHeight + window.scrollY >= document.body.offsetHeight - 500) { loadProducts(); } }); document.addEventListener("DOMContentLoaded", () => { loadProducts(); });

3SC Review Integrations

🏖️
Palm Springs
Lake Resort Airoli
Post Review →
🛒
MetroNeeds
E-comm Essentials
Post Review →
🏠
ModuLyfe
Modular Living
Post Review →
✅ All 3 Sites Linked | Updated Jan 2026
👆 Tap icons for site-specific actions

3SC AI Reels

https://www.amazon.in/Ganpati-Sheesham-Storage-Furniture-Bedroom/dp/B09T3LV7NW?crid=FY3L9RYYJ0SY&dib=eyJ2IjoiMSJ9.HfJeVthsC4LwL10ngebWkW4xDh1uji3jfGHgbaT2O90T8lqp7-_6m3siSglx0PcT_s6q342bQTM5MA2tt9niZmH-cNdqwhNbUFqjqjKxo9fzMnpGEfcmooHer_8ey5JaKyWh8z5lp0EPnUJFbDYvxN-l0DJkWTSaPDxi6n4WqLePwBIpK8LWGTnuISI7Q7ynQZXUIyz2Xgbdk5w3jrOQq5OuFoDqn-lJkCixJsXHfwdBdI1Hjzh29JHKrXv2LF6XDg0eQNmg2WjUoWKMjrBUz0AIjwuokTGqlYcCjuppYPY.YXbhthAI4ZnP0Aj7uZf1tlxrSyfhTonmS9TN1-irJfM&dib_tag=se&keywords=6%27%2B%C3%97%2B7%27bed&qid=1770775653&s=kitchen&sprefix=6%27%2B7%27bed%2B%2Ckitchen%2C426&sr=1-10&th=1&linkCode=ll2&tag=metroneeds0f-21&linkId=831a268c895b8b69ce372a9063da78ef&ref_=as_li_ss_tl