High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com
High waist plus size cotton antibacterial and leak-proof physiological underwear Radinnoo.com

High waist plus size cotton antibacterial and leak-proof physiological underwear

Price
$15.98
$7.99
Save  $7.99
Color — Taro Purple
Please select a color
Size
Please select a size
Fit: True to size
Quantity
 Radinnoo.com

Method 1: Add 10 pieces of our antibacterial and moisture-wicking underwear to your shopping cart, and the system will automatically apply the discount for you.

Method 2: Choose our gift package that offers the buy 5 get 5 free option, and you will automatically participate in the event. Don't miss out on this amazing opportunity to save big and protect your health! 

We offer a 100% customer satisfaction guarantee. If you're not happy with the size or quality of your purchase, let us know within 30 days and we'll provide the best solution possible. We also offer options to order by weight or using our size chart to ensure a perfect fit.

Underwear Guide Overview:

  1. Ultimate Leak Protection: Confidence and Comfort in Every Situation
  2. Product Features: Antibacterial & Hygroscopic
  3. Dangers of Non-Antibacterial Underwear
  4. Antibacterial Technology: Silver Ion Introduction
  5. Moisture Absorption and Its Importance
  6. Usage Lifespan and Replacement Recommendations
  7. Material and Odor Suppression
  8. Washing and Maintenance Tips
  9. After-sales Warranty and Service
  10. Expert Care and Maintenance Advice
  11. Frequently Asked Questions
  12. Product Detail Showcase

We are delighted to showcase the superb craftsmanship and outstanding quality of our underwear. To quickly find the details you're interested in, simply scroll down and use the numbers provided in the table of contents to access in-depth information on the topics you care about.

1、Ultimate Leak Protection: Confidence and Comfort in Every Situation

Leaks prevention is vital for women, especially during menstruation or mild urinary incontinence. Side leaks can cause embarrassment and contamination of clothing and bed sheets, increasing washing and replacement burden.

Our underwear has a unique design and technology, effectively preventing side leaks. With added protective layers in key areas, it enhances absorption and protection. These layers quickly absorb and disperse liquids, ensuring dryness and avoiding side leaks. Comfortable, breathable materials ensure confidence and comfort in any situation.

2、COMFORT INSIDE, MOISTURE-WICKING PROTECTION, CONFIDENCE STARTS FROM WITHIN

Regain Confidence, Enjoy Life: We understand the needs of middle-aged and elderly women, as well as those with mild incontinence, and have tailored this underwear especially for you. Combining unique design and innovative technology, our underwear provides you with peace of mind and comfort in any situation. Made with high-performance fabric and multi-layer protection, it ensures rapid absorption and dispersion of liquids, keeping you dry and clean while attending social events or spending time with family. Choose our underwear and embrace confidence once again, enjoying those beautiful and carefree moments.

3、WHAT ARE THE DANGERS OF NON-ANTIBACTERIAL UNDERWEAR?

Women who wear non-antibacterial underwear for a long time may lead to the growth of large amounts of BACTERIA in their private areas, resulting in a series of gynecological diseases, such as BACTERIAL vaginitis, FUNGAL vaginitis, TRICHOMONAS vaginitis, etc. These gynecological diseases will bring discomfort and pain to women, affecting their daily life and work. Moreover, once these gynecological diseases are not treated in time, they may lead to more serious consequences, such as CERVICITIS, PELVIC INFLAMMATORY DISEASE, etc. Therefore, wearing ANTIBACTERIAL underwear can effectively PREVENT these problems and PROTECT women's health.

4、HOW DO WE ACHIEVE ANTIBACTERIAL EFFECTIVENESS?

Silver ion technology is a widely popular antibacterial technology currently used in our underwear. Our panties are treated with this technology, which has strong antibacterial and bacteriostatic properties that can kill harmful bacteria that grow in private areas. This technology can effectively prevent the occurrence of gynecological diseases such as bacterial vaginitis, fungal vaginitis, and trichomonas vaginitis. Additionally, silver ion technology has a long-lasting antibacterial effect, which can help maintain the cleanliness and hygiene of the underwear for a long time.

