Back to Compare
Resveratrol

Momentous

Resveratrol 30 Servings

Flavour

Momentous

Buy

Price History

Loading...

Description

Momentous Resveratrol contains 450 mg of Trans-Resveratrol per serving and is Informed Sport-certified. Resveratrol is a plant-based polyphenol typically found in grape juice with powerful antioxidant and anti-inflammatory benefits. Resveratrol works at a cellular level to activate various genes and proteins associated with longevity and optimal health. It helps combat oxidative stress, reduces inflammation, and supports the body's natural defense systems. We source our Resveratrol from high-quality polygonum cuspidatum root extract and ensure we deliver the proper dosage for safe and effective use.

Ingredients

Trans-Resveratrol – 450 mg Sourced from Polygonum cuspidatum root extract, a high-quality plant source of resveratrol selected for effective daily support. Other Ingredients: Rice Flour, Hypromellose (Capsule), Magnesium Stearate, Silica Quality Standards NSF Certified for Sport® – every batch tested for purity, potency, and banned substances Clean, essentials-only formulation with no unnecessary fillers or artificial additives Onset Time & Expected Results When to use Take 1 capsule daily with your evening meal. Onset time Expected onset is around 14 days, with best results typically building over 4–8 weeks of consistent use. Expected results Supports foundational health, cognitive function, cardiovascular health, and healthy inflammation balance over time. Clinical Research & 3rd Party Test Results There are 5 credible reviews and studies related to this product: Health benefits of resveratrol: Evidence from clinical studies Efficacy of Resveratrol Supplementation on Glucose and Lipid Metabolism: A Meta-Analysis and Systematic Review Impact of resveratrol on exercise performance: A review Pilot Study of Resveratrol in Older Adults With Impaired Glucose Tolerance Resveratrol Improves Mitochondrial Function and Protects against Metabolic Disease by Activating SIRT1 and PGC-1a Build Your Stack New Release {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image7622") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.8 Rated 4.8 out of 5 stars 12 {"averageRating":"4.8","reviewCount":12} Berberine Activates pathways for optimal energy usage Promotes cardiovascular health Improves cellular and mitochondrial efficiency £29.25 £39.00 Add to Bag Berberine Subscribe & Save 25% £ 29.25 £ 39.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 39.00 £ 39.00 £ 39.00 £ 39.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Berberine Subscribe & Save 25% £ 29.25 £ 39.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 39.00 £ 39.00 £ 39.00 £ 39.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image285") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.8 Rated 4.8 out of 5 stars 124 {"averageRating":"4.8","reviewCount":124} Turmeric Contains curcuminoids to reduce exercise-induced inflammation Supports long-term joint mobility and tissue resilience Helps protect against oxidative stress £21.75 £29.00 Add to Bag Turmeric Subscribe & Save 25% £ 21.75 £ 29.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 29.00 £ 29.00 £ 29.00 £ 29.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Turmeric Subscribe & Save 25% £ 21.75 £ 29.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 29.00 £ 29.00 £ 29.00 £ 29.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image3992") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.8 Rated 4.8 out of 5 stars 186 {"averageRating":"4.8","reviewCount":186} Ashwagandha NooGandha® extract promotes alertness and focus Helps regulate cortisol and reduce physical and mental fatigue Supports cognitive performance under pressure £15.00 £20.00 Add to Bag Ashwagandha Subscribe & Save 25% £ 15.00 £ 20.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 20.00 £ 20.00 £ 20.00 £ 20.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Ashwagandha Subscribe & Save 25% £ 15.00 £ 20.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 20.00 £ 20.00 £ 20.00 £ 20.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image8871") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.8 Rated 4.8 out of 5 stars 205 {"averageRating":"4.8","reviewCount":205} Apigenin Supports deeper, more restorative sleep Helps you relax and fall asleep faster Promotes a calmer nervous system before bed £13.50 £18.00 Add to Bag Apigenin Subscribe & Save 25% £ 13.50 £ 18.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 18.00 £ 18.00 £ 18.00 £ 18.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Apigenin Subscribe & Save 25% £ 13.50 £ 18.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 18.00 £ 18.00 £ 18.00 £ 18.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Best Seller {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image1132") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.7 Rated 4.7 out of 5 stars 747 {"averageRating":"4.7","reviewCount":747} Tongkat Ali Supports healthy testosterone levels Helps improve energy, mood, and resilience Supports strength, recovery, and overall vitality £12.00 £16.00 Add to Bag Tongkat Ali Size: 1 Bottle3 Bottle Value Pack Subscribe & Save 25% £ 12.00 £ 16.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 16.00 £ 16.00 £ 16.00 £ 16.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Tongkat Ali Size: 1 Bottle3 Bottle Value Pack Subscribe & Save 25% £ 12.00 £ 16.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 16.00 £ 16.00 £ 16.00 £ 16.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } .product-carousel .swiper-slide { flex-shrink: 0; } @media (min-width: 768px) { .product-carousel .swiper-wrapper { display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; } .product-carousel .swiper-wrapper::-webkit-scrollbar { display: none; } } #shopify-section-template--20282424983735__horizontal_line_hMFxBL { padding-top: 0px; padding-bottom: 10px; } @media (max-width: 1023px) { #shopify-section-template--20282424983735__horizontal_line_hMFxBL { padding-top: 0px; padding-bottom: 10px; } } Frequently Asked Questions What is Resveratrol? Resveratrol is a naturally occurring polyphenol found in certain plants, including grapes and berries. It is commonly used as a supplement to support cellular health, metabolic function, and healthy aging. What is Resveratrol used for? Resveratrol is a plant-derived polyphenol commonly used to support cellular health and healthy aging. It is often included in longevity-focused routines due to its role in pathways associated with cellular resilience and metabolic function. What does Resveratrol do for longevity? Resveratrol is commonly used in longevity-focused routines due to its role in cellular pathways associated with energy metabolism and cellular resilience. It is often included alongside other supplements that support healthy aging. Can Resveratrol be taken with NAD⁺ or longevity supplements? Yes. Resveratrol is often paired with supplements that support NAD⁺ levels and mitochondrial function as part of a comprehensive longevity routine. Many individuals combine resveratrol with NAD⁺ precursors, such as nicotinamide riboside, to support multiple pathways related to cellular health and energy metabolism. Who should take Resveratrol? Resveratrol is commonly used by individuals interested in supporting cellular health, metabolic function, and healthy aging. It is often included in long-term wellness and longevity routines. When is the best time to take Resveratrol? Resveratrol can be taken at any time of day. Many individuals choose to take it with meals as part of a daily routine, although timing can be adjusted based on personal preference. Can I take Resveratrol with other medications or supplements? Resveratrol is commonly taken alongside other supplements as part of a longevity or wellness routine. Many individuals include it with products that support cellular health or metabolic function. If you are taking medications or have specific health considerations, it is recommended to consult a healthcare professional before use. Can I take Resveratrol every day? Yes. Resveratrol is commonly taken daily when used as directed. Consistent use is often recommended as part of a long-term routine focused on cellular health and longevity. Is Resveratrol safe for long-term use? Resveratrol is generally well tolerated when used as directed and is commonly included in long-term supplement routines focused on healthy aging and cellular health. Individuals who are pregnant, nursing, or managing medical conditions should consult a healthcare professional before use. Is this product NSF Certified for Sport®? Yes. Momentous Resveratrol is NSF Certified for Sport®, meaning every batch is independently tested to confirm label accuracy, purity, and the absence of banned substances. 4.6 Rated 4.6 out of 5 stars Based on 39 reviews 5 Rated out of 5 stars 31 Total 5 star reviews: 31 4 Rated out of 5 stars 2 Total 4 star reviews: 2 3 Rated out of 5 stars 4 Total 3 star reviews: 4 2 Rated out of 5 stars 1 Total 2 star reviews: 1 1 Rated out of 5 stars 1 Total 1 star reviews: 1 85%would recommend this product Reviews Summary Generated by AI from 37 most recent customer reviews Last updated 5 months ago Customers say this supplement is easy to swallow and gentle on the stomach. Many reviews mention improved sleep quality and energy levels, with some users reporting better recovery and overall well-being. Common feedback includes positive experiences with the product's quality and brand trustworthiness. However, reviews are mixed on timing of effects - while some notice immediate improvements, others report waiting weeks or months without clear results. Several customers mention the high price point as a concern, noting it's expensive compared to alternatives. Many appreciate the third-party testing and quality standards, with some users becoming long-term subscribers despite the cost. Read More Customers Talked About Value Energy Quality Sleep Effectiveness Filters Write a Review (Opens in a new window) 39 reviews Sort Most RecentPhotos & VideosMost HelpfulHighest RatingOldestLowest RatingLeast Helpful SA Sharon A. G. Verified Buyer Product Standouts Ease of Use, Results, Trust and Transparency, Value for Money 3 months ago Product Standouts Ease of Use, Results, Trust and Transparency, Value for Money Rated 5 out of 5 stars Energy and clarity with Resveratrol I’ve been taking Resveratrol for about a year now and have noticed by taking it more energy and clarity. I recommend this product highly. Read MoreRead more about this review Was this helpful?Yes, this review from Sharon A. G. was helpful. 0 people voted yesNo, this review from Sharon A. G. was not helpful. 0 people voted no K Kevin Verified Buyer 6 months ago Rated 3 out of 5 stars Still Waiting! I'm still waiting to see the results. I've only been taking it for about six weeks. It might be an incredible product with amazing results after three or six months. Or it may not be helpful at all. Read MoreRead more about this review Was this helpful?Yes, this review from Kevin was helpful. 0 people voted yesNo, this review from Kevin was not helpful. 0 people voted no F fanny Verified Buyer 6 months ago Rated 3 out of 5 stars Good but expensive I can't really tell if it has an impact or not but there's some scientific evidence that this is beneficial for health. Too pricy to use it regularly, too few servings per container. Read MoreRead more about this review Was this helpful?Yes, this review from fanny was helpful. 0 people voted yesNo, this review from fanny was not helpful. 0 people voted no Y Yadira Verified Buyer 7 months ago Rated 5 out of 5 stars Great product Great product Read MoreRead more about this review Was this helpful?Yes, this review from Yadira was helpful. 0 people voted yesNo, this review from Yadira was not helpful. 0 people voted no M Melissa Verified Buyer 8 months ago Rated 5 out of 5 stars Reduce inflammation and support cardiovascular health Great product to reduce inflammation and support my cardiovascular health. Read MoreRead more about this review Was this helpful?Yes, this review from Melissa was helpful. 0 people voted yesNo, this review from Melissa was not helpful. 0 people voted no Loading... Loading... Show More {"areReviewsGrouped":false,"chatAssistant":{"reviewCount":39},"media":[],"productAttributes":[],"questionCount":0,"reviewAggregate":{"dateUpdated":"2026-04-01T19:53:14.387Z","mediaCount":0,"productAttributeCount":[{"title":"Product Standouts","type":"multi-value","options":[{"title":"Ease of Use","count":1},{"title":"Results","count":1},{"title":"Trust and Transparency","count":1},{"title":"Value for Money","count":1}]}],"productId":"shopify-7194505019575","productName":"Resveratrol","ratingAndReviewCount":39,"ratingAndReviewCountByLevel":{"level1Count":1,"level2Count":1,"level3Count":4,"level4Count":2,"level5Count":31},"ratingAndReviewValuesTotal":178,"ratingCount":0,"ratingCountByLevel":{},"ratingValuesTotal":0,"recommendationCount":33,"replyCount":0,"replyWordsTotal":0,"reviewCount":39,"reviewCountByLevel":{"level1Count":1,"level2Count":1,"level3Count":4,"level4Count":2,"level5Count":31},"reviewRatingValuesTotal":178,"reviewWordsTotal":678,"subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7194505019575","subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c"},"reviews":[{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"623cd4fd-ca5d-4527-be2d-e5658f1a038f","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7194505019575","productId":"shopify-7194505019575","body":"I’ve been taking Resveratrol for about a year now and have noticed by taking it more energy and clarity. I recommend this product highly. ","dateCreated":"2026-04-01T19:53:13.843Z","dateUpdated":"2026-04-01T19:53:13.843Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productAttributes":[{"title":"Product Standouts","type":"multi-value","value":["Ease of Use","Results","Trust and Transparency","Value for Money"]}],"productHandle":"resveratrol-30-serving-jar","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Resveratrol_HERO_x280.png?v=1778083119","productName":"Resveratrol","productUrl":"//www.livemomentous.com/products/resveratrol-30-serving-jar","rating":5,"reviewer":{"displayName":"Sharon A. G.","isVerified":true},"isIncentivized":false,"status":"approved","title":"Energy and clarity with Resveratrol","unhelpfulCount":0,"variantId":"41417371123895"},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"33800d2d-090d-4e46-be0c-48fa257c5cc1","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7194505019575","productId":"shopify-7194505019575","body":"I'm still waiting to see the results. I've only been taking it for about six weeks. It might be an incredible product with amazing results after three or six months. Or it may not be helpful at all.","dateCreated":"2026-01-07T23:46:12.000Z","dateUpdated":"2026-01-07T23:46:12.000Z","helpfulCount":0,"languageCode":"en","productHandle":"resveratrol-30-serving-jar","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Resveratrol_HERO_x280.png?v=1778083119","productName":"Resveratrol","productUrl":"//www.livemomentous.com/products/resveratrol-30-serving-jar","rating":3,"reviewer":{"location":{"country":{"name":"United States","code":"US"}},"displayName":"Kevin","isVerified":true},"isIncentivized":false,"status":"approved","title":"Still Waiting!","unhelpfulCount":0},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"639e8214-1244-4bfa-a3f9-c2b7c9d642f6","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7194505019575","productId":"shopify-7194505019575","body":"I can't really tell if it has an impact or not but there's some scientific evidence that this is beneficial for health. Too pricy to use it regularly, too few servings per container.","dateCreated":"2025-12-26T09:51:30.000Z","dateUpdated":"2025-12-26T09:51:30.000Z","helpfulCount":0,"languageCode":"en","productHandle":"resveratrol-30-serving-jar","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Resveratrol_HERO_x280.png?v=1778083119","productName":"Resveratrol","productUrl":"//www.livemomentous.com/products/resveratrol-30-serving-jar","rating":3,"reviewer":{"location":{"country":{"name":"United States","code":"US"}},"displayName":"fanny","isVerified":true},"isIncentivized":false,"status":"approved","title":"Good but expensive","unhelpfulCount":0},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"beee469b-4a45-4eff-8e7d-af73abf51deb","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7194505019575","productId":"shopify-7194505019575","body":"Great product","dateCreated":"2025-12-18T00:39:49.000Z","dateUpdated":"2025-12-18T00:39:49.000Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productHandle":"resveratrol-30-serving-jar","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Resveratrol_HERO_x280.png?v=1778083119","productName":"Resveratrol","productUrl":"//www.livemomentous.com/products/resveratrol-30-serving-jar","rating":5,"reviewer":{"location":{"country":{"name":"United States","code":"US"}},"displayName":"Yadira","isVerified":true},"isIncentivized":false,"status":"approved","title":"Great product","unhelpfulCount":0},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"c443c810-63a1-46b2-9829-679c1de18d1a","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7194505019575","productId":"shopify-7194505019575","body":"Great product to reduce inflammation and support my cardiovascular health.","dateCreated":"2025-11-03T21:27:02.000Z","dateUpdated":"2025-11-03T21:27:02.000Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productHandle":"resveratrol-30-serving-jar","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Resveratrol_HERO_x280.png?v=1778083119","productName":"Resveratrol","productUrl":"//www.livemomentous.com/products/resveratrol-30-serving-jar","rating":5,"reviewer":{"location":{"country":{"name":"United States","code":"US"}},"displayName":"Melissa","isVerified":true},"isIncentivized":false,"status":"approved","title":"Reduce inflammation and support cardiovascular health","unhelpfulCount":0}],"reviewsKeywords":{"keywordTopics":[{"keywords":[{"name":"price","occurrences":3}],"topic":"Value"},{"keywords":[{"name":"energy","occurrences":2},{"name":"energy levels","occurrences":1}],"topic":"Energy"},{"keywords":[{"name":"quality","occurrences":2}],"topic":"Quality"},{"keywords":[{"name":"sleep","occurrences":1},{"name":"sleep quality","occurrences":1},{"name":"restfulness","occurrences":1}],"topic":"Sleep"},{"keywords":[{"name":"effectiveness","occurrences":1},{"name":"results","occurrences":1},{"name":"gains","occurrences":1}],"topic":"Effectiveness"},{"keywords":[{"name":"digestibility","occurrences":1},{"name":"swallowability","occurrences":1},{"name":"servings","occurrences":1}],"topic":"Usability"},{"keywords":[{"name":"inflammation","occurrences":1},{"name":"skin recovery","occurrences":1},{"name":"skin changes","occurrences":1}],"topic":"Recovery"}],"languageCode":"en"},"reviewsNextUrl":"https://api.okendo.io/v1/stores/72adcf9f-ede7-4232-8bc6-db71fceaf77c/products/shopify-7194505019575/reviews?limit=5&orderBy=date%20desc&lastEvaluated=%7B%22subscriberId%22%3A%2272adcf9f-ede7-4232-8bc6-db71fceaf77c%22%2C%22dateCreated%22%3A%222025-11-03T21%3A27%3A02.000Z%22%2C%22reviewId%22%3A%22c443c810-63a1-46b2-9829-679c1de18d1a%22%2C%22subscriberId_productId%22%3A%2272adcf9f-ede7-4232-8bc6-db71fceaf77c%3Ashopify-7194505019575%22%7D","reviewsSummary":{"body":"Customers say this supplement is easy to swallow and gentle on the stomach. Many reviews mention improved sleep quality and energy levels, with some users reporting better recovery and overall well-being. Common feedback includes positive experiences with the product's quality and brand trustworthiness. However, reviews are mixed on timing of effects - while some notice immediate improvements, others report waiting weeks or months without clear results. Several customers mention the high price point as a concern, noting it's expensive compared to alternatives. Many appreciate the third-party testing and quality standards, with some users becoming long-term subscribers despite the cost.","contributingReviewCount":37,"dateGenerated":"2026-02-06T00:06:55.592Z","datePublished":"2026-02-17T02:07:22.009Z","languageCode":"en"},"sort":{"defaultSort":"date desc"}} !(function() { const widgets = document.querySelectorAll('.js-oke-widgetSize'); if (widgets && widgets.length) { if (!window.okeSetWidgetSizes) { window.okeSetWidgetSizes = (allWidgets) => { if (allWidgets) { allWidgets.forEach(widget => { const width = widget.getBoundingClientRect().width; widget.classList.remove('oke-is-small', 'oke-is-medium', 'oke-is-large'); widget.classList.add(width > 960 ? 'oke-is-large' : width > 640 ? 'oke-is-medium' : 'oke-is-small'); }); } }; } if (!window.okeResizeObserver) { let okeMetafieldResizerTimer; window.okeResizeObserver = new ResizeObserver(entries => { if (entries && entries.length) { if (okeMetafieldResizerTimer) { clearTimeout(okeMetafieldResizerTimer); } okeMetafieldResizerTimer = window.setTimeout(() => { window.okeSetWidgetSizes(entries.map(e => e.target)); }, 100); } }); } window.okeSetWidgetSizes(document.querySelectorAll('.js-oke-widgetSize')); widgets.forEach((widget) => { window.okeResizeObserver.observe(widget); }); } })(); @media (min-width: 1024px) { .oke-w-main { width: 67%; margin-left: auto; } } [ { "@context": "https://schema.org/", "@type": "Product", "name": "Resveratrol", "url": "https:\/\/www.livemomentous.com\/products\/resveratrol-30-serving-jar", "image":"https:\/\/www.livemomentous.com\/cdn\/shop\/files\/Resveratrol_HERO.png?v=1778083119\u0026width=1000","description": "Resveratrol is a potent polyphenol found in the skin of red grapes and certain berries, known for its antioxidant and anti-inflammatory properties. It supports cellular health, promotes healthy aging, and helps defend against oxidative stress—making it a valuable daily supplement for long-term vitality and performance.\nOften associated with cardiovascular and brain health, Resveratrol helps protect cells from damage, support metabolic function, and maintain healthy inflammation levels. It’s an ideal addition for anyone looking to promote longevity and protect against the wear and tear of daily stress.","sku": "850030796158","brand": { "@type": "Brand", "name": "Momentous" },"aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.6", "reviewCount": "39", "bestRating": "5", "worstRating": "1" },"hasMerchantReturnPolicy": { "@type": "MerchantReturnPolicy", "@id": "#momentous-return-policy", "applicableCountry": "US", "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow", "merchantReturnDays": 30, "merchantReturnLink": "https:\/\/www.livemomentous.com\/policies\/refund-policy", "returnMethod": "https://schema.org/ReturnByMail", "returnFees": "https://schema.org/FreeReturn", "customerRemorseReturnFees": "https://schema.org/FreeReturn", "returnShippingFeesAmount": { "@type": "MonetaryAmount", "value": 0, "currency": "USD" }, "refundType": "https://schema.org/FullRefund" }, "offers": [{ "@type": "Offer","sku": "850030796158","gtin12": "850030796158","itemCondition": "https://schema.org/NewCondition", "availability": "https://schema.org/InStock", "price": 39.0, "priceCurrency": "GBP", "url": "https:\/\/www.livemomentous.com\/products\/resveratrol-30-serving-jar?variant=41417371123895","priceSpecification": [ { "@type": "UnitPriceSpecification", "price": 39.0, "priceCurrency": "GBP", "name": "One-Time Purchase" }, { "@type": "UnitPriceSpecification", "price": 29.25, "priceCurrency": "GBP", "name": "Delivery every 1 month", "validForMemberTier": { "@type": "MemberProgramTier", "@id": "#momentous-subscriber", "name": "Subscriber" } } ],"hasMerchantReturnPolicy": { "@type": "MerchantReturnPolicy", "@id": "#momentous-return-policy" } } ] }, { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https:\/\/www.livemomentous.com" }, { "@type": "ListItem", "position": 2, "name": "Capsules", "item": "https:\/\/www.livemomentous.com\/collections\/capsules" }, { "@type": "ListItem", "position": 3, "name": "Resveratrol", "item": "https:\/\/www.livemomentous.com\/products\/resveratrol-30-serving-jar" } ] } ] .combined-product-button.flavour-disabled { opacity: 0.5; position: relative; cursor: not-allowed; pointer-events: none; } .combined-product-button.flavour-disabled:after { content: ' '; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: linear-gradient(to top left, rgba(0,0,0,0) calc(50% - 1px), #CFCFCA, rgba(0,0,0,0) calc(50% + 1px)) } Sign up for offers, product news, and tips Support Account Help & Contact Subscriptions Locations Press Inquiries Company About Us Careers Blog Affiliate Program Trusted Experts Wholesale Corporate Wellness Resources Privacy Policy Terms of Service Your Privacy Choices Accessibility California Prop 65 Save with HSA/FSA Certificate of Analysis Patents Do Not Sell My Information *These statements have not been evaluated by the food and drug administration. This product is not intended to diagnose, treat, cure, or prevent any disease. Afghanistan - USD $ Åland Islands - USD $ Algeria - USD $ Andorra - EUR € Anguilla - USD $ Antigua & Barbuda - USD $ Argentina - USD $ Armenia - USD $ Aruba - USD $ Ascension Island - USD $ Australia - AUD $ Austria - EUR € Bahamas - USD $ Bahrain - USD $ Bangladesh - USD $ Barbados - USD $ Belgium - EUR € Belize - USD $ Bermuda - USD $ Bhutan - USD $ Bolivia - USD $ Bosnia & Herzegovina - USD $ Botswana - USD $ Brazil - USD $ British Indian Ocean Territory - USD $ Brunei - USD $ Bulgaria - USD $ Burkina Faso - USD $ Burundi - USD $ Cambodia - USD $ Cameroon - USD $ Canada - CAD $ Cape Verde - USD $ Caribbean Netherlands - USD $ Cayman Islands - USD $ Central African Republic - USD $ Chad - USD $ Chile - USD $ China - USD $ Christmas Island - USD $ Cocos (Keeling) Islands - USD $ Colombia - USD $ Congo - Brazzaville - USD $ Congo - Kinshasa - USD $ Cook Islands - USD $ Costa Rica - USD $ Côte d’Ivoire - USD $ Croatia - USD $ Curaçao - USD $ Cyprus - EUR € Czechia - USD $ Denmark - USD $ Dominica - USD $ Dominican Republic - USD $ Ecuador - USD $ Egypt - USD $ El Salvador - USD $ Estonia - EUR € Eswatini - USD $ Ethiopia - USD $ Falkland Islands - USD $ Finland - EUR € France - EUR € French Guiana - USD $ French Polynesia - USD $ French Southern Territories - USD $ Gabon - USD $ Gambia - USD $ Germany - EUR € Ghana - USD $ Greece - EUR € Guadeloupe - USD $ Guatemala - USD $ Guernsey - USD $ Guinea - USD $ Guyana - USD $ Haiti - USD $ Hong Kong SAR - USD $ Hungary - USD $ Iceland - USD $ India - USD $ Indonesia - USD $ Iraq - USD $ Ireland - EUR € Isle of Man - USD $ Israel - USD $ Italy - EUR € Jamaica - USD $ Japan - USD $ Jersey - USD $ Jordan - USD $ Kenya - USD $ Kosovo - EUR € Kuwait - USD $ Laos - USD $ Latvia - EUR € Lebanon - USD $ Liberia - USD $ Liechtenstein - USD $ Lithuania - EUR € Luxembourg - EUR € Macao SAR - USD $ Madagascar - USD $ Malawi - USD $ Malaysia - USD $ Maldives - USD $ Mali - USD $ Malta - EUR € Martinique - USD $ Mauritania - USD $ Mauritius - USD $ Mayotte - USD $ Mexico - USD $ Moldova - USD $ Monaco - EUR € Montenegro - EUR € Morocco - USD $ Mozambique - USD $ Namibia - USD $ Nauru - USD $ Nepal - USD $ Netherlands - EUR € New Zealand - USD $ Nicaragua - USD $ Niger - USD $ Nigeria - USD $ Niue - USD $ Norfolk Island - USD $ Norway - USD $ Oman - USD $ Pakistan - USD $ Palestinian Territories - USD $ Panama - USD $ Papua New Guinea - USD $ Paraguay - USD $ Peru - USD $ Philippines - USD $ Pitcairn Islands - USD $ Poland - USD $ Portugal - EUR € Qatar - USD $ Réunion - USD $ Romania - USD $ Rwanda - USD $ San Marino - EUR € São Tomé & Príncipe - USD $ Saudi Arabia - USD $ Senegal - USD $ Seychelles - USD $ Sierra Leone - USD $ Singapore - USD $ Slovakia - EUR € Slovenia - EUR € Solomon Islands - USD $ Somalia - USD $ South Africa - USD $ South Georgia & South Sandwich Islands - USD $ South Korea - USD $ South Sudan - USD $ Spain - EUR € Sri Lanka - USD $ St. Helena - USD $ St. Pierre & Miquelon - USD $ Suriname - USD $ Svalbard & Jan Mayen - USD $ Sweden - USD $ Switzerland - USD $ Taiwan - USD $ Tajikistan - USD $ Tanzania - USD $ Thailand - USD $ Togo - USD $ Tokelau - USD $ Trinidad & Tobago - USD $ Tristan da Cunha - USD $ Tunisia - USD $ Türkiye - USD $ Turkmenistan - USD $ Tuvalu - USD $ U.S. Outlying Islands - USD $ Uganda - USD $ Ukraine - USD $ United Arab Emirates - USD $ United Kingdom - GBP £ United States - USD $ Uruguay - USD $ Vatican City - USD $ Venezuela - USD $ Vietnam - USD $ Western Sahara - USD $ Yemen - USD $ Zambia - USD $ Zimbabwe - USD $ United Kingdom - GB £ .country-selector { position: relative; } .country-selector__select { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; } .country-selector__selected-display { display: flex; align-items: center; gap: 8px; } document.querySelector('.country-selector__select').addEventListener('change', function() { const selectedOption = this.options[this.selectedIndex]; const flagSrc = selectedOption.dataset.flagSrc; const currency = selectedOption.dataset.currency; // Update the displayed flag and text const display = this.closest('.country-selector').querySelector('.country-selector__selected-display'); display.querySelector('img').src = flagSrc; display.querySelector('img').alt = selectedOption.text; display.querySelector('span').textContent = selectedOption.text; // Submit the form this.closest('form').submit(); }); document.addEventListener("DOMContentLoaded", () => { const managePreferencesBtn = document.querySelector( 'a[aria-label="Your Privacy Choices"]' ); if (managePreferencesBtn) { managePreferencesBtn.addEventListener("click", (event) => { event.preventDefault(); const consent = window[Symbol.for("blotout-consent")]; if (consent && typeof consent.showBanner === "function") { consent.showBanner(); console.log('Banner Fired') } }); } }); document.addEventListener('DOMContentLoaded', function() { // Handle newsletter form submission document.addEventListener('newsletter-submit', function(event) { const email = event.detail.email; // Here you can integrate with your email service (Klaviyo, Mailchimp, etc.) // Example: Send to Klaviyo or your backend console.log('Newsletter subscription:', email); // You can add your newsletter integration here // For example, if using Klaviyo: // if (window._learnq) { // window._learnq.push(['identify', { $email: email }]); // } }); }); /* Ensure x-cloak works properly */ [x-cloak] { display: none !important; } /* Custom styles for localization form integration */ #footer-new .country-selector { min-width: 200px; } #footer-new .country-selector__selected-display { padding: 8px 12px; cursor: pointer; transition: border-color 0.2s; } #footer-new .country-selector__selected-display:hover { border-color: #f97316; } #footer-new .country-selector__selected-display:focus-within { outline: 2px solid #f97316; outline-offset: 2px; } /* Ensure proper spacing for social icons */ #footer-new [role="list"] { list-style: none; padding: 0; margin: 0; } /* Smooth transitions for all interactive elements */ #footer-new a, #footer-new button { transition: all 0.2s ease-in-out; } /* High contrast mode support */ @media (prefers-contrast: high) { #footer-new { border-top: 2px solid currentColor; } #footer-new a:focus, #footer-new button:focus { outline-width: 3px; } } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { #footer-new * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } .footer-new__logo { width: 300px; height: 120px; } @media (max-width: 768px) { .footer-new__logo { width: 200px; height: 85px; } } .new-footer-klaviyo-form button[type="button"] { font-size: 0 !important; } .new-footer-klaviyo-form button[type="button"]::before { content: ""; display: inline-block; width: 19px; height: 16px; background-image: url("data:image/svg+xml;utf8,"); background-repeat: no-repeat; background-size: contain; margin-right: 6px; /* spacing before text */ vertical-align: middle; } function closeKlaviyoOutOfStockModal() { let modalElem = document.getElementById("klaviyo_modal"); modalElem.style.display = "none"; document.getElementById('back-in-stock').innerHTML = "" document.body.classList.remove('back-in-stock-opned') } function successKlaviyoOutOfStockModal() { document.getElementById("klaviyo_out_of_stock_form").innerHTML = `

You will receive an email when the product is back in stock! `; } function createKlaviyoOutOfStockSubscriptionModal(variantId, productTitle, variantTitle, backDate, image) { let modalElem = document.createElement("div"); modalElem.innerHTML = `

We’ll notify you when the product is back in stock!
${productTitle}
${productTitle}

${variantTitle}

Estimated to be back in stock: ${backDate}

Email
Notify me when available ` modalElem.id = "klaviyo_modal"; modalElem.classList.add("klaviyo_modal"); modalElem.style.display = "block"; return modalElem; } function klaviyoFormValidateEmail(email) { return String(email) .toLowerCase() .match( /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ ); }; window.openKlaviyoStockAlertSubscriptionForm = function(variantId, productTitle, variantTitle, backDate, image) { let modalElem = createKlaviyoOutOfStockSubscriptionModal(variantId, productTitle, variantTitle, backDate, image); document.getElementById('back-in-stock').appendChild(modalElem); document.body.classList.add('back-in-stock-opned') document.querySelectorAll('.klaviyo_modal_close_triger').forEach(item => { item.addEventListener("click", closeKlaviyoOutOfStockModal); }) document.getElementById("klaviyo_out_of_stock_form_button").addEventListener("click", function(evt) { evt.stopPropagation(); const email = document.getElementById("Klaviyo_out_of_stock_email").value; const emailValidation = klaviyoFormValidateEmail(email); console.log(email, variantId, 'email, variantId'); if (!emailValidation) return; const data = { data: { type: "back-in-stock-subscription", attributes: { profile: { data: { type: "profile", attributes: { email: email } } }, channels: ["EMAIL"] }, relationships: { variant: { data: { type: "catalog-variant", id: `$shopify:::$default:::${variantId}` } } } } }; fetch("https://a.klaviyo.com/client/back-in-stock-subscriptions/?company_id=MfVp5f", { method: "POST", headers: { "Content-Type": "application/json", "revision": "2024-06-15" }, body: JSON.stringify(data) }) .then(async res => { if (!res.ok) { const errorText = await res.text(); // Don't assume JSON here console.error("Klaviyo API error:", errorText); throw new Error("Failed to subscribe"); } // Only try parsing JSON if there's content const contentType = res.headers.get("content-type") || ""; if (contentType.includes("application/json")) { const result = await res.json(); console.log("Subscription success:", result); } // Run your success handler successKlaviyoOutOfStockModal(); }) .catch(err => { console.error("Klaviyo Back-in-Stock Error:", err); }); }); document.getElementById("Klaviyo_out_of_stock_email").addEventListener("input", function(evt) { let email = document.getElementById("Klaviyo_out_of_stock_email").value; let emailValidation = klaviyoFormValidateEmail(email) if (emailValidation) { document.getElementById('klaviyo_out_of_stock_form_button').removeAttribute("disabled"); } else { document.getElementById("klaviyo_out_of_stock_form_button").setAttribute("disabled", "true"); } }) } window.upsell_popup = { title : null, subtitle : null, info : null, product_handle : "", product_id : 1234, product_image : "//www.livemomentous.com/cdn/shopifycloud/storefront/assets/no-image-2048-a2addb12_550x.gif", product_variants : [ ], base_product_id : 1234 } if (window.location.pathname == '/a/account/login') { window.location.replace('/tools/recurring/login/'); } window.addEventListener('load', function() { var _learnq = window._learnq || []; function addedToCart() { fetch(`${window.location.origin}/cart.js`) .then(res => res.clone().json().then(data => { var cart = { total_price: data.total_price/100, $value: data.total_price/100, total_discount: data.total_discount, original_total_price: data.original_total_price/100, items: data.items } if (item !== 'undefined') { cart = Object.assign(cart, item) } if (klAjax) { _learnq.push(['track', 'Added to Cart', cart]); klAjax = false; } })) }; (function (ns, fetch) { ns.fetch = function() { const response = fetch.apply(this, arguments); response.then(res => { if (`${window.location.origin}/cart/add.js` .includes(res.url)) { addedToCart() } }); return response } }(window, window.fetch)); var klAjax = true; var atcButtons = document.querySelectorAll("form[action*='/cart/add'] button[type='submit']"); for (var i = 0; i { window.ShopifyAnalytics.meta.selectedVariantId = '41417371123895'; console.log( 'window.ShopifyAnalytics.meta.selectedVariantId:', window.ShopifyAnalytics.meta.selectedVariantId ); }, 5000); .rebuy-product-actions .subscription-checkbox .slider.round, .buttons-wrappers button:nth-of-type(2) { display: none; } .siena-iframe { display: none; } @media (max-width: 1366px) { .siena-iframe { z-index: 39; } .siena-iframe.siena-iframe--bottom-0, .siena-iframe.siena-iframe--fullscreen{ z-index: 9999999; } } ttd_dom_ready( function() { if (typeof TTDUniversalPixelApi === 'function') { var universalPixelApi = new TTDUniversalPixelApi(); universalPixelApi.init("h4w8qq9", ["k1r6x4d"], "https://insight.adsrvr.org/track/up"); } }); document.querySelectorAll('button[aria-label*="Add to Bag"]').forEach(function(btn) { var productn = btn.getAttribute('aria-label').slice(11) btn.addEventListener('click', function(event) { var conversionPixel = new Image(); conversionPixel.src = "https://insight.adsrvr.org/track/pxl/?adv=h4w8qq9&ct=0:fmme5s8&fmt=3&td1=" + productn + "&ts=" + (new Date()).getTime(); // Adding a unique ID to prevent caching conversionPixel.height = 1; conversionPixel.width = 1; conversionPixel.style.display = "none"; // Hide the pixel document.body.appendChild(conversionPixel); }); });
0 ? 'is-visible' : 'is-hidden', 'widget-layout-' + currentLayout()]">

:

1 ? 'lazy' : 'eager'" v-bind:src="itemImage(product, product.selected_variant, '400x400')" v-bind:alt="itemImageAlt(product, product.selected_variant)">
{{ value }}
{{ frequencyLabel(frequency, product.subscription_interval) }}
Quantity {{ n }}
Sale price Original price
Price
Powered by Rebuy
0 ? 'is-visible' : 'is-hidden']">

:

0">
{{ variant.title }}
{{ value }}
0">
0 ? 'is-visible' : 'is-hidden', 'widget-layout-' + currentLayout()]">

:

1 ? 'lazy' : 'eager'" v-bind:src="itemImage(product, product.selected_variant, '400x400')" v-bind:alt="itemImageAlt(product, product.selected_variant)">
{{ value }} Select your purchase method
Out of Stock Protection {{ frequencyLabel(frequency, product.subscription_interval) }}
One-Time Purchase Receive Once Add to Bag
Price View Product
el.classList.remove('show')); $event.target.closest('.rebuy-product-block').querySelector('.rebuy-product-options').classList.add('show')" type="button">
Price
Powered by Rebuy
0 ? 'is-visible' : 'is-hidden', 'widget-layout-' + currentLayout()]">

:

1 ? 'lazy' : 'eager'" v-bind:src="itemImage(product, product.selected_variant, '400x400')" v-bind:alt="itemImageAlt(product, product.selected_variant)">
{{ value }} Select your purchase method
Out of Stock Protection {{ frequencyLabel(frequency, product.subscription_interval) }}
One-Time Purchase Receive Once Add to Bag
Price View Product
el.classList.remove('show')); $event.target.closest('.rebuy-product-block').querySelector('.rebuy-product-options').classList.add('show')" type="button">
Price
Powered by Rebuy Search Search for products, collections, pages, and articles .search-form-wrapper { position: relative; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); isolation: isolate; } .search-form__input:focus { border: 1px solid #000; } .search-form__results { width: 480px; border-radius: 10px; border: 1px solid #E5E7EB; background: #FFF; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); top: 100%; } @media(max-width: 640px) { .search-form__results { width: 100%; border-radius: 10px; border: none; margin-top: 0; } } .search-form__results.show { display: block; } .search-result-divider { border-top: 1px solid var(--grey-100, #e5e5e5); } .search-product-img { width: 5rem; height: 5rem; } @media(max-width: 640px) { .search-product-img { width: 70px; height: 70px; } } .atc-btn[data-loading] { opacity: 0.6; pointer-events: none; } .atc-btn[data-added] { background-color: #2d7a3a; } .search-form__results.is-loading::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--grey-900, #171717) 50%, transparent 100%); background-size: 200% 100%; animation: search-loading-shimmer 1.2s ease-in-out infinite; pointer-events: none; } .search-form__results-content { max-height: calc(100vh - 170px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; } .search-result-divider { position: sticky; bottom: 0; background-color: #FFF; z-index: 10; } @keyframes search-loading-shimmer { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } } @media(max-width: 640px) { .search-product-row { flex-direction: column; align-items: flex-start !important; } .search-recommended-section { display: none; } } .query-item-text *, .query-item-text { white-space: nowrap; } .query-item-text mark { background-color: #FFFADF; color: inherit; border-radius: 2px; } .search-form__clear-btn { background: none; border: none; padding: 0; cursor: pointer; line-height: 0; color: var(--grey-400, #999); } .search-form__clear-btn:hover svg path { stroke: var(--grey-700, #404040); } (function() { 'use strict'; const SEARCH_ICON = ` `; // Guard: only define the class once even if snippet is rendered multiple times if (!window.MomentousPredictiveSearch) { window.MomentousPredictiveSearch = class { constructor(wrapper) { this.wrapper = wrapper; this.input = wrapper.querySelector('[data-search-input]'); this.resultsContainer = wrapper.querySelector('[data-search-results]'); this.resultsContent = wrapper.querySelector('[data-search-results-content]'); this.form = wrapper.querySelector('.search-form'); this.submitBtn = wrapper.querySelector('[data-search-submit]'); this.clearBtn = wrapper.querySelector('[data-search-clear]'); this.debounceTimer = null; this.currentRequest = null; this.currentQuery = ''; this.minQueryLength = 2; this.debounceDelay = 300; this.cache = new Map(); this.requestId = 0; this.init(); } init() { this.input.addEventListener('input', (e) => { this.handleInput(e.target.value); this.updateClearBtn(); }); if (this.clearBtn) { this.clearBtn.addEventListener('click', () => { this.input.value = ''; this.currentQuery = ''; this.hideResults(); this.updateClearBtn(); this.input.focus(); }); } this.input.addEventListener('focus', () => { if (this.input.value.length >= this.minQueryLength) { this.showResults(); } }); this.input.addEventListener('touchend', (e) => { e.stopPropagation(); this.input.focus(); }); this.input.addEventListener('touchstart', (e) => { e.stopPropagation(); }, { passive: true }); const handleOutsideInteraction = (e) => { if (!this.wrapper.contains(e.target)) { const sidebarPanel = document.getElementById('ss-panel'); if (sidebarPanel && sidebarPanel.contains(this.wrapper) && sidebarPanel.contains(e.target)) { return; } this.hideResults(); } }; document.addEventListener('click', handleOutsideInteraction); document.addEventListener('touchstart', handleOutsideInteraction, { passive: true }); document.addEventListener('keydown', (e) => { if (e.key === 'Escape') this.hideResults(); }); } updateClearBtn() { const show = this.input.value.length >= this.minQueryLength; if (this.clearBtn) this.clearBtn.classList.toggle('hidden', !show); if (this.submitBtn) this.submitBtn.classList.toggle('hidden', show); } handleInput(query) { const trimmedQuery = query.trim(); if (this.debounceTimer) clearTimeout(this.debounceTimer); if (trimmedQuery.length { this.fetchSearchData(trimmedQuery); }, this.debounceDelay); } async fetchSearchData(query) { if (this.cache.has(query)) { const cached = this.cache.get(query); this.setLoadingState(false); this.renderResults(cached.results, query, cached.recommended); return; } if (this.currentRequest) { this.currentRequest.abort(); this.currentRequest = null; } const requestId = ++this.requestId; const controller = new AbortController(); this.currentRequest = controller; const baseUrl = window.Shopify?.routes?.root || '/'; const apiUrl = `${baseUrl}search/suggest.json?q=${encodeURIComponent(query)}&resources[type]=product,query&resources[limit]=5&resources[limit_scope]=each`; try { const response = await fetch(apiUrl, { signal: controller.signal, headers: { 'Accept': 'application/json' } }); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data = await response.json(); if (requestId !== this.requestId) return; this.currentRequest = null; const results = data.resources?.results || {}; if (this.cache.size > 50) this.cache.clear(); this.cache.set(query, { results, recommended: null }); this.setLoadingState(false); this.renderResults(results, query, null); } catch (error) { if (error.name === 'AbortError') return; if (requestId !== this.requestId) return; console.error('Predictive search error:', error); this.setLoadingState(false); this.showError(); } } async fetchRecommendations(productId) { try { const baseUrl = window.Shopify?.routes?.root || '/'; const url = `${baseUrl}recommendations/products.json?product_id=${productId}&limit=6&intent=related`; const response = await fetch(url, { headers: { 'Accept': 'application/json' } }); if (!response.ok) return []; const data = await response.json(); return (data.products || []) .filter(p => { const tags = (p.tags || []).map(t => t.toLowerCase()); return !tags.includes('searchnise_ignore') && !tags.includes('search_hide'); }) .slice(0, 3); } catch (e) { return []; } } async addToCart(variantId, btn) { btn.setAttribute('data-loading', ''); btn.textContent = 'Adding...'; try { const response = await fetch('/cart/add.js', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' }, body: JSON.stringify({ id: variantId, quantity: 1 }) }); if (!response.ok) throw new Error('Failed to add to cart'); btn.removeAttribute('data-loading'); btn.setAttribute('data-added', ''); btn.textContent = 'Added!'; document.dispatchEvent(new CustomEvent('cart:refresh')); setTimeout(() => { btn.removeAttribute('data-added'); btn.textContent = 'Add to Cart'; }, 2000); } catch (e) { btn.removeAttribute('data-loading'); btn.textContent = 'Add to Cart'; console.error('ATC error:', e); } } bindAtcButtons() { this.resultsContent.querySelectorAll('.atc-btn').forEach(btn => { btn.addEventListener('click', (e) => { e.preventDefault(); const variantId = btn.dataset.variantId; if (variantId) this.addToCart(variantId, btn); }); }); } renderResults(results, query, preloadedRecommended) { if (!results || ((!results.products || results.products.length === 0) && (!results.queries || results.queries.length === 0))) { this.resultsContent.innerHTML = `
No results found for "${this.escapeHtml(query)}" `; this.showResults(); return; } const products = (results.products || []) .filter(p => { const tags = (p.tags || []).map(t => t.toLowerCase()); return !tags.includes('searchnise_ignore') && !tags.includes('search_hide'); }) .slice(0, 4); const queries = (results.queries || []).slice(0, 4); const firstProductId = products.length > 0 ? products[0].id : null; let html = ''; if (products.length > 0) { html += `
`; products.forEach(product => { html += this.renderMatchedProduct(product); }); html += ` `; } if (queries.length > 0) { html += `
Top Searches
  • ${SEARCH_ICON} ${queries.map(q => this.renderQueryItem(q)).join('')}
`; } const searchUrl = (window.Shopify?.routes?.root || '/') + `search?q=${encodeURIComponent(query)}&type=product`; html += `
View all results for “${this.escapeHtml(query)}” `; if (firstProductId) { if (preloadedRecommended && preloadedRecommended.length > 0) { html += this.renderRecommendedSection(preloadedRecommended); } else if (preloadedRecommended === null) { html += `
`; } } this.resultsContent.innerHTML = html; this.showResults(); this.bindAtcButtons(); if (firstProductId && preloadedRecommended === null) { this.fetchAndPatchRecommendations(firstProductId, query); } } renderMatchedProduct(product) { const imgUrl = product.featured_image?.url || product.image || ''; const imgSized = imgUrl ? imgUrl.replace(/(\.[a-z]+)(\?.*)?$/i, '_220x220$1$2') : ''; const price = this.formatPrice(product.price, product.price_min, product.price_max); const isSingleVariant = !product.variants || product.variants.length ${imgSized ? `${title}` : `
` }
${title}
${price ? `
${price} ` : ''} View Product `; } renderSuggestedProduct(product) { const imgUrl = product.featured_image?.src || product.featured_image?.url || product.images?.[0] || ''; const imgSized = imgUrl ? imgUrl.replace(/(\.[a-z]+)(\?.*)?$/i, '_300x300$1$2') : ''; const productUrl = this.escapeHtml(product.url || `/products/${product.handle}`); const title = this.escapeHtml(product.title || ''); return `
${imgSized ? `${title}` : `
` }
${title} `; } renderQueryItem(item) { const queryText = item.styled_text || this.escapeHtml(item.text || ''); const queryUrl = this.escapeHtml(item.url || '#'); return `
  • ${queryText} `; } renderRecommendedSection(recommended) { return `