Digestion

Explore carefully selected nutrition products with ingredients that support healthy digestion, regularity, and digestive balance. As we find more products that meet our carefully curated standards, we’ll add them here.

Showing all 7 results

  • A jar of Activated Charcoal

    Activated Charcoal

    Activated charcoal for occasional digestive support when intestinal gas is the problem

    Select a quantity... 1 Container 2 Containers 3 Containers 4 Containers
    Delivery

    Autoship is optional and can be changed or canceled at any time

    Price (Price will show when you make your selection)

    Shipping is calculated separately

    Ships Directly from Youngevity
    Your order is fulfilled by the manufacturer, not from third-party reseller inventory.   What’s this? ↓

    (function () { const formBox = document.getElementById("lwf-activated-charcoal-form"); if (!formBox) { return; } const packageSelect = formBox.querySelector("#activated-charcoal-package"); const productPriceField = formBox.querySelector("#activated-charcoal-productpr"); const priceDisplay = formBox.querySelector("#activated-charcoal-price"); const addToCartButton = formBox.querySelector("#activated-charcoal-add-to-cart"); const deliveryInputs = formBox.querySelectorAll('input[name="activated-charcoal-delivery"]'); const productName = "Activated Charcoal"; const packages = { one: { sku: "USLF000112", description: "(1) container", price: "15.95" }, two: { sku: "USLF000112", description: "(2) containers", price: "31.90" }, three: { sku: "USLF000112", description: "(3) containers", price: "47.85" }, four: { sku: "USLF000112", description: "(4) containers", price: "63.80" } }; function selectedDelivery() { const selected = formBox.querySelector('input[name="activated-charcoal-delivery"]:checked'); return selected ? selected.value : ""; } function deliveryDescription(delivery) { if (delivery === "monthly") { return "autoship monthly"; } if (delivery === "two-months") { return "autoship every 2 months"; } return "one-time purchase"; } function updateSelection() { const packageKey = packageSelect.value; const delivery = selectedDelivery(); if (!packageKey) { productPriceField.value = ""; priceDisplay.textContent = "(Price will show when you make your selection)"; priceDisplay.classList.add("lwf-price-prompt"); addToCartButton.disabled = true; addToCartButton.textContent = "Add to Cart"; return; } const selectedPackage = packages[packageKey]; if (!selectedPackage) { return; } const description = productName + ", " + selectedPackage.description + ", SKU " + selectedPackage.sku + ", " + deliveryDescription(delivery); productPriceField.value = description + ", :" + selectedPackage.price; priceDisplay.textContent = "$" + selectedPackage.price; priceDisplay.classList.remove("lwf-price-prompt"); addToCartButton.disabled = false; addToCartButton.textContent = "Add to Cart"; } deliveryInputs.forEach(function (input) { input.addEventListener("change", updateSelection); }); packageSelect.addEventListener("change", updateSelection); updateSelection(); })();
  • Body Balance and OsteoProCare make up the different Baseline Packs

    Baseline Packs (Body Balance™ & OsteoProCare®)

    Body Balance™ and OsteoProCare® together in four money-saving pack options

    Select a pack... Baseline — 2 Body Balance™ + 1 OsteoProCare® — $104.95 Baseline Plus — 4 Body Balance™ + 1 OsteoProCare® — $156.95 Baseline Family — 4 Body Balance™ + 2 OsteoProCare® — $194.95 Baseline Ultra — 8 Body Balance™ + 2 OsteoProCare® — $277.95
    Delivery

    Autoship is optional and can be changed or canceled at any time

    Price (Price will show when you make your selection)

    Shipping is calculated separately

    Ships Directly from Youngevity
    Your order is fulfilled by the manufacturer, not from third-party reseller inventory.   What’s this? ↓

    (function () { const formBox = document.getElementById("lwf-baseline-form"); if (!formBox) { return; } const packageSelect = formBox.querySelector("#baseline-package"); const productPriceField = formBox.querySelector("#baseline-productpr"); const priceDisplay = formBox.querySelector("#baseline-price"); const addToCartButton = formBox.querySelector("#baseline-add-to-cart"); const deliveryInputs = formBox.querySelectorAll( 'input[name="baseline-delivery"]' ); /* --------------------------------------------------------- Package options --------------------------------------------------------- */ const packages = { baseline: { name: "Baseline", sku: "USLF000021V", description: "2 Body Balance + 1 OsteoProCare", price: "104.95" }, plus: { name: "Baseline Plus", sku: "USLF080266", description: "4 Body Balance + 1 OsteoProCare", price: "156.95" }, family: { name: "Baseline Family", sku: "USLF000020V", description: "4 Body Balance + 2 OsteoProCare", price: "194.95" }, ultra: { name: "Baseline Ultra", sku: "USLF080268", description: "8 Body Balance + 2 OsteoProCare", price: "277.95" } }; /* --------------------------------------------------------- Get selected delivery option --------------------------------------------------------- */ function selectedDelivery() { const selected = formBox.querySelector( 'input[name="baseline-delivery"]:checked' ); return selected ? selected.value : ""; } /* --------------------------------------------------------- Standard delivery wording --------------------------------------------------------- */ function deliveryDescription(delivery) { if (delivery === "monthly") { return "autoship monthly"; } if (delivery === "two-months") { return "autoship every 2 months"; } return "one-time purchase"; } /* --------------------------------------------------------- Build complete Mals cart description and price --------------------------------------------------------- */ function updateSelection() { const packageKey = packageSelect.value; const delivery = selectedDelivery(); if (!packageKey) { productPriceField.value = ""; priceDisplay.textContent = "(Price will show when you make your selection)"; priceDisplay.classList.add( "lwf-price-prompt" ); addToCartButton.disabled = true; addToCartButton.textContent = "Add to Cart"; return; } const selectedPackage = packages[packageKey]; if (!selectedPackage) { return; } const description = selectedPackage.name + ", " + selectedPackage.description + ", SKU " + selectedPackage.sku + ", " + deliveryDescription(delivery); productPriceField.value = description + ", :" + selectedPackage.price; priceDisplay.textContent = "$" + selectedPackage.price; priceDisplay.classList.remove( "lwf-price-prompt" ); addToCartButton.disabled = false; addToCartButton.textContent = "Add to Cart"; } /* --------------------------------------------------------- Event listeners --------------------------------------------------------- */ deliveryInputs.forEach( function (input) { input.addEventListener( "change", updateSelection ); } ); packageSelect.addEventListener( "change", updateSelection ); /* --------------------------------------------------------- Initialize --------------------------------------------------------- */ updateSelection(); })();
  • Bottle of Body Balance whole-food nutritional supplement

    Body Balance

    An aloe-based whole-food nutritional supplement featuring nine sea vegetables, fruit concentrates, and plant-derived nutrients in liquid and powder forms for convenient daily use

    Formula
    Select a quantity...
    Delivery

    Autoship is optional and can be changed or canceled at any time

    Price (Price will show when you make your selection)

    Shipping is calculated separately

    Ships Directly from Youngevity
    Your order is fulfilled by the manufacturer, not from third-party reseller inventory.   What’s this? ↓

    (function () { const formBox = document.getElementById("lwf-body-balance-form"); if (!formBox) { return; } const packageSelect = formBox.querySelector("#bb-package"); const productPriceField = formBox.querySelector("#bb-productpr"); const priceDisplay = formBox.querySelector("#bb-price"); const addToCartButton = formBox.querySelector("#bb-add-to-cart"); const formulaInputs = formBox.querySelectorAll( 'input[name="bb-formula"]' ); const deliveryInputs = formBox.querySelectorAll( 'input[name="bb-delivery"]' ); /* --------------------------------------------------------- Product identification --------------------------------------------------------- */ const productNames = { liquid: "Body Balance liquid", powder: "Body Balance powder stick packs" }; /* --------------------------------------------------------- Package options --------------------------------------------------------- */ const packages = { liquid: [ { label: "1 Quart", description: "(1) quart / 960 mL", sku: "USLF000130", price: "36.95" }, { label: "2 Quarts — Save $8.95", description: "(2) quarts / 960 mL each", sku: "USLF000132", price: "64.95" }, { label: "3 Quarts — Save $8.95", description: "(3) quarts / 960 mL each", sku: "USLF000130", price: "101.90" }, { label: "4 Quarts — Save $27.85", description: "(4) quarts / 960 mL each", sku: "USLF000135", price: "119.95" }, { label: "6 Quarts — Save $48.75", description: "(6) quarts / 960 mL each", sku: "USLF080271", price: "172.95" }, { label: "8 Quarts — Save $85.65", description: "(8) quarts / 960 mL each", sku: "USLF000145", price: "209.95" } ], powder: [ { label: "1-Quart Supply — 8 Stick Packets", description: "(1 pouch) 8 stick packets, 1-quart equivalent", sku: "USLF070031", price: "36.95" }, { label: "2-Quart Supply — 16 Stick Packets", description: "(2 pouches) 16 stick packets, 2-quart equivalent", sku: "USLF070032", price: "63.95" }, { label: "4-Quart Supply — 32 Stick Packets", description: "(4 pouches) 32 stick packets, 4-quart equivalent", sku: "USLF070033", price: "116.95" }, { label: "8-Quart Supply — 64 Stick Packets — Lowest cost per quart", description: "(8 pouches) 64 stick packets, 8-quart equivalent", sku: "USLF070034", price: "206.95" } ] }; /* --------------------------------------------------------- Get selected radio-button value --------------------------------------------------------- */ function selectedValue(name) { const selected = formBox.querySelector( 'input[name="' + name + '"]:checked' ); return selected ? selected.value : ""; } /* --------------------------------------------------------- Standard delivery wording --------------------------------------------------------- */ function deliveryDescription(delivery) { if (delivery === "monthly") { return "autoship monthly"; } if (delivery === "two-months") { return "autoship every 2 months"; } return "one-time purchase"; } /* --------------------------------------------------------- Rebuild quantity menu when formula changes --------------------------------------------------------- */ function populatePackages() { const formula = selectedValue("bb-formula"); const availablePackages = packages[formula] || []; packageSelect.innerHTML = ""; const promptOption = document.createElement("option"); promptOption.value = ""; promptOption.textContent = "Select a quantity…"; promptOption.disabled = true; promptOption.selected = true; packageSelect.appendChild( promptOption ); availablePackages.forEach( function (item, index) { const option = document.createElement("option"); option.value = String(index); option.textContent = item.label; packageSelect.appendChild( option ); } ); updateSelection(); } /* --------------------------------------------------------- Build complete Mals cart description and price --------------------------------------------------------- */ function updateSelection() { const formula = selectedValue("bb-formula"); const delivery = selectedValue("bb-delivery"); if (packageSelect.value === "") { productPriceField.value = ""; priceDisplay.textContent = "(Price will show when you make your selection)"; priceDisplay.classList.add( "lwf-price-prompt" ); addToCartButton.disabled = true; addToCartButton.textContent = "Add to Cart"; return; } const packageIndex = Number(packageSelect.value); const selectedPackage = packages[formula][packageIndex]; if (!selectedPackage) { return; } const description = productNames[formula] + ", " + selectedPackage.description + ", SKU " + selectedPackage.sku + ", " + deliveryDescription(delivery); productPriceField.value = description + ", :" + selectedPackage.price; priceDisplay.textContent = "$" + selectedPackage.price; priceDisplay.classList.remove( "lwf-price-prompt" ); addToCartButton.disabled = false; addToCartButton.textContent = "Add to Cart"; } /* --------------------------------------------------------- Event listeners --------------------------------------------------------- */ formulaInputs.forEach( function (input) { input.addEventListener( "change", populatePackages ); } ); deliveryInputs.forEach( function (input) { input.addEventListener( "change", updateSelection ); } ); packageSelect.addEventListener( "change", updateSelection ); /* --------------------------------------------------------- Initialize --------------------------------------------------------- */ populatePackages(); })();
  • A bottle of Body Balance 2.0

    Body Balance™ 2.0

    A whole-food liquid blend of aloe vera, nine sea vegetables, flaxseed and elderberry for everyday nutritional support

    Select a quantity... 1 Bottle 2 Bottles — Save $8.95 3 Bottles — Save $8.95 4 Bottles — Save $28.55 8 Bottles — Save $86.65
    Delivery

    Autoship is optional and can be changed or canceled at any time

    Price (Price will show when you make your selection)

    Shipping is calculated separately

    Ships Directly from Youngevity
    Your order is fulfilled by the manufacturer, not from third-party reseller inventory.   What’s this? ↓

    (function () { const formBox = document.getElementById("lwf-body-balance-2-0-form"); if (!formBox) { return; } const packageSelect = formBox.querySelector("#bb20-package"); const productPriceField = formBox.querySelector("#bb20-productpr"); const priceDisplay = formBox.querySelector("#bb20-price"); const addToCartButton = formBox.querySelector("#bb20-add-to-cart"); const deliveryInputs = formBox.querySelectorAll( 'input[name="bb20-delivery"]' ); /* --------------------------------------------------------- Product identification --------------------------------------------------------- */ const productName = "Body Balance 2.0"; /* --------------------------------------------------------- Package options --------------------------------------------------------- */ const packages = { one: { sku: "USLF000140", description: "(1) bottle", price: "38.95" }, two: { sku: "USLF000142", description: "(2) bottles", price: "68.95" }, three: { sku: "USLF000140", description: "(3) bottles", price: "107.90" }, four: { sku: "USLF000144", description: "(4) bottles", price: "127.25" }, eight: { sku: "USLF000148", description: "(8) bottles", price: "224.95" } }; /* --------------------------------------------------------- Get selected delivery option --------------------------------------------------------- */ function selectedDelivery() { const selected = formBox.querySelector( 'input[name="bb20-delivery"]:checked' ); return selected ? selected.value : ""; } /* --------------------------------------------------------- Standard delivery wording --------------------------------------------------------- */ function deliveryDescription(delivery) { if (delivery === "monthly") { return "autoship monthly"; } if (delivery === "two-months") { return "autoship every 2 months"; } return "one-time purchase"; } /* --------------------------------------------------------- Build complete Mals cart description and price --------------------------------------------------------- */ function updateSelection() { const packageKey = packageSelect.value; const delivery = selectedDelivery(); /* No quantity selected yet */ if (!packageKey) { productPriceField.value = ""; priceDisplay.textContent = "(Price will show when you make your selection)"; priceDisplay.classList.add( "lwf-price-prompt" ); addToCartButton.disabled = true; addToCartButton.textContent = "Add to Cart"; return; } const selectedPackage = packages[packageKey]; if (!selectedPackage) { return; } /* Cart wording: Product name + quantity/package description + manufacturer SKU + selected delivery schedule Price does not change for autoship. */ const description = productName + ", " + selectedPackage.description + ", SKU " + selectedPackage.sku + ", " + deliveryDescription(delivery); /* Mals productpr format: full description, :price */ productPriceField.value = description + ", :" + selectedPackage.price; /* Display selected price */ priceDisplay.textContent = "$" + selectedPackage.price; priceDisplay.classList.remove( "lwf-price-prompt" ); /* Enable Add to Cart */ addToCartButton.disabled = false; addToCartButton.textContent = "Add to Cart"; } /* --------------------------------------------------------- Event listeners --------------------------------------------------------- */ deliveryInputs.forEach( function (input) { input.addEventListener( "change", updateSelection ); } ); packageSelect.addEventListener( "change", updateSelection ); /* --------------------------------------------------------- Initialize --------------------------------------------------------- */ updateSelection(); })();
  • A box of TrueClease Sticks

    TrueCleanse

    A convenient drink mix combining fiber, B vitamins, enzymes and an unusually diverse blend of botanicals

    Select a quantity... 1 Box — 10 Stick Packets 2 Boxes — 10 Stick Packets Each 3 Boxes — 10 Stick Packets Each 4 Boxes — 10 Stick Packets Each
    Delivery

    Autoship is optional and can be changed or canceled at any time

    Price (Price will show when you make your selection)

    Shipping is calculated separately

    Ships Directly from Youngevity
    Your order is fulfilled by the manufacturer, not from third-party reseller inventory.   What’s this? ↓

    (function () { const formBox = document.getElementById("lwf-truecleanse-form"); if (!formBox) { return; } const packageSelect = formBox.querySelector("#truecleanse-package"); const productPriceField = formBox.querySelector("#truecleanse-productpr"); const priceDisplay = formBox.querySelector("#truecleanse-price"); const addToCartButton = formBox.querySelector("#truecleanse-add-to-cart"); const deliveryInputs = formBox.querySelectorAll( 'input[name="truecleanse-delivery"]' ); /* --------------------------------------------------------- Product identification --------------------------------------------------------- */ const productName = "TrueCleanse"; /* --------------------------------------------------------- Package options --------------------------------------------------------- */ const packages = { one: { sku: "TL006PROD", description: "(1) box / 10 stick packets", price: "59.95" }, two: { sku: "TL006PROD", description: "(2) boxes / 10 stick packets each", price: "119.90" }, three: { sku: "TL006PROD", description: "(3) boxes / 10 stick packets each", price: "179.85" }, four: { sku: "TL006PROD", description: "(4) boxes / 10 stick packets each", price: "239.80" } }; /* --------------------------------------------------------- Get selected delivery option --------------------------------------------------------- */ function selectedDelivery() { const selected = formBox.querySelector( 'input[name="truecleanse-delivery"]:checked' ); return selected ? selected.value : ""; } /* --------------------------------------------------------- Standard delivery wording --------------------------------------------------------- */ function deliveryDescription(delivery) { if (delivery === "monthly") { return "autoship monthly"; } if (delivery === "two-months") { return "autoship every 2 months"; } return "one-time purchase"; } /* --------------------------------------------------------- Build complete Mals cart description and price --------------------------------------------------------- */ function updateSelection() { const packageKey = packageSelect.value; const delivery = selectedDelivery(); /* No quantity selected yet */ if (!packageKey) { productPriceField.value = ""; priceDisplay.textContent = "(Price will show when you make your selection)"; priceDisplay.classList.add( "lwf-price-prompt" ); addToCartButton.disabled = true; addToCartButton.textContent = "Add to Cart"; return; } const selectedPackage = packages[packageKey]; if (!selectedPackage) { return; } /* Cart description contains: Product + quantity/package description + manufacturer SKU + selected delivery schedule Price stays the same whether the customer chooses one-time purchase or autoship. */ const description = productName + ", " + selectedPackage.description + ", SKU " + selectedPackage.sku + ", " + deliveryDescription(delivery); /* Mals productpr format: full description, :price */ productPriceField.value = description + ", :" + selectedPackage.price; /* Display selected price */ priceDisplay.textContent = "$" + selectedPackage.price; priceDisplay.classList.remove( "lwf-price-prompt" ); /* Enable Add to Cart */ addToCartButton.disabled = false; addToCartButton.textContent = "Add to Cart"; } /* --------------------------------------------------------- Event listeners --------------------------------------------------------- */ deliveryInputs.forEach( function (input) { input.addEventListener( "change", updateSelection ); } ); packageSelect.addEventListener( "change", updateSelection ); /* --------------------------------------------------------- Initialize --------------------------------------------------------- */ updateSelection(); })();
  • A box of YGY Regulate

    YGY Regulate™ Daily Fiber

    A convenient daily fiber powder with prebiotic fibers, digestive enzymes, probiotics and botanical support for healthy digestion and metabolism

    Select a quantity... 1 Pouch — 30 Packets 2 Pouches — 30 Packets Each 3 Pouches — 30 Packets Each 4 Pouches — 30 Packets Each
    Delivery

    Autoship is optional and can be changed or canceled at any time

    Price (Price will show when you make your selection)

    Shipping is calculated separately

    Ships Directly from Youngevity
    Your order is fulfilled by the manufacturer, not from third-party reseller inventory.   What’s this? ↓

    (function () { const formBox = document.getElementById("lwf-ygy-regulate-daily-fiber-form"); if (!formBox) { return; } const packageSelect = formBox.querySelector("#ygy-regulate-daily-fiber-package"); const productPriceField = formBox.querySelector("#ygy-regulate-daily-fiber-productpr"); const priceDisplay = formBox.querySelector("#ygy-regulate-daily-fiber-price"); const addToCartButton = formBox.querySelector("#ygy-regulate-daily-fiber-add-to-cart"); const deliveryInputs = formBox.querySelectorAll( 'input[name="ygy-regulate-daily-fiber-delivery"]' ); /* --------------------------------------------------------- Product identification --------------------------------------------------------- */ const productName = "YGY Regulate Daily Fiber"; /* --------------------------------------------------------- Package options --------------------------------------------------------- */ const packages = { one: { sku: "USYG70003", description: "(1) pouch / 30 packets", price: "55.95" }, two: { sku: "USYG70003", description: "(2) pouches / 30 packets each", price: "111.90" }, three: { sku: "USYG70003", description: "(3) pouches / 30 packets each", price: "167.85" }, four: { sku: "USYG70003", description: "(4) pouches / 30 packets each", price: "223.80" } }; /* --------------------------------------------------------- Get selected delivery option --------------------------------------------------------- */ function selectedDelivery() { const selected = formBox.querySelector( 'input[name="ygy-regulate-daily-fiber-delivery"]:checked' ); return selected ? selected.value : ""; } /* --------------------------------------------------------- Standard delivery wording --------------------------------------------------------- */ function deliveryDescription(delivery) { if (delivery === "monthly") { return "autoship monthly"; } if (delivery === "two-months") { return "autoship every 2 months"; } return "one-time purchase"; } /* --------------------------------------------------------- Build complete Mals cart description and price --------------------------------------------------------- */ function updateSelection() { const packageKey = packageSelect.value; const delivery = selectedDelivery(); /* No quantity selected yet */ if (!packageKey) { productPriceField.value = ""; priceDisplay.textContent = "(Price will show when you make your selection)"; priceDisplay.classList.add( "lwf-price-prompt" ); addToCartButton.disabled = true; addToCartButton.textContent = "Add to Cart"; return; } const selectedPackage = packages[packageKey]; if (!selectedPackage) { return; } /* Cart description contains: Product + quantity/package description + manufacturer SKU + selected delivery schedule Price stays the same whether the customer chooses one-time purchase or autoship. */ const description = productName + ", " + selectedPackage.description + ", SKU " + selectedPackage.sku + ", " + deliveryDescription(delivery); /* Mals productpr format: full description, :price */ productPriceField.value = description + ", :" + selectedPackage.price; /* Display selected price */ priceDisplay.textContent = "$" + selectedPackage.price; priceDisplay.classList.remove( "lwf-price-prompt" ); /* Enable Add to Cart */ addToCartButton.disabled = false; addToCartButton.textContent = "Add to Cart"; } /* --------------------------------------------------------- Event listeners --------------------------------------------------------- */ deliveryInputs.forEach( function (input) { input.addEventListener( "change", updateSelection ); } ); packageSelect.addEventListener( "change", updateSelection ); /* --------------------------------------------------------- Initialize --------------------------------------------------------- */ updateSelection(); })();
  • A canister of Super Greens powder

    Youngevity Super Greens™

    A powdered blend of organic greens, fruits, fermented plant foods, fiber, probiotics, and digestive enzymes for an easy way to add more plant variety to your day

    Select a quantity... 1 Canister — 257 g (9.07 oz.) 2 Canisters — 257 g (9.07 oz.) Each 3 Canisters — 257 g (9.07 oz.) Each 4 Canisters — 257 g (9.07 oz.) Each
    Delivery

    Autoship is optional and can be changed or canceled at any time

    Price (Price will show when you make your selection)

    Shipping is calculated separately

    Ships Directly from Youngevity
    Your order is fulfilled by the manufacturer, not from third-party reseller inventory.   What’s this? ↓

    (function () { const formBox = document.getElementById("lwf-ygy-super-greens-form"); if (!formBox) { return; } const packageSelect = formBox.querySelector("#ygy-super-greens-package"); const productPriceField = formBox.querySelector("#ygy-super-greens-productpr"); const priceDisplay = formBox.querySelector("#ygy-super-greens-price"); const addToCartButton = formBox.querySelector("#ygy-super-greens-add-to-cart"); const deliveryInputs = formBox.querySelectorAll( 'input[name="ygy-super-greens-delivery"]' ); /* --------------------------------------------------------- Product identification --------------------------------------------------------- */ const productName = "Youngevity Super Greens"; /* --------------------------------------------------------- Package options --------------------------------------------------------- */ const packages = { one: { sku: "USYG300001", description: "(1) 257 g (9.07 oz.) canister", price: "51.95" }, two: { sku: "USYG300001", description: "(2) 257 g (9.07 oz.) canisters", price: "103.90" }, three: { sku: "USYG300001", description: "(3) 257 g (9.07 oz.) canisters", price: "155.85" }, four: { sku: "USYG300001", description: "(4) 257 g (9.07 oz.) canisters", price: "207.80" } }; /* --------------------------------------------------------- Get selected delivery option --------------------------------------------------------- */ function selectedDelivery() { const selected = formBox.querySelector( 'input[name="ygy-super-greens-delivery"]:checked' ); return selected ? selected.value : ""; } /* --------------------------------------------------------- Standard delivery wording --------------------------------------------------------- */ function deliveryDescription(delivery) { if (delivery === "monthly") { return "autoship monthly"; } if (delivery === "two-months") { return "autoship every 2 months"; } return "one-time purchase"; } /* --------------------------------------------------------- Build complete Mals cart description and price --------------------------------------------------------- */ function updateSelection() { const packageKey = packageSelect.value; const delivery = selectedDelivery(); /* No quantity selected yet */ if (!packageKey) { productPriceField.value = ""; priceDisplay.textContent = "(Price will show when you make your selection)"; priceDisplay.classList.add( "lwf-price-prompt" ); addToCartButton.disabled = true; addToCartButton.textContent = "Add to Cart"; return; } const selectedPackage = packages[packageKey]; if (!selectedPackage) { return; } /* Cart description contains: Product + quantity/package description + manufacturer SKU + selected delivery schedule Price stays the same whether the customer chooses one-time purchase or autoship. */ const description = productName + ", " + selectedPackage.description + ", SKU " + selectedPackage.sku + ", " + deliveryDescription(delivery); /* Mals productpr format: full description, :price */ productPriceField.value = description + ", :" + selectedPackage.price; /* Display selected price */ priceDisplay.textContent = "$" + selectedPackage.price; priceDisplay.classList.remove( "lwf-price-prompt" ); /* Enable Add to Cart */ addToCartButton.disabled = false; addToCartButton.textContent = "Add to Cart"; } /* --------------------------------------------------------- Event listeners --------------------------------------------------------- */ deliveryInputs.forEach( function (input) { input.addEventListener( "change", updateSelection ); } ); packageSelect.addEventListener( "change", updateSelection ); /* --------------------------------------------------------- Initialize --------------------------------------------------------- */ updateSelection(); })();