5、WHY DO UNDERWEAR NEED TO BE ABSORBENT?

Underwear needs to absorb moisture because the private area is a place that is prone to sweating, and prolonged dampness can easily breed bacteria and viruses, leading to gynecological diseases. Absorbent underwear can quickly absorb moisture and expel it, keeping the private area dry and reducing the possibility of bacteria and virus breeding, thereby protecting women's health. In addition, absorbent underwear can also make women feel more comfortable and confident.

6、CAN IT BE REUSED?

Underwear can be reused, but needs to be replaced regularly. According to the World Health Organization's recommendation, the average lifespan of underwear should not exceed 6 months. After 6 months, the materials of the underwear may become aged, worn out, and lose their original properties such as moisture absorption and breathability, which may affect the health of the private parts. Therefore, in order to maintain the hygiene and health of the private parts, it is recommended to replace underwear regularly.

 7、WHAT MATERIAL ARE OUR UNDERWEAR MADE OF?

Our underwear is crafted with high-quality materials that are both soft and breathable, ensuring maximum comfort throughout the day. The cotton fabric is carefully chosen for its superior moisture absorption properties, keeping you dry and comfortable all day long. The elastic spandex material provides just the right amount of stretch for a snug and comfortable fit. We use the latest technology and a rigorous quality control process to ensure that every pair of underwear is made to the highest standards. Our skilled craftsmen pay attention to every detail, from the stitching to the waistband, to create a product that not only looks great but also feels great. With our attention to detail and commitment to quality, you can trust that our underwear will meet and exceed your expectations.

CAN THEY SUPPRESS MENSTRUAL OR OTHER ODOR-CAUSING CAUSES?

Of course. Both cotton and spandex materials have excellent moisture absorption and breathability, which can effectively absorb sweat and secretions in private areas, and allow air circulation to prevent the growth of bacteria and viruses. At the same time, cotton fibers themselves have antibacterial and bacteriostatic effects, which can effectively suppress the generation of odor. Therefore, our underwear is made of a combination of cotton and spandex materials, which not only ensures comfort and breathability but also effectively suppresses odor, making you feel more comfortable and at ease when using it.

WILL THE UNDERWEAR BE TOO TIGHT FOR ME IF I AM OVERWEIGHT?

Our underwear is made of soft cotton fabric and elastic spandex, providing you with a comfortable and snug fit without feeling tight or uncomfortable. We pay attention to every detail, including the appropriate sizing and fit, to ensure that our underwear is comfortable to wear and won't restrict your movement or breathing. With our attention to detail and commitment to comfort, you can enjoy your life without any worries or discomfort.

WILL THE UNDERWEAR FADE WHEN WASHING?

Our underwear undergoes strict color fastness testing before dyeing to ensure that it is not prone to fading. The dyes we use are environmentally certified and are dyed using professional techniques and processes to ensure uniform, long-lasting, and fade-resistant coloring. In addition, to maintain the color of the underwear, we recommend using low-temperature water and neutral detergent when washing, avoiding exposure to direct sunlight and mixing with other clothes to maintain the color and quality of the underwear.

Our commitment to quality is backed by official certificates and our products speak for themselves. We refuse to compromise on quality, and we urge you to prioritize your health by avoiding cheap imitations. Don't settle for less, choose only the best.

 

