/*************************************** * Wix Velo: Body Type Quiz (Somatotype) * - Counts answers across 3 columns: * ECTOMORPH / MESOMORPH / ENDOMORPH * - Shows a result box + recommended CTA * - (Optional) Saves submission to a collection * * HOW TO USE (quick): * 1) Add 8 RadioGroup elements to your page: * #q1, #q2, #q3, #q4, #q5, #q6, #q7, #q8 * Each must have 3 options in the same order: * 1st = Ectomorph, 2nd = Mesomorph, 3rd = Endomorph * * 2) Add: * Button: #submitBtn * Text: #resultTitle * Text: #resultSubtitle * Box: #resultBox * Button: #bookBtn (optional, link to booking) * * 3) (Optional) Create a collection "BodyTypeQuizSubmissions" * fields (suggested): * name (text), email (text), * ectoScore (number), mesoScore (number), endoScore (number), * resultType (text), isHybrid (boolean), * createdAt (date/time) [Wix adds _createdDate automatically] * * 4) Turn ON Dev Mode and paste this into the page code. ***************************************/ import wixData from "wix-data"; import wixLocation from "wix-location"; const QUESTIONS = [ { id: "#q1", label: "Frame" }, { id: "#q2", label: "Weight gain area" }, { id: "#q3", label: "Metabolism" }, { id: "#q4", label: "Muscle building" }, { id: "#q5", label: "Muscle tone" }, { id: "#q6", label: "Energy" }, { id: "#q7", label: "Treatment response" }, { id: "#q8", label: "Stress response" } ]; // Map option index -> type // 0 = ecto, 1 = meso, 2 = endo const TYPE_BY_INDEX = ["ECTOMORPH", "MESOMORPH", "ENDOMORPH"]; $w.onReady(function () { // Hide result area on load $w("#resultBox").collapse(); $w("#submitBtn").onClick(() => { try { const { scores, answers } = scoreQuiz(); const result = resolveResult(scores); renderResult(result, scores); // OPTIONAL: Save to collection (uncomment + ensure collection exists) // saveSubmission({ scores, result, answers }); // OPTIONAL: Scroll to result $w("#resultBox").expand(); $w("#resultBox").scrollTo(); } catch (err) { // Friendly validation message wixLocation.to(wixLocation.url); // removes any weird state; optional // Or just show a text warning if you have one // $w("#errorText").text = err.message; // $w("#errorText").show(); console.error(err); } }); // OPTIONAL: booking button handler // Make sure #bookBtn has a link OR set it here // $w("#bookBtn").onClick(() => wixLocation.to("/book-now")); }); /** * Reads all radio groups, validates completion, and counts each type. */ function scoreQuiz() { const scores = { ECTOMORPH: 0, MESOMORPH: 0, ENDOMORPH: 0 }; const answers = []; for (const q of QUESTIONS) { const rg = $w(q.id); // Validate: must select something if (!rg.value) { // If you prefer, you can highlight the unanswered input throw new Error("Please answer every question to see your results."); } // Wix RadioGroup value is the "value" of option, not index. // We’ll derive index by finding it in options. const idx = rg.options.findIndex((opt) => opt.value === rg.value); if (idx < 0 || idx > 2) { throw new Error(`Invalid selection detected for ${q.label}.`); } const type = TYPE_BY_INDEX[idx]; scores[type] += 1; answers.push({ question: q.label, selectedValue: rg.value, selectedIndex: idx, type }); } return { scores, answers }; } /** * Determines dominant type and hybrid flag. * Hybrid logic: * - If top score ties with another, it’s a hybrid. * - If top score is only 1 higher than second place, call it “leaning hybrid.” */ function resolveResult(scores) { const entries = Object.entries(scores).sort((a, b) => b[1] - a[1]); const [topType, topScore] = entries[0]; const [secondType, secondScore] = entries[1]; const isTie = topScore === secondScore; const isLeaningHybrid = !isTie && (topScore - secondScore === 1); let resultType = topType; let hybridWith = null; if (isTie) { // True hybrid: show both types in a clean way resultType = `${topType} + ${secondType}`; hybridWith = secondType; } else if (isLeaningHybrid) { // Leaning hybrid: still show a dominant type but note the runner-up hybridWith = secondType; } return { dominant: topType, resultType, hybridWith, isHybrid: isTie || isLeaningHybrid }; } /** * Updates your page UI with the result. * Make sure you created: * #resultTitle (Text) * #resultSubtitle (Text) * #resultBox (Box) */ function renderResult(result, scores) { const { dominant, resultType, hybridWith, isHybrid } = result; $w("#resultTitle").text = `Your Body Type: ${resultType}`; // Short, client-friendly lines you can tweak const blurbs = { ECTOMORPH: "Naturally lean with a faster metabolism. Your focus is nervous system balance, nourishment, and muscle tone support.", MESOMORPH: "Naturally athletic and responsive. Your focus is consistency, inflammation control, and sculpting maintenance.", ENDOMORPH: "Stores fat more easily and thrives with structure. Your focus is detox pathways, water retention, and hormone-friendly habits." }; const serviceRecs = { ECTOMORPH: [ "Magnesium Lymphatic Massage", "Cranial Massage", "Red Light Sessions" ], MESOMORPH: [ "Lymphatic Drainage", "Wood Therapy", "Fat Cavitation" ], ENDOMORPH: [ "Lymphatic Drainage", "Yeso Therapy Wraps", "Hot Stones + Steam" ] }; // If hybrid, blend messaging let subtitle = blurbs[dominant]; let recs = serviceRecs[dominant]; if (isHybrid && hybridWith) { subtitle = `${blurbs[dominant]} You also show strong ${hybridWith.toLowerCase()} traits—so your plan should be customized.`; // Merge & de-dupe recs recs = Array.from(new Set([...serviceRecs[dominant], ...serviceRecs[hybridWith]])); } const scoreLine = `Scores — Ecto: ${scores.ECTOMORPH}, Meso: ${scores.MESOMORPH}, Endo: ${scores.ENDOMORPH}`; const recLine = `Best matches for you: ${recs.join(" • ")}`; $w("#resultSubtitle").text = `${subtitle}\n\n${recLine}\n${scoreLine}`; } /** * OPTIONAL: Save to a collection (requires permission rules set properly). * Create a collection named "BodyTypeQuizSubmissions" and update field keys as needed. */ async function saveSubmission({ scores, result, answers }) { const item = { // If you also collect name/email on the page, add: // name: $w("#nameInput").value, // email: $w("#emailInput").value, ectoScore: scores.ECTOMORPH, mesoScore: scores.MESOMORPH, endoScore: scores.ENDOMORPH, resultType: result.resultType, isHybrid: result.isHybrid, // Storing raw answers is optional—best practice is to store a summary only, // but you can store as JSON string if you want: answersJson: JSON.stringify(answers) }; await wixData.insert("BodyTypeQuizSubmissions", item); }
top of page
Search

