Harness the Power of Frequency with Qi Coils for Ageless Skin
Order Now
Unlock Natural Skincare Solutions
Transform Your Skin with Qi Coils
![Skin Care and Anti-Aging∣ Qi Life Store (1) Skin Care and Anti-Aging∣ Qi Life Store (1)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/skin-journet-1.png?v=1716806217)
Effortless Skin Rejuvenation
Reduce wrinkles and fine lines, improve elasticity, and retain moisture for a youthful glow.
![Skin Care and Anti-Aging∣ Qi Life Store (2) Skin Care and Anti-Aging∣ Qi Life Store (2)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/skin-journet-2_4fef163a-de25-4746-9f80-3ee2b519bdc1.png?v=1716877188)
Detoxify and Soothe
Cleanse impurities, calm and soothe your skin, and enhance your natural radiance.
![Skin Care and Anti-Aging∣ Qi Life Store (3) Skin Care and Anti-Aging∣ Qi Life Store (3)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/skin-journet-3.png?v=1716806253)
Boost Circulation and Vitality
Improve blood circulation, reduce signs of aging, and keep your skin healthy and vibrant.
Discover How Qi Coils Can Transform Your Skincare and Anti-Aging Routine
Qi Coils for skincare and anti-aging are innovative devices that harness the power of frequency and magnetic energy to optimize your skin's natural processes, promoting overall skin health and youthful radiance. By emitting specific frequencies tailored to rejuvenate skin, enhance elasticity, and promote cellular balance, Qi Coils provide a holistic approach to achieving your skincare and anti-aging goals.
view more
Qi Coil Mini
$399 $2,605
Add to cart
Qi Coil Mini Twin
$1,799 $2,605
Add to cart
Qi Coil 3s
$3,495 $9,452
Add to cart
Qi Coil Max
$5,995 $10,983
Add to cart
Best Selling Skin Care Frequencies
Hautpflegekollektion
$97 $199
Add to cart
$97 $299
Add to cart
Anti-Aging-Therapie: Hautpflege-, Entgiftungs- und Verjüngungsfrequenzen
$97 $299
Add to cart
IVM-Grundpaket (KOSTENLOS)
$197 $299
Add to cart
View All Skin Care Frequencies
Advanced Features
Wrinkle Reduction
Qi Coils stimulate collagen production, smoothing wrinkles and fine lines.
Enhanced Elasticity
Qi Coils' targeted frequencies enhance skin elasticity for a youthful complexion.
Deep Hydration
Qi Coils maintain skin hydration for a supple, moisturized complexion all day.
![Skin Care and Anti-Aging∣ Qi Life Store (27) Skin Care and Anti-Aging∣ Qi Life Store (27)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/coil-w.png?v=1714465325)
Shop Now
Skin Recovery
Qi Coils accelerate skin repair, minimizing damage and enhancing natural healing.
Stress Reduction
Qi Coils improve sleep for refreshed skin, reducing dark circles and puffiness.
Improved Sleep
Qi Coils improve sleep for refreshed skin, reducing dark circles and puffiness.
The Science Behind Qi Coils
The Science Behind Skincare and Anti-Aging Frequencies
Cellular Revitalization: Our technology acknowledges the impact of electromagnetic frequencies on skin cells, facilitating cellular communication and rejuvenation.
Harnessing Natural Energy: Specific frequencies are utilized to interact with the body's natural energy fields, promoting skin renewal and anti-aging effects.
Frequency Basics: Frequency measures the oscillation rate of waves, determining their effects on skin health and aging.
![Skin Care and Anti-Aging∣ Qi Life Store (31) Skin Care and Anti-Aging∣ Qi Life Store (31)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/frequencies_c4fed898-c9f1-41fa-b352-27b45cfd67c5.png?v=1716622580)
![Skin Care and Anti-Aging∣ Qi Life Store (32) Skin Care and Anti-Aging∣ Qi Life Store (32)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/doctor-energy.png?v=1716806494)
Diverse Effects: Different frequencies exert diverse effects on both the body and mind, allowing for tailored interventions to address specific needs and desired outcomes.
Alertness and Focus: Higher frequencies are known to stimulate alertness and enhance focus, offering potential benefits for cognitive function and productivity.
Qi Coils Application: Qi coils utilize targeted frequencies to resonate with cellular frequencies, fostering balance and harmony within the body and skin
Science and Frequencies
Embrace The Science Of Frequencies
Revolutionary Neuro-Programming:Our system features up to 5000 holographic data signals per program, significantly more advanced than standard offerings, to induce a broad range of specific states.
Molecular Mapping Technology: By analyzing the unique properties of molecules, we create precise frequency profiles to mimic their effects.
Brainwave EEG sampling: Our system goes beyond typical brainwave states, programming the mind for specific states like calmness, confidence, and creativity.
Electromagnetic Signature Harmonization: We decode and align the electromagnetic signatures of substances and cells for profound well-being improvements.
Order Now
Our Higher Quantum Anti-Aging Frequencies are...
The Future of Skin Care
Simple, Safe, and Convenient
The frequencies can be enjoyed on their own, with Qi Coils or both at the same time. Includes MP3 download and it will be unlocked in Qi Coil App to use it forever.
Non-invasive, Natural
Our PEMF technology offers a natural transformation without resorting to invasive methods, providing a non-invasive alternative for self-enhancement.
Boosts effectiveness of skincare products
Already using other beauty products? Great! Use these frequencies and energize them for even more effectiveness.
How will this work for you?
![Skin Care and Anti-Aging∣ Qi Life Store (37) Skin Care and Anti-Aging∣ Qi Life Store (37)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/how-this-work_709eb30a-76c9-4951-afd5-c941ac3c2b9e.png?v=1716627501)
Science has unveiled the remarkable connection between our biology and electromagnetic frequencies. By tapping into this understanding, our technology enables instantaneous communication with your cells, initiating a cascade of positive effects. With an array of frequencies at your disposal, you gain unprecedented autonomy to sculpt the future you envision. Embrace the transformative journey towards holistic well-being and unlock your fullest potential with our innovative solution.
Benefits of Using PEMF Technology
Experience the multifaceted benefits of PEMF technology, designed to enhance your overall well-being. Our technology offers a natural approach to rejuvenation, promoting cellular health and skin revitalization without the need for invasive procedures. Enjoy improved sleep quality with lower frequencies inducing deep relaxation, while higher frequencies enhance mental clarity and focus.
Tailor your frequency usage to address specific health and beauty concerns, ensuring a holistic approach to self-care. Additionally, our technology amplifies the effectiveness of other skincare products, maximizing their benefits and enhancing your skincare routine. Embrace the transformative power of PEMF technology and embark on a journey towards a healthier, more vibrant you.
![Skin Care and Anti-Aging∣ Qi Life Store (38) Skin Care and Anti-Aging∣ Qi Life Store (38)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/pemf-tech.png?v=1716628001)
Our Technology Has Transformed 1000's of Lives...
I been using this frequency for a week now and I notice there had been great improvement with my skin"
![Skin Care and Anti-Aging∣ Qi Life Store (39) Skin Care and Anti-Aging∣ Qi Life Store (39)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/lauren-b_9062bf1e-93d3-4f3c-a1e8-058f9e67889b.png?v=1716629802)
Lauren B.
I been using this frequency for a week now and I notice there had been great improvement with my skin"
![Skin Care and Anti-Aging∣ Qi Life Store (40) Skin Care and Anti-Aging∣ Qi Life Store (40)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/debbie.png?v=1716630221)
Debbie W.
I been using this frequency for a week now and I notice there had been great improvement with my skin"
![Skin Care and Anti-Aging∣ Qi Life Store (41) Skin Care and Anti-Aging∣ Qi Life Store (41)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/lauren-b_9062bf1e-93d3-4f3c-a1e8-058f9e67889b.png?v=1716629802)
Lauren B.
I been using this frequency for a week now and I notice there had been great improvement with my skin"
![Skin Care and Anti-Aging∣ Qi Life Store (42) Skin Care and Anti-Aging∣ Qi Life Store (42)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/debbie.png?v=1716630221)
Debbie W.
Healing The World Together
![Skin Care and Anti-Aging∣ Qi Life Store (43) Skin Care and Anti-Aging∣ Qi Life Store (43)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/dr-hoy.png?v=1663728539)
Dr. Joy Kong, MD
Triple Board-Certified Stem Cell Specialist
![Skin Care and Anti-Aging∣ Qi Life Store (44) Skin Care and Anti-Aging∣ Qi Life Store (44)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/dr-alan-bauman.png?v=1667294763)
Dr. Alan Bauman, MD, ABHRS, IAHRS, FISHRS
Hair Transplant Surgeon
![Skin Care and Anti-Aging∣ Qi Life Store (45) Skin Care and Anti-Aging∣ Qi Life Store (45)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/Dr-Jason-Chiriano.png?v=1664872608)
Dr. Jason Chiriano, DO
Founder of Vivalife Healing Centers
![Skin Care and Anti-Aging∣ Qi Life Store (46) Skin Care and Anti-Aging∣ Qi Life Store (46)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/dr-isaac-jones.jpg?v=1698738548)
Dr. Isaac Jones
Founder of Health Experts Alliance
As Seen On
![Skin Care and Anti-Aging∣ Qi Life Store (47) Skin Care and Anti-Aging∣ Qi Life Store (47)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/forbes_053b2bee-2d27-451b-9f4d-e255f696a687.png?v=1714474265)
![Skin Care and Anti-Aging∣ Qi Life Store (48) Skin Care and Anti-Aging∣ Qi Life Store (48)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/nfl.png?v=1714474399)
![Skin Care and Anti-Aging∣ Qi Life Store (49) Skin Care and Anti-Aging∣ Qi Life Store (49)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/shift.png?v=1714474423)
![Skin Care and Anti-Aging∣ Qi Life Store (50) Skin Care and Anti-Aging∣ Qi Life Store (50)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/coast.png?v=1714474441)
Limited Time Offer : Act Now!
Don't miss out! We're offering a special discount for a limited time only. Plus, stock is limited – once they're gone, they're gone! Secure your Qi Coil today and embark on a journey of improved wellness.
Order Now
Ready to transform?
Elevate Your Skincare Routine Today
Harness the power of electromagnetic frequencies with our cutting-edge PEMF technology. Instantly connect with your skin cells and personalize your beauty regimen. Achieve radiant, rejuvenated skin naturally and non-invasively. Join countless others in discovering the transformative benefits of our innovative technology.
Order Now
![Skin Care and Anti-Aging∣ Qi Life Store (51) Skin Care and Anti-Aging∣ Qi Life Store (51)](https://i0.wp.com/cdn.shopify.com/s/files/1/0161/6340/5878/files/routine-today.png?v=1716806314)
Book Product Sales Call
For product purchase or financing inquiries only.
For help with setup, troubleshooting, technical support
Track Your Order? CLICK HERE >>
Verwenden Sie die Pfeiltasten nach links/rechts, um in der Diashow zu navigieren, oder wischen Sie nach links/rechts, wenn Sie ein Mobilgerät verwenden
' } else{ pdpTemplate += '
' } pdpTemplate += '
' pdpTemplate += '' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
'+recurpay.settings.translations.premium_subscription_label+'
' pdpTemplate += '
'+recurpay.settings.translations.premium_subscription_label_description+'
' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
' if(recurpay.settings.translations.premium_frequency_dropdown_label != "" && recurpay.settings.translations.premium_frequency_dropdown_label != null && recurpay.settings.translations.premium_frequency_dropdown_label != undefined){ pdpTemplate += '
'+recurpay.settings.translations.premium_frequency_dropdown_label+'
' pdpTemplate += '' } else{ pdpTemplate += '' } pdpTemplate += '
'+getPlanDesc+'
' if(recurpay.settings.translations.promotion_offer_applied_label != "" || recurpay.settings.translations.promotion_view_offer_applied_label != ""){ pdpTemplate += '
' if(recurpay.settings.translations.promotion_offer_applied_label != ""){ pdpTemplate += ''+recurpay.settings.translations.promotion_offer_applied_label+'' } if(recurpay.settings.translations.promotion_view_offer_applied_label != ""){ pdpTemplate += ''+recurpay.settings.translations.promotion_view_offer_applied_label+'' } pdpTemplate += '
' } pdpTemplate += '
' pdpTemplate += '
'+recurpay.settings.translations.premium_one_time_saving_icon+'' pdpTemplate += '
' pdpTemplate += ''+recurpay.settings.translations.premium_one_time_saving_msg+'' pdpTemplate += '' pdpTemplate += ''+recurpay.settings.translations.premium_one_time_discount_label+'' pdpTemplate += ''+recurpay.settings.translations.premium_one_time_saving_label+'' pdpTemplate += '
' pdpTemplate += '
'+recurpay.settings.translations.premium_subscription_saving_icon+'' pdpTemplate += '
' pdpTemplate += ''+recurpay.settings.translations.premium_subscription_saving_msg+'' pdpTemplate += ''+recurpay.settings.translations.premium_subscription_discount_label+'' pdpTemplate += ''+recurpay.settings.translations.premium_subscription_saving_label+'' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += '
'+recurpay.settings.translations.premium_onetime_label+'
' pdpTemplate += '
' pdpTemplate += '
' pdpTemplate += ''; pdpTemplate += ''; pdpTemplate += ''; if(recurpay.checkout == "shopify"){ pdpTemplate += ''; } pdpTemplate = pdpTemplate.replaceAll('[[SAVING_AMOUNT]]', ''); pdpTemplate = pdpTemplate.replaceAll('[[DISCOUNT_PERCENTAGE]]', ''); return pdpTemplate; } if($(pdpSelector).length <= 0){ if (window.location.href.indexOf("/products/") > -1) { if($(atcFormSelector).find(atcSelector).filter(':visible').length){ if($(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('display') == 'flex' && $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('flex-direction') == 'row'){ $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().before('
'); } else if($(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('display') == 'grid' || $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('display') == 'inline-grid'){ $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().before('
'); } else{ $(atcFormSelector).find(atcSelector).filter(':visible').first().before('
'); } if($(pdpSelector).parent().css('position') == 'fixed' || $(pdpSelector).parent().css('position') == 'sticky' || $(pdpSelector).parent().css('position') == 'absolute' ){ $(pdpSelector).parent().addClass("recurpay-z-index"); } } else if($(atcFormSelector).find(atcSelector).length){ if($(atcFormSelector).find(atcSelector).first().parent().css('display') == 'flex' && $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('flex-direction') == 'row'){ $(atcFormSelector).find(atcSelector).first().parent().before('
'); } else{ $(atcFormSelector).find(atcSelector).first().before('
'); } if($(pdpSelector).parent().css('position') == 'fixed' || $(pdpSelector).parent().css('position') == 'sticky' || $(pdpSelector).parent().css('position') == 'absolute' ){ $(pdpSelector).parent().addClass("recurpay-z-index"); } } else{ $(atcFormSelector).append('
') } } } if($(pdpSelector).length){ recurpay.allProducts = []; for(i=0; i<$(pdpSelector).length; i++){ if($(pdpSelector).eq(i).attr("data-product-id") != undefined && $(pdpSelector).eq(i).attr("data-product-available") != undefined ){ recurpay.allProducts.push($(pdpSelector).eq(i).attr("data-product-id")); } } $.ajax({ url: recurpay.pdpAPI, type: 'POST', async:true, data: {"products": recurpay.allProducts,"settings": true}, success: function(response) { if(response != "ERROR") { if(response.plans.length > 0){ recurpay.productDatas = response.plans; if(response.settings.default_purchase_option !== undefined && response.settings.default_purchase_option !== null && response.settings.default_purchase_option == 'onetime'){ recurpay.subscriptionFirst = false; } if(response.settings.translations !== null && !$.isEmptyObject(response.settings.translations)){ recurpay.settings = response.settings; document.documentElement.style.setProperty('--recurpay_primary_color', recurpay.settings.snippet_color_codes.subscription_brand_color); document.documentElement.style.setProperty('--recurpay_secondary_color', recurpay.settings.snippet_color_codes.subscription_secondary_color); document.documentElement.style.setProperty('--recurpay_button_text_color', recurpay.settings.snippet_color_codes.subscription_button_text_color); document.documentElement.style.setProperty('--recurpay_button_bg_color', recurpay.settings.snippet_color_codes.subscription_button_color); document.documentElement.style.setProperty('--recurpay_savings_bg_color', hexToRgbA(recurpay.settings.snippet_color_codes.subscription_brand_color)); } $(response.plans).each(function(){ var pdpHTML = ''; var $this = $(this); if($this[0].product.plans.length >0){ pdpHTML = recurPDP($this[0].product); fetchVariants(); var getElem = $('.recurpay-pdp-widget[data-product-id="'+$this[0].product.id+'"]'); if($(getElem).length && $(getElem).attr("data-product-available") == "true"){ $(getElem).html(pdpHTML); if(response.settings.default_purchase_option !== undefined && response.settings.default_purchase_option !== null && response.settings.default_purchase_option == 'onetime'){ offerSavings($(getElem)); } if($(getElem).attr("data-only-subscription") == "true"){ $(getElem).find(".recurpay__widget[data-recurpay-widget]").addClass("recurpay_only_subscription_widget"); } if((window.location.href.indexOf("/products/") > -1) && (window.location.href.indexOf("snippet_status=false") > -1)){ $(getElem).before("You are previewing subscriptions currently and the option below is not visible to customers on your live store. Click here if you are ready to show it your customers now.") } if($(getElem).is(":hidden") || $(getElem).width() < 220){ logEvent("product_widget","Product snippet added but needs a reverification", "warning"); } } var params = new Proxy(new URLSearchParams(window.location.search), { get: (searchParams, prop) => searchParams.get(prop), }); if(params.variant !== undefined && params.variant !== null){ var variant_id = parseInt(params.variant); let variant_data = []; variant_data.push(...$this[0].product.variants.filter(function(searchId) { return parseInt(searchId.id) == variant_id; })); if(variant_data.length >=1){ recurpay.product.selectedVariant = params.variant recurDiscountedPrice(recurpay.product.selectedVariant); } else{ recurpay.product.selectedVariant = $this[0].product.variants[0].id; recurDiscountedPrice($this[0].product.variants[0].id); } } else{ if(recurpay.product.availableVariant !== "" && recurpay.product.availableVariant !== undefined){ recurpay.product.selectedVariant = recurpay.product.availableVariant; recurDiscountedPrice(recurpay.product.availableVariant); } else{ recurpay.product.selectedVariant = $this[0].product.variants[0].id; recurDiscountedPrice($this[0].product.variants[0].id); } } } }); if(response.settings.sell_only_as_subscription !== undefined && response.settings.sell_only_as_subscription !== null){ if(response.settings.sell_only_as_subscription == true){ updateSelectors(true); } else{ updateSelectors(); } } } } } }); if(window.location.href.indexOf("/products/") > -1){ var offersModalHTML = ""; offersModalHTML += '
' offersModalHTML += '
' offersModalHTML += '
' offersModalHTML += '
' offersModalHTML += '
' offersModalHTML += '' offersModalHTML += '
' offersModalHTML += '
' offersModalHTML += '
' if($('body').length){ $('body').append(offersModalHTML); } else if($('html').length){ $('html').append(offersModalHTML); } } } else{ if((window.location.href.indexOf("/products/") > -1) && (window.location.href.indexOf("recurpay_preview=true") > -1)){ var domain_array = recurpay.shopDomainURL.split('.'); var domain_string = domain_array[0]; var recurpay_domain = 'https://' + domain_string + '.recurpay.com'; var modalHTML = ""; modalHTML += '
' modalHTML += '
' modalHTML += '
' modalHTML += '
' modalHTML += '
' modalHTML += '
' modalHTML += '
' modalHTML += '
' modalHTML += 'Note: This is not visible to your customers' modalHTML += '
' modalHTML += '
' modalHTML += '
' modalHTML += '
Looks like the subscription option is not visible on your store due to some conflict with theme. Talk to us on Live Chat to get it resolved instantly
' modalHTML += '
' modalHTML += '
' modalHTML += '' modalHTML += '' modalHTML += '
' if($('[data-recurpay-visibility-modal]').length <= 0){ if($('body').length){ $('body').append(modalHTML); } else if($('html').length){ $('html').append(modalHTML); } } } if((window.location.href.indexOf("/products/") > -1)){ logEvent("product_widget","Failed to show product snippet", "critical"); } } function ordinalSuffix(n){return["st","nd","rd"][((n+90)%100-10)%10-1]||"th"} function promotionalOffer(promoSelector){ var getQty = 1, getVariant = "", offerParams = [], getProductId = parseInt($(promoSelector).attr("data-product-id")), getVariantSelector = $(promoSelector).parents(atcFormSelector).find('[name="id"]'), getQtySelector = $(promoSelector).parents(atcFormSelector).find('[name="quantity"]'), getPlanId = parseInt($(promoSelector).find('[name="recurpay-input"] option:selected').attr('data-plan')); getDeliveryInterval = $(promoSelector).find('[name="recurpay-input"] option:selected').attr('data-delivery-interval'), getDeliveryFrequency = parseInt($(promoSelector).find('[name="recurpay-input"] option:selected').attr('data-delivery-frequency')); if(recurpay.settings.translations.promotion_popup_heading_label != ""){ $('.recurpay-preview-preview-title').html(recurpay.settings.translations.promotion_popup_heading_label); } if(getQtySelector.length){ getQty = parseInt(getQtySelector.val()); } if(getVariantSelector.length){ getVariant = parseInt(getVariantSelector.val()) } else{ getVariant = $(promoSelector).attr("data-default-variant"); } offerParams.push({ 'variant_id': getVariant, 'product_id': getProductId, 'quantity': getQty, 'plan':{ 'id': getPlanId, 'delivery_policy': { 'interval': getDeliveryInterval, 'frequency': getDeliveryFrequency } } }) $.ajax({ url: recurpay.offersAPI, type: 'POST', data: { "product_set": offerParams }, async: true, success: function(response) { if(response.success == true) { $(document).find('.offer-applied-div').show(); if(response.data.applicable_offers.length > 0){ var multipleOffer = false; var listCount = 1; var botOfferListHtml = ""; var botOfferArray = []; for(index = 0; index < response.data.applicable_offers.length; index++){ var orders = response.data.applicable_offers[index].orders; $.each(orders, function(i, order){ var order_cycle = order.cycle; if(i == 0 && index == 0){ botOfferArray[0] = order; } else if(i != 0){ botOfferArray[order_cycle] != undefined && botOfferArray[order_cycle] != null ? botOfferArray[order_cycle+1] = order : botOfferArray[order_cycle] = order } }); } botOfferArray = botOfferArray.filter(function (el){ return el != undefined && el != null && el != ""; }); $.each(botOfferArray, function(i, order){ var order_cycle_suffix = ordinalSuffix(order.cycle); if(i == 0 && recurpay.settings.translations.promotion_first_order_label != "" && order.message != ""){ botOfferListHtml += '
'; botOfferListHtml += ''+order.cycle+''+ order_cycle_suffix+'
order
' botOfferListHtml += '
' botOfferListHtml += '
'; botOfferListHtml += ''+order.message+'' botOfferListHtml += '
'; } else if(i != 0 && order.message != ""){ botOfferListHtml += '
'; botOfferListHtml += ''+order.cycle+''+ order_cycle_suffix+'
order
' botOfferListHtml += '
' botOfferListHtml += '
'; botOfferListHtml += ''+order.message+'' botOfferListHtml += '
'; } }); $(document).find('.bot-offer-wrapper').html(botOfferListHtml); } else{ $(document).find('.offer-applied-div').hide(); $(document).find('.recurpay-preview-modal-container').fadeOut(); } } else{ $(document).find('.offer-applied-div').hide(); $(document).find('.recurpay-preview-modal-container').fadeOut(); } }, error: function(error){ $(document).find('.offer-applied-div').hide(); $(document).find('.recurpay-preview-modal-container').fadeOut(); } }); } function recurProperties(elem){ var getParent = $(elem).parents(pdpSelector); if( $(getParent).find("[name='recurpay__group_main'][value='subscription']").is(":checked")){ var planName = $(getParent).find('[name="recurpay-input"] option:selected').attr('data-plan-name'), planId = $(getParent).find('[name="recurpay-input"] option:selected').attr('data-plan'); $(getParent).find('.recurpay_plan_name').attr("name","properties[Plan]").val(planName); $(getParent).find('.recurpay_plan_id').attr("name","properties[_PlanId]").val(planId); if(parseInt(recurpay.subscriptionInfluence && recurpay.subscriptionInfluenceCount) >=1){ $(getParent).find('.recurpay_purchase_data').attr("name","properties[_PurchaseData]").val(recurpay.subscriptionInfluenceCount); } $(getParent).find('.recurpay__description[data-description-id]').hide(); $(getParent).find('.recurpay__description[data-description-id="'+planId+'"]').show(); if(recurpay.checkout == "shopify"){ var sellingPlanId = $(getParent).find('[name="recurpay-input"] option:selected').attr('data-selling-plan'); $(getParent).find('.recurpay_selling_plan_id').attr("name","selling_plan").val(sellingPlanId); } } else{ $(getParent).find('.recurpay_plan_name').attr("name",""); $(getParent).find('.recurpay_plan_id').attr("name",""); $(getParent).find('.recurpay_purchase_data').attr("name",""); if(recurpay.checkout == "shopify"){ $(getParent).find('.recurpay_selling_plan_id').attr("name",""); } } offerSavings(getParent); } function addSubscription(btn){ var variantSelector = $(btn).parents(atcFormSelector).find('[name="id"]'), quantitySelector = $(btn).parents(atcFormSelector).find('[name="quantity"]'), subscriptionPlanId = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-plan'), subscriptionPlanName = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-plan-name'), subscriptionPlanType = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-plan-type'), planVariant = parseInt(variantSelector.val()), planQuantity = 1, planParams = {}; if(quantitySelector.length) { planQuantity = parseInt(quantitySelector.val()); } if(variantSelector.length <=0){ planVariant = ""; } if(recurpay.checkout == "shopify"){ var sellingPlanId = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-selling-plan'); planParams = { id: planVariant, quantity: planQuantity, selling_plan: sellingPlanId, properties: { 'Plan': subscriptionPlanName, '_PlanId': subscriptionPlanId } } } else{ planParams = { id: planVariant, quantity: planQuantity, properties: { 'Plan': subscriptionPlanName, '_PlanId': subscriptionPlanId } } } if(recurpay.checkout == "recurpay" && !recurpay.prepaidMixedCart && subscriptionPlanType == "prepaid"){ $.getJSON('/cart', function(response) { response.items = []; response.items.push(planParams); recurCart(response); }); } else{ if (recurpay.action == "default" && $(atcFormSelector).find(atcSelector).length){ $(btn).parents(atcFormSelector).find(atcSelector).first().click(); } else{ $.ajax({ type: 'POST', url: '/cart/add.js', dataType: 'json', data: planParams, success: function() { if (recurpay.checkout == "recurpay" && recurpay.action == "checkout"){ $.getJSON('/cart', function(response) { recurCart(response); }); } else if(recurpay.action == "cart"){ document.location.href = '/cart'; } else{ document.location.href = '/checkout'; } }, error: function(xhr, status, error) { var err = eval("(" + xhr.responseText + ")"); $('[data-recurpay-error]') .html(err.description) .show().delay(3000).fadeOut(); } }); } } } $(document).on('change',"[name='recurpay__group_main']", function(e){ var $this = $(this); $this.parents(pdpSelector).find('.recurpay__widget_container').removeClass("recurpay__widget_container--selected"); var checkVal = $this.val(); if($this.is(":checked")){ $this.parents('.recurpay__widget_container').addClass("recurpay__widget_container--selected"); } if(checkVal == "subscription"){ recurpay.subscriptionInfluence = true; recurpay.subscriptionInfluenceCount = recurpay.subscriptionInfluenceCount + 1; $this.parents(atcFormSelector).find(atcSelector).addClass("recurpay-hide"); $this.parents(atcFormSelector).find(buynowSelector).addClass("recurpay-hide"); $this.parents(pdpSelector).find('.recurpay__plans').show(); $this.parents(pdpSelector).find('.recurpay__group_content_wrapper').slideDown(); } else{ $this.parents(atcFormSelector).find(atcSelector).removeClass("recurpay-hide"); $this.parents(atcFormSelector).find(buynowSelector).removeClass("recurpay-hide"); $this.parents(pdpSelector).find('.recurpay__plans').hide(); $this.parents(pdpSelector).find('.recurpay__group_content_wrapper').slideUp(); } recurProperties($this); }); $(document).on('change',"[name='recurpay-input']", function(e){ var getId = $(this).parents(atcFormSelector).find('input[name="id"], select[name="id"], input#SelectedId').val(); recurDiscountedPrice(getId); recurProperties($(this)); }); $(document).on('click',".recurpay__group_label", function(e){ $(this).parents('.recurpay__widget_container').find('[name="recurpay__group_main"]').prop("checked",true).change(); }); $(document).on('click',".recurpay-modal-cancel-btn", function(e){ $('[data-recurpay-visibility-modal]').hide(); }); function updateSelectors(only_subscription){ for(r=0; r<$(pdpSelector).length; r++){ if($(pdpSelector).eq(r).attr("data-only-subscription") == "true" || only_subscription == true){ $(pdpSelector).eq(r).attr("data-only-subscription",true); $(pdpSelector).eq(r).find(".recurpay__widget[data-recurpay-widget]").addClass("recurpay_only_subscription_widget"); $(pdpSelector).eq(r).find("[name='recurpay__group_main'][value='subscription']").prop("checked",true).change(); } else{ if(recurpay.subscriptionFirst == true){ $(pdpSelector).eq(r).find("[name='recurpay__group_main'][value='subscription']").prop("checked",true).change(); } } } } $(document).on('click',"[data-recurpay-action]", function(e) { e.preventDefault(); e.stopPropagation(); addSubscription($(this)); }); $(document).on('click',"[data-applicable-offers]", function(e) { e.preventDefault(); e.stopPropagation(); $('.recurpay-preview-modal-container').fadeIn(); }); $(document).on('click',".recurpay-preview-modal-close", function(e) { e.preventDefault(); e.stopPropagation(); $('.recurpay-preview-modal-container').fadeOut(); }); $(document).on('change', '[name="quantity"]', function(){ var variantId = $(this).parents(atcFormSelector).find('[name="id"]').val() || ""; recurDiscountedPrice(variantId); }) if(recurpay.checkout == "recurpay"){ $(document).on('click', checkoutSelector, function(e) { e.preventDefault(); e.stopPropagation(); $.getJSON('/cart', function(response) { recurCart(response); }) }); if($(recurpay.checkout_btn_override_class).length){ document.addEventListener("click", handler, true); function handler(e) { if($(e.target).is(recurpay.checkout_btn_override_class)){ e.stopPropagation(); e.preventDefault(); $.getJSON('/cart', function(response) { recurCart(response); }); } } } } } //Append jQuery if it is not there, then call to recurpaySubscription //Otherwise directly call to recurpaySubscription if ((typeof(jQuery) == 'undefined')) { initScript('//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js', function() { window.recurpayScript = jQuery.noConflict(true); recurpaySubscription(recurpayScript); }) } else { recurpaySubscription(jQuery); } })();