8、Expert Tips for Caring and Maintaining Your Antibacterial Underwear

  • Replacing Underwear: According to the World Health Organization's recommendation, the average lifespan should not exceed six months. After six months, the materials of the underwear may become aged, worn out, and lose their original properties such as moisture absorption and breathability, which may affect the health of the private parts. Therefore, it is recommended to regularly replace underwear to maintain hygiene and health.
  • Washing Underwear: Underwear can be machine washed and dried on low heat. However, it is recommended to avoid using fabric softeners and bleach to maintain the quality and color of the fabric. Neutral detergent is recommended, and mixing with other clothes should be avoided.
  • Storing Underwear: Underwear should be stored in a dry, ventilated, and clean place, away from direct sunlight and high humidity.
  • Using Underwear: It is recommended to wear underwear that fits your size and body shape properly. Underwear that is too tight or too loose may cause discomfort and health problems. It is recommended to choose breathable, moisture-wicking, antibacterial, and comfortable underwear to protect the health of the private parts.

The above suggestions can help you better use and maintain your underwear and protect the health of the private parts.

9、AFTER-SALE WARRANTY

We offer comprehensive after-sales service to ensure a worry-free shopping experience. If you have any questions or concerns, please contact our customer service team at support@tolirs.shop. We will do everything we can to assist you and provide solutions to any issues.

If you receive our products and find any quality issues or they do not meet your expectations, we offer unconditional refunds or exchanges to ensure your satisfaction. We respect your choices and hope you can purchase with confidence.

We believe that high-quality after-sales service reflects our product quality and reputation. We will continue to strive for better products and services, making your shopping experience easier and more enjoyable.

10、FAQ:

  • Q: What materials are used for the underwear? Is it comfortable and breathable?
    A: Our underwear is made of soft cotton fabric and elastic spandex, providing you with a comfortable and snug fit without feeling tight or uncomfortable. We pay attention to every detail, including the appropriate sizing and fit, to ensure that our underwear is comfortable to wear and won't restrict your movement or breathing, allowing you to enjoy your life freely.
  • Q: Can the underwear be reused? How long can it be used?
    A: Underwear can be reused, but it needs to be replaced regularly. According to the World Health Organization's recommendation, the average lifespan of underwear should not exceed six months. After more than six months, the material of the underwear may become old and worn, lose its original properties such as moisture absorption and breathability, which may affect the health of the private parts. Therefore, to maintain the hygiene and health of the private parts, it is recommended to replace the underwear regularly.
  • Q: Will the underwear fade?
    A: Our underwear undergoes rigorous color fastness testing before dyeing to ensure that it is not prone to fading. The dyes we use are environmentally certified, and professional techniques and processes are used during the dyeing process to ensure uniform, durable, and fade-resistant coloring. In addition, to maintain the color and quality of the underwear, we also recommend using low-temperature water and neutral detergent for washing, avoiding exposure to direct sunlight and mixing with other clothes.
  • Q: How does the underwear prevent gynecological problems through antibacterial technology?
    A: Our underwear uses silver ion technology, which has strong antibacterial and bacteriostatic effects, can kill harmful bacteria that breed in the private parts, and effectively prevent the occurrence of gynecological diseases. At the same time, silver ion technology has a long-lasting antibacterial effect, which can keep the underwear clean and hygienic for a long time.
  • Q: Can I machine wash and dry your underwear?
    A: Yes, our underwear is machine washable and can be dried on low heat. However, we recommend avoiding the use of fabric softeners and bleach to maintain the quality and color of the fabric.

Some Customer Reviews

  1. "I was hesitant to try this brand at first, but I'm so glad I did! The fit is amazing and the fabric is so soft and comfortable. I feel like I'm not even wearing underwear! Thanks for the great product!" - Sarah Johnson
  2. "I've always struggled to find underwear that doesn't ride up or feel too tight, but these are perfect. The sizing is spot-on and they stay in place all day. Plus, they look great too! Thanks!" - Michael Smith
  3. "These are hands-down the most comfortable underwear I've ever worn. The fabric is so breathable and the waistband doesn't dig in at all. I'll definitely be buying more!" - Jennifer Brown
  4. "I've been wearing these for a few weeks now and I'm so impressed with the quality. They haven't faded or stretched out at all, and they still feel just as soft as when I first got them. Highly recommend!" - David Thompson
  5. "I was a bit skeptical about the antibacterial claims, but after wearing these for a while I can definitely say that they work. I feel fresher and more comfortable all day long. And they're stylish too! Thanks for the great product!" - Emily Davis

11、Details showcase:

UPGRADE WIDENED DESIGN
-Leakproof in all aspects

Seamless fabric that shapes the waist

The fabric is ultra comfortable and doesn't mark. It is ideal to use with any kind of clothing, even with fitter looks.
it has a high waist that in addition to not crolling, shapes the waist and values your curves.

High elasticity not tight
Good resilience & comfortable

soft cuffs
The double-wire binding is more durable, soft and elastic, and will not strangle the skin.

Breathable Elastic

We add 5% spandex to 95% cotton fiber to make the fabric more flexible and always comfortable

Plant printing and dyeing are healthier
Skin-friendly, soft and multi-color optional

SAVE THE PLANET. SAVE MONEY TOO.

Pads and tampons and applicators are the 5th most common plastic found floating in our oceans - that’s so deadly for marine life. Most women will use as many as 11,000 disposable menstrual pads and tampons in their lifetime! Over 12 billion tampons and pads are thrown out, 90% of those are made from plastic that cannot be broken down. It takes roughly 600 years for a tampon or pad to degrade in a landfill.

Our leakproof underwear lasts an average of 3 years  which means you’re personally eliminating thousands of unnecessarily tossed pads or tampons. Best part? You’re saving a bundle of money  not buying all those indestructible pads or tampons.

100% Private Shipping

We will keep the package private to protect your privacy 100%, in a sense, only you know what you have purchased

FAQs

What are orthopedic shoes?

Orthopedic shoes are shoes designed to provide maximum support to the foot and ankle. They benefit people with foot pain and a range of conditions that make walking or exercising in regular shoes difficult and uncomfortable.

What are the benefits of orthopedic shoes?

Having supportive shoes can help reduce foot pain, increase blood flow, improve posture, and reduce the risk of injury. Additionally, wearing orthopedic shoes can prevent future foot problems.

Will orthotics solve my foot problems?

While orthopedic shoes do help provide comfort for people with foot pain and certain foot conditions, they are not a substitute for the proper medical care needed. If you feel you need medical help for foot pain or have concerns, advise or visit your local GP.

Can anyone wear orthopedic shoes?

Some people rely more on orthotics to help relieve discomfort and improve quality of life, but that doesn’t mean they aren’t right for everyone! Orthopedic shoes can also be used as a preventative measure to prevent foot problems as we age.

Every new pair of shoes gives me blisters. Will that happen with Radinnoo?

We understand why you’re worried about blisters. We are committed to providing your body with a solid foundation. Inspired by our customers' wearing experience in various foot conditions, our experts use designs that best fit the human foot in the production of each pair of shoes to adapt to different daily activities. Plus, our insoles are super comfortable and provide extra comfort and support.

 Radinnoo.com

Why Radinnoo?

Our mission is to introduce and deliver the easiest and most effective way to live a healthy lifestyle. Personal care solutions to inspire and empower every individual living their healthiest lives, every day. Having a ancle ache should not get in the way of your happy everyday life. A pain free life unlocks the whole you. The better you. The you that’s balanced. Aspiring. Happy. Don´t let foot pain ruin your day. Our focus is giving you the energy to create your best life.

  • 14-Days Wear Test

    100% Satisfaction Guaranteed
  • Secure payment

    100% Securety Payments
  • Support Refund

    Hassle-Free Process.30-Days Money Back Guarantee
  • Support is here for you

    Any questions? Our team will be happy to help you at support@radinnoo.com

