🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
1/14
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿
1/14

🐝👨‍⚕️TagCure Bee Venom Skincare Cream, Certified by The British Association of Dermatologists (BAD) – Helps Treat Persistent Warts, Skin Tags, Skin Lesions, Infections, Scarring, and Smooth Uneven Skin 🌿

✅ No Side Effects: No rebound, non-greasy, and won’t clog pores. ✅ Certified by the British Association of Dermatologists (BAD): Certified by Health Products for your peace of mind. ✅ Safe for Full-Body Use: Suitable for everyone, including children over 3 years old. ✅ Proven topical treatment: Softens overnight and deeply heals warts (common, flat, plantar, genital) and moles, ensuring they won’t come back. ✅ Gentle on All Skin Types: Safe for sensitive skin. ✅ No Harmful Meds or Surgery Needed: Soothes itching and pain in just 3 minutes.

$24.97
$49.99
Save $25.02
Buy More Save More
Please select a buy more save more
Quantity

Completely removes all types of warts and moles

in just 1-2 weeks.

Effective and proven in removing warts and moles

What Our Customers Are Saying About TagCure Bee Venom Skincare Cream

"I’ve tried everything for my skin tags, but nothing worked like Bee Venom Skincare Cream . In just one week, my warts dried up and fell off painlessly. My skin feels smooth and flawless now!"
— Olivia Jones  45 years old | ⭐⭐⭐⭐⭐

"I was skeptical at first, but these cream exceeded my expectations. They worked exactly as promised, and I didn’t feel a thing. Highly recommend!"
— Oliver Smith 39 years old | ⭐⭐⭐⭐⭐

Bee Venom: A Potential Solution for Skin Lesions

 – What a Doctor’s Study Found


Dr. Hannah Miller’s study under the National Library of Medicine explores the benefits of bee venom for treating skin tags and warts. Her research reveals that bee venom, rich in bioactive compounds, effectively combats bacteria, fungi, and viruses responsible for skin conditions. The enzyme phospholipase A2 in bee venom plays a crucial role in breaking down abnormal tissue, which helps in removing skin tags and warts. Additionally, the study highlights bee venom’s antiviral properties, which may prevent skin infections and promote the death of abnormal skin cells during treatment. While the results are promising, Dr. Miller emphasizes the need for further clinical trials and in vivo studies to confirm the safety and effectiveness of bee venom as a treatment option. This research opens up new possibilities for bee venom as an alternative remedy for managing skin tags and warts, offering hope for those seeking new solutions for these common dermatological issues.

Clinically tested by dermatologists, our product removes warts and skin tags in 1-3 weeks and relieves discomfort in 2-7 days.

Clinically tested on 1000+ participants

BAD Approvals and Benefits

BAD Approval:
Bee Venom Skincare Cream was approved by the British Association of Dermatologists (BAD) in November 2023 for the treatment of warts, moles, and skin tags, especially for those experiencing persistent or severe cases.

Clinical Results:
In clinical trials, patients using Bee Venom Skincare Cream showed up to a 99.8% reduction in the appearance of warts, moles, and skin tags within 2 weeks—outperforming many other treatments for these conditions.

Health Benefits:
Beyond treating skin growths, Bee Venom Skincare Cream has been proven to improve overall skin health, reduce inflammation, and promote faster healing of warts, moles, and skin tags.

Safety Profile:
The BAD has confirmed Bee Venom Skincare Cream to be safe and effective.

Isabel’s 1-Week Journey with TagCure Bee Venom Skincare Cream

Day 1


"I was nervous about trying a cream for the skin tag on my nose, but the TagCure Bee Venom Skincare Cream was so easy to use."

Day 4


"By the fourth day, I saw a clear difference! The skin tag had visibly shrunk in size and was starting to fade. I was amazed that it didn’t feel painful or uncomfortable at all, even on such a sensitive area like my nose after using TagCure Bee Venom Skincare Cream."

Day 7


"One week in, and I’m thrilled with the results! The skin tag completely dried up and fell off naturally, leaving no scar or discoloration behind. My nose looks clear and smooth now after using TagCure Bee Venom Skincare Cream. I couldn’t be happier with how well this product worked!"

See What Our Product Can Do for You

What are Skin Tags and Warts?

Understanding Skin Lesions: Benign Growths on Skin

What You Need to Know About Skin Lesions?

What are Skin Lesions?
Skin lesions are any unusual spots, bumps, or patches on your skin. They can be harmless, like skin tags or dark spots, or something that needs attention, like sores or warts. 

Why Do Skin Lesions Happen?
Skin lesions can happen for all sorts of reasons—sun damage, aging, infections, allergies, or certain skin conditions like eczema and psoriasis.

Are Skin Lesions Dangerous?
Not always! Some, like moles and age spots, are totally harmless. But if a lesion changes in size, shape, or colour, or if it itches, bleeds, or won’t heal, it may need extra care.

How Can I Deal with Skin Lesions?
If you’re looking for an effective way to deal with  Skin Lesions, TagCure Bee Venom Wart & Moles Removal Cream  is a great option.