Ashwagandha Wellness Benefits: Unlocking the Power of Ashwagandha Root Tincture

When it comes to natural wellness, I always look for remedies that are simple, effective, and gentle on the body. Ashwagandha has been a game-changer for me. This ancient herb, especially in the form of a tincture, offers a range of benefits that support both mind and body. If you’re curious about how this natural extract can enhance your wellness journey, you’re in the right place.


Close-up view of dried ashwagandha roots on a wooden surface
Close-up view of dried ashwagandha roots on a wooden surface

What Makes Ashwagandha So Special?


Ashwagandha is a powerful adaptogen. That means it helps your body handle stress better. When life gets hectic, this herb steps in to calm your nervous system and balance your hormones. It’s like a natural reset button for your body.


Many women find that ashwagandha supports their energy levels without the jitters that come from caffeine or other stimulants. It promotes restful sleep, which is essential for overall wellness and body contouring goals. When your body rests well, it recovers faster and functions at its best.


Here are some key benefits I’ve noticed:


  • Reduced stress and anxiety

  • Improved sleep quality

  • Boosted energy and stamina

  • Enhanced mood and mental clarity


Ashwagandha Wellness Benefits for Body and Mind


The benefits of ashwagandha go beyond just stress relief. It also supports your body’s natural ability to maintain balance. This is especially important if you’re working on holistic wellness and body contouring.


Ashwagandha helps regulate cortisol, the stress hormone that can cause weight gain and inflammation when levels are too high. By keeping cortisol in check, it supports healthy metabolism and reduces stubborn fat storage.


Plus, it has anti-inflammatory properties that soothe your body from the inside out. This can help with muscle recovery after workouts and reduce discomfort that might slow you down.


Here’s how ashwagandha supports your wellness routine:


  1. Balances hormones naturally

  2. Supports healthy metabolism

  3. Reduces inflammation and muscle soreness

  4. Enhances mental focus and reduces brain fog


How to Use Ashwagandha Root Tincture in Your Daily Routine


One of the easiest ways to enjoy ashwagandha’s benefits is through a tincture. A tincture is a liquid extract made by soaking the root in alcohol or glycerin. This method preserves the herb’s active compounds and makes it easy to take.


I like using an ashwagandha root tincture because it absorbs quickly and you can adjust the dose easily. Just a few drops under the tongue or mixed into your favorite drink can make a big difference.


Here are some tips for using a tincture:


  • Start with a small dose to see how your body reacts.

  • Take it in the morning for energy or before bed for relaxation.

  • Mix it with herbal tea or warm water for a soothing drink.

  • Be consistent – daily use brings the best results.


Eye-level view of a small amber glass bottle with herbal tincture and a dropper
Eye-level view of a small amber glass bottle with herbal tincture and a dropper

Combining Ashwagandha with Holistic Wellness Practices


Ashwagandha works best when paired with other healthy habits. I recommend combining it with mindful movement, balanced nutrition, and stress management techniques.


For example, gentle yoga or stretching can enhance the calming effects of ashwagandha. Eating whole foods rich in antioxidants supports your body’s natural detox pathways. And practicing meditation or deep breathing helps you stay centered.


If you’re focused on body contouring, remember that wellness is a full-circle journey. Ashwagandha supports your efforts by improving sleep, reducing stress, and boosting energy. This makes it easier to stay motivated and consistent with your wellness goals.


Try these simple steps:


  • Drink plenty of water to stay hydrated.

  • Prioritize sleep and create a relaxing bedtime routine.

  • Move your body daily, even if it’s just a short walk.

  • Use ashwagandha tincture as part of your morning or evening ritual.


Embracing Natural Wellness with Ashwagandha


Incorporating ashwagandha into your wellness routine is a gentle way to support your body’s natural balance. It’s a tool that helps you feel calmer, more energized, and ready to take on your day.


If you’re looking for a natural boost that complements your holistic wellness and body contouring journey, give ashwagandha a try. The benefits are real, and the process is simple.


Remember, wellness is about consistency and care. Adding an ashwagandha root tincture to your daily routine can be a small change that makes a big impact.


Take the first step today and see how this ancient herb can support your modern lifestyle. Your body and mind will thank you!

 
 
 

Comments


bottom of page