class SpzSmartBlockComponent extends SPZ.BaseElement { constructor(element) { super(element); this.templates_ = null; this.container_ = null; this.i18n_ = {}; this.config_ = {}; this.show_type_ = 3; this.product_resource_id_ = ''; this.collection_resource_id_ = ''; this.cart_items_ = []; this.customer_id_ = ''; this.order_id_ = ''; } static deferredMount() { return false; } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } buildCallback() { const template_type = window.SHOPLAZZA.meta.page.template_type; if (template_type === 1) { this.show_type_ = 3; this.product_resource_id_ = window.SHOPLAZZA.meta.page.resource_id; } else if (template_type === 2) { this.show_type_ = 4; this.collection_resource_id_ = window.SHOPLAZZA.meta.page.resource_id; } else if (template_type === 15){ this.show_type_ = 5; } else if (template_type === 13){ this.show_type_ = 6; } else if (template_type === 20){ this.show_type_ = 7; this.customer_id_ = window.SHOPLAZZA.customer.customer_id; } else if (template_type === 35){ this.show_type_ = 8; this.order_id_ = window.location.pathname.split('/').pop(); } this.templates_ = SPZServices.templatesForDoc(this.element); this.setAction_(); } mountCallback() { console.log('smart mounted'); const that = this; const themeName = window.SHOPLAZZA.theme.merchant_theme_name; const isGeek = /Geek/.test(themeName); this.fetchRules().then((res) => { if (res && res.rules && res.rules.length) { const blockEl = document.getElementById('smart_recommend_block'); SPZ.whenApiDefined(blockEl).then((api) => { api.render({data: res}, true).then(() => { if (isGeek && that.show_type_ === 6) { blockEl.querySelector('.plugin_container_wrpper').style.padding = '30px 0'; } const recommendStyle = document.createElement('style'); recommendStyle.innerHTML = ` .plugin__recommend_container,.app-recommend-card { display: none !important; } `; document.head.appendChild(recommendStyle); const fetchList = []; res.rules.forEach((rule) => { fetchList.push(this.fetchRuleProductList(rule.id)); }); const fetchAll = Promise.all(fetchList); fetchAll.then((p_res) => { res.rules.forEach((rule, index) => { rule.products = p_res[index] && p_res[index].products; const ruleEl = document.getElementById('smart_recommend_rule_' + rule.id); SPZ.whenApiDefined(ruleEl).then((api) => { api.render({data: rule}, true).then(() => { that.impressListen(`#smart_recommend_rule_ul_${rule.id}`, function(){ that.trackRuleImpress(rule); }); const btnElList = document.querySelectorAll(`#smart_recommend_rule_ul_${rule.id} button`); btnElList.forEach((btnEl) => { if (btnEl && rule.config && rule.config.quick_shop_button_bg_color && rule.config.quick_shop_button_text_color) { btnEl.style.backgroundColor = rule.config.quick_shop_button_bg_color; btnEl.style.color = rule.config.quick_shop_button_text_color; } }) }); }); }); }); }) }) } else { if (window.top !== window.self) { const template_type = window.SHOPLAZZA.meta.page.template_type; const holderEl = document.getElementById('smart_recommend_preview_no_data_placeholder'); SPZ.whenApiDefined(holderEl).then((api) => { api.render({data: { isCart: template_type === 13, isCollection: template_type === 2, isProduct: template_type === 1, isIndex: template_type === 15 }}, true); }); } } }); } setAction_() { this.registerAction('quickShop', (data) => { const that = this; const product_id = data.args.product_id; const productIndex = data.args.productIndex; const rule_id = data.args.rule_id; const ssp = data.args.ssp; const scm = data.args.scm; const cfb = data.args.cfb; const ifb = data.args.ifb; const modalRender = document.getElementById('smart_recommend_product_modal_render'); if (product_id) { this.fetchProductData(product_id).then((res) => { const product = res.products && res.products.length && res.products[0] || {}; product.cfb = cfb; product.ifb = ifb; SPZ.whenApiDefined(modalRender).then((api) => { api.render({product: product, productIndex: productIndex, rule_id: rule_id, ssp: ssp, scm: scm, show_type: that.show_type_}, true).then(() => { const modalEl = document.getElementById('smart_recommend_product_modal'); SPZ.whenApiDefined(modalEl).then((modal) => { that.impressListen('#smart_recommend_product_modal', function(){ that.trackQuickShop({ rule_id: rule_id, product_id: product_id }); }); modal.open(); }); const formEl = document.getElementById('smart_recommend_product_form'); SPZ.whenApiDefined(formEl).then((form) => { form.setProduct(product); }); const variantEl = document.getElementById('smart_recommend_product_variants'); SPZ.whenApiDefined(variantEl).then((variant) => { variant.handleRender(product); }); }); }) }); } }); this.registerAction('handleScroll', (data) => { this.directTo(data.args.rule_id, data.args.direction); }); this.registerAction('handleProductChange', (data) => { const variant = data.args.data.variant; const product = data.args.data.product; const imageRenderEl = document.getElementById('smart_recommend_product_image'); SPZ.whenApiDefined(imageRenderEl).then((api) => { api.render({ variant: variant, product: product }, true); }); }); this.registerAction('handleAtcSuccess', (detail) => { const data = detail.args; data.data.product = data.data.product || {}; data.data.variant = data.data.variant || {}; const product_id = data.data.product.id; const product_title = data.data.product.title; const variant_id = data.data.variant.id; const price = data.data.variant.price; const rule_id = data.rule_id; const aid = `smart_recommend.${this.show_type_}.${rule_id}`; const ifb = data.data.product.ifb; const cfb = data.data.product.cfb; const ssp = data.ssp; const scm = data.scm; const spm = `smart_recommend_${this.show_type_}.${data.spmIndex}`; const params = { id: product_id, product_id: product_id, number: 1, name: product_title, variant_id: variant_id, childrenId: variant_id, item_price: price, source: 'add_to_cart', _extra: { aid: aid, ifb: ifb, cfb: cfb, scm: scm, spm: `..${window.SHOPLAZZA.meta.page.template_name}.${spm}`, ssp: ssp, } }; this.tranckAddToCart(params); }); this.registerAction('addATCHook', (data) => { const params = data.args; const spm = `smart_recommend_${this.show_type_}.${params.spmIndex}`; this.myInterceptor_ = window.djInterceptors && window.djInterceptors.track.use({ event: 'dj.addToCart', params: { aid: `smart_recommend.${this.show_type_}.` + params.rule_id, ssp: params.ssp, scm: params.scm, cfb: params.cfb, spm: `..${window.SHOPLAZZA.meta.page.template_name}.${spm}`, }, once: true }); }); } tranckAddToCart(detail) { if (window.$) { window.$(document.body).trigger('dj.addToCart', detail); } } fetchRules() { const payload = { show_type: this.show_type_, }; let that = this; if (this.show_type_ === 6) { let line_items = []; return this.fetchCart().then((res) => { if (res && res.cart && res.cart.line_items) { line_items = res.cart.line_items.map((item) => { return { product_id: item.product_id, variant_id: item.variant_id, quantity: item.quantity, price: item.price } }); } payload.line_items = line_items; that.cart_items_ = line_items; return that.fetchRulesRequest(payload); }); } else { if (this.show_type_ === 3) { payload.line_items = [{ product_id: this.product_resource_id_ }]; } else if (this.show_type_ === 4) { payload.collection_id = this.collection_resource_id_; } else if (this.show_type_ === 7) { payload.customer_id = this.customer_id_; } else if (this.show_type_ === 8) { payload.order_id = this.order_id_; } return this.fetchRulesRequest(payload); } } fetchRulesRequest(payload) { return fetch(window.SHOPLAZZA.routes.root + "/api/possum/recommend_query", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(payload) }).then(function(res){ if(res.ok){ return res.json(); } }); } fetchCart() { return fetch(`/api/cart/cart-select?r=${Math.random().toString(36).slice(-4)}`) .then((res) => { if (res.ok) { return res.json(); } }); } fetchRuleProductList(rule_id) { const payload = { page: 1, limit: 100, fields: ["title", "url", "image", "min_price_variant.price", "min_price_variant.compare_at_price"], rule_id: rule_id, }; if (this.show_type_ === 3) { payload.line_items = [{ product_id: this.product_resource_id_ }]; } else if (this.show_type_ === 4) { payload.collection_id = this.collection_resource_id_; } else if (this.show_type_ === 6) { payload.line_items = this.cart_items_; } else if (this.show_type_ === 7) { payload.customer_id = this.customer_id_; } else if (this.show_type_ === 8) { payload.order_id = this.order_id_; } return fetch(window.SHOPLAZZA.routes.root + "/api/possum/recommend_products", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(payload) }).then(function(res){ if(res.ok){ return res.json(); } }).catch(function(err){ console.log(err); }); } fetchProductData(product_id) { return fetch(window.SHOPLAZZA.routes.root + "/api/possum/products", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ product_ids: [product_id], fields: [ "images", "options", "min_price_variant", "variants"] }) }).then(function(res){ if(res.ok){ return res.json(); } }).catch(function(err){ console.log(err); const loadingEl = document.getElementById('smart_recommend_loading'); if (loadingEl) { loadingEl.style.display = 'none'; } }); } getStyle(ele, style) { if (!ele) return; if (window.getComputedStyle) { return window.getComputedStyle(ele)[style]; } return ele.currentStyle[style]; } directTo(id, direction) { const scrollElement = document.getElementById(`smart_recommend_rule_ul_${id}`); const blockWidth = parseInt(this.getStyle(scrollElement, 'width')); const scrollLength = (blockWidth * 0.19 - 12) * 5; const scrollPoint = scrollElement.scrollWidth - scrollElement.clientWidth; if (!scrollElement) return; if (direction === 'left') { if (document.dir === 'rtl') { scrollElement.scrollTo({ left: Math.abs(scrollElement.scrollLeft) >= scrollPoint - 100 ? 0 : scrollElement.scrollLeft - scrollLength, behavior: 'smooth' }); return; } scrollElement.scrollTo({ left: Math.max(scrollElement.scrollLeft - scrollLength, 0), behavior: 'smooth' }); } else { if (document.dir === 'rtl') { scrollElement.scrollTo({ left: Math.abs(scrollElement.scrollLeft) >= scrollPoint + 100 ? 0 : scrollElement.scrollLeft + scrollLength, behavior: 'smooth' }); return; } scrollElement.scrollTo({ left: scrollElement.scrollLeft >= scrollPoint - 100 ? 0 : scrollElement.scrollLeft + scrollLength, behavior: 'smooth' }); } } trackRuleImpress(rule) { if (window.sa && window.sa.track) { window.sa.track("plugin_common", { plugin_name: "upsell", event_type: "impressions", rule_id: rule.id, ssp: rule.ssp, scm: rule.scm, show_type: this.show_type_, support_app_block: window.SHOPLAZZA.theme.support_app_block }); window.sa.track("module_impressions", { aid: `smart_recommend.${this.show_type_}.${rule.id}`, support_app_block: window.SHOPLAZZA.theme.support_app_block }); } } trackQuickShop(data) { window.sa && sa.track && sa.track("plugin_common", { plugin_name: "upsell", event_type: "quick_shop", rule_id: data.rule_id, product_id: data.product_id, show_type: this.show_type_, }); } impressListen(selector, cb) { const el = document.querySelector(selector); const onImpress = (e) => { if (e) { e.stopPropagation(); } cb(); }; if (el && !el.getAttribute('imprsd')) { el.addEventListener('impress', onImpress) } else if (el) { onImpress(); } } } SPZ.defineElement('spz-custom-smart-block', SpzSmartBlockComponent);