Showing the single result
-

Concentrated antioxidant support from turmeric, quercetin and Japanese knotweed extract in a convenient daily capsule
/* Cell Shield RTQ purchase-form refinements, scoped to this form only. */
#lwf-cell-shield-rtq-form .lwf-select {
appearance: auto;
-webkit-appearance: menulist;
-moz-appearance: menulist;
cursor: pointer;
}
#lwf-cell-shield-rtq-form .lwf-add-to-cart {
background: #164421;
color: #fff;
font-family: "Work Sans", sans-serif;
font-weight: 500;
text-transform: uppercase;
letter-spacing: .03em;
border-radius: 3px;
cursor: pointer;
}
#lwf-cell-shield-rtq-form .lwf-add-to-cart:hover {
background: #235d30;
}
#lwf-cell-shield-rtq-form .lwf-add-to-cart:focus-visible {
outline: 2px solid #164421;
outline-offset: 3px;
}
(function () {
const formBox = document.getElementById("lwf-cell-shield-rtq-form");
if (!formBox) return;
const packageSelect = formBox.querySelector("#rtq-package");
const productPriceField = formBox.querySelector("#rtq-productpr");
const priceDisplay = formBox.querySelector("#rtq-price");
const addToCartButton = formBox.querySelector("#rtq-add-to-cart");
const deliveryInputs = formBox.querySelectorAll('input[name="rtq-delivery"]');
const productName = "Cell Shield RTQ";
const packages = {
one: { sku: "21203", description: "(1) bottle / 60 capsules", price: "48.95" },
two: { sku: "21203", description: "(2) bottles / 60 capsules each", price: "97.90" },
three: { sku: "21203", description: "(3) bottles / 60 capsules each", price: "146.85" },
four: { sku: "21203C", description: "(4) bottles / 60 capsules each", price: "180.95" }
};
function selectedDelivery() {
const selected = formBox.querySelector('input[name="rtq-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 selectedPackage = packages[packageSelect.value];
if (!selectedPackage) {
productPriceField.value = "";
priceDisplay.textContent = "(Price will show when you make your selection)";
priceDisplay.classList.add("lwf-price-prompt");
addToCartButton.disabled = true;
return;
}
const description = productName + ", " + selectedPackage.description +
", SKU " + selectedPackage.sku + ", " +
deliveryDescription(selectedDelivery());
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();
})();