The effectiveness of Bee venom👇

Antiviral Properties of Bee Venom

Studies have shown that bee venom possesses antiviral properties, which can:

  • Inhibit Virus Replication: Compounds in bee venom can interfere with the replication of viruses that cause skin infections.
  • Prevent Infections: Helps prevent potential infections during the removal of skin tags and warts.

 Healing Properties of Bee Venom

Bee venom not only removes skin tags and warts but also supports the healing process:

  • Boosts Blood Circulation: Stimulates blood flow to the affected area, which supports healing.
  • Promotes Tissue Regeneration: Encourages the regeneration of new, healthy skin tissue.

100% Natural & Safe

Ingredients for Skin Health

WHAT MAKES TagCure

YOUR TOP CHOICE?

 Eliminates Skin Tags, Warts, and Moles: Promotes the natural and painless removal of skin tags, warts, and moles.

 Promotes Repair and Regeneration: Supports the repair and regeneration of new skin, speeding up the healing process without leaving scars.

 Fast and Visible Results: Provides quick, visible results with no side effects, suitable for all skin types.

 Prevents Infection Post-Removal: Ensures prevention of infection after removal of skin tags, warts, and moles.

 Developed in the UK: Manufactured in a CRL-registered laboratory in the UK, ensuring high standards and quality.

 Minimizes Friction and Irritation: Reduces friction and irritation caused by skin tags and prevents them from developing into lesions.

 No Harmful Ingredients: Contains no harmful ingredients and leaves no residue, ensuring safe and hygienic use.

 Clinically Proven: Proven effective in clinical medical research centres and recommended by dermatologists.

 Regular Usage: Recommended to use 2-3 times a day for best results.

 Guaranteed Long-Term Use: Comes with detailed instructions for long-term use to ensure guaranteed effectiveness.

More Happy Customers Sharing Their Results with TagCure Bee Venom Skincare Cream

"I've had a small mole under my arm for years, and I was always self-conscious about it. I decided to try TagCure Bee Venom Skincare Cream, and within one week, it started to dry up and fall off. There was no pain, no irritation, and now my skin is completely smooth! I love that it uses natural ingredients, and it worked better than I expected. I highly recommend this to anyone looking for a painless and effective way to remove a mole or skin tag under the arm!"
— Emily Davis 57 years old | ⭐⭐⭐⭐⭐

"I had a small wart on my neck for a while and tried a few treatments, but nothing worked—until I tried TagCure Bee Venom Skincare Cream. After just a few days of use, I noticed a difference. Within a week, the wart was gone, and I didn’t experience any discomfort or scarring. Really happy with how it worked!"

— Sophie White 43 years old | ⭐⭐⭐⭐⭐

Does our bee venom filtrate come from killing or harming bees?

Absolutely not! We use new technology to extract bee venom without harming the bees. Ether is used to gently anesthetize the bees' nerves. When bees inhale the ether vapor, they naturally expel honey and venom. Once the ether dissipates, the bees fly away unharmed. This humane process ensures the bees are not hurt. Decades of cultivation and breeding in New Zealand guarantee the high quality of bee venom. Our bees are farmed 100% naturally, hypoallergenic, and dermatologist tested, ensuring both their well-being and the purity of the venom.

TagCure Bee Venom Skincare Cream

Guarantee #1 Suitable for All Skin Issues

Among our nearly 20,000 users, 99.57% have experienced perfect resoluti

on of theirskin issues. No matter what your skin condition is,

you can benefit from this product.

No more enduring skin itching or pain,

No more caring about others' opinions,

And no more searching for the next cream or 𝐶𝑟𝑒𝑎𝑚.

When you start using this product, all these issues will be resolved.

Your skin problems will be solved, and you will be rejuvenated.

Guarantee #2: Fast and Lasting Results

Although you'll quickly see the effects of this natural antibacterial and anti-inflammatory detoxification...

...around two weeks to see noticeable results...

This means that this time you'll finally be able to have healthy skin.

We have over half of the users resolving their skin issues and successfully maintaining them for nearly 5 years.

And all they had to do was use this Cream, and it looks really good.

Just imagine!

Imagine yourself on the beach or by the sea, wearing a bikini and enjoying the admiring looks of people.

Guarantee #3: Absolute Best Customer Service

When you join this family, you'll never be alone.

Myself and my team of doctors will always be here for you, ready to assist you at any time.

If you have specific questions about the program, we'll be here to guide you...

If you're not getting the results you want, let us know, and we'll do everything we can to help you...

If you're feeling confused or frustrated, don't be a stranger. Reach out to us immediately because we're here to support you.

You're part of the team now, and we'll do everything we can to ensure your success.


Achieving Professional Certification


Specifications

About Us

Support Cruelty-Free Initiatives

With each product purchased, we donate a portion of our profits to Cruelty-Free International, which protects animals and fights against cruelty worldwide. By choosing our brand, you help foster a more animal-friendly beauty culture!


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('appzebu 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 }); }); }); 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);