Buy $69.98 Free shipping
(đ„HOT SALE NOW 49% OFF) - Household High-Pressure Toilet Unblocker
$39.99
$49.00
1 Sold
Save
$9.01
$39.99-$59.90
1 Sold
Save
${(function () {
return automatic_discount_list.map((item) => {
// æšĄçç±»ć
const template_type = item.discount[0].template_type;
// æŻćŠæŸç€șèȘćšææŁ
const is_show_automatic_discount = item.discount[0].product_enabled;
// æŻćŠè·łèœŹèœć°éĄ”
const is_redirection = item.discount[0].is_redirection;
// ææŁćŸæ
const discount_icon = item.discount_icon;
// 珏äžäžȘèȘćšææŁ
const first_automatic_discount = item.discount[0];
// æŸç€șæć ć±ç€ș
const isFold = (item.discount[0].display_type || DISPLAY_TYPE.DTE_FOLD) === DISPLAY_TYPE.DTE_FOLD;
// ææŹæ°ç»
const text_arr = item.discount[0].config.texts;
// æĄä»¶ćŒæ°ç»
const condition_values = item?.discount[0]?.condition_values || [];
// èœć°éĄ”éŸæ„
const first_landing_url = `/promotions/discount-default/${first_automatic_discount.discount_id}`;
// èȘćšææŁæ»æ°
const automatic_discount_total = item.discount.length;
// æŻćŠæŸç€șææŁćŸæ
const isHasDiscountIcon = discount_icon ? true : false;
// æŻćŠæŸç€șææŁćŸæ äžæšĄçç±»ćäžäžștagćadd_to_cart
const isHasDiscountIconWithNoTag = (template_type != 'tag' && template_type != 'add_to_cart' && isHasDiscountIcon)? true : false;
// ææŹéąèČ
let text_color = DEFAULT_CONFIG.TEXT_COLOR;
// èæŻéąèČ
const bgFn = (curBg) => template_type === "text" ? "transparent" : curBg;
let bg_color = bgFn(DEFAULT_CONFIG.BG);
// èŸčæĄéąèČ
const borderFn = (curBorder) => template_type == "tag" ? curBorder : "initial";
let border_color = borderFn(DEFAULT_CONFIG.BORDER_COLOR);
// æšĄçé
çœź
let template_config = first_automatic_discount.template_config;
// äžéźć èŽæ ·ćŒ
let addToCartBtnBgColor = DEFAULT_CONFIG.ADD_TO_CART_BG;
let addToCartBtnTextColor = DEFAULT_CONFIG.ADD_TO_CART_TEXT_COLOR;
let addToCartBtnBorderColor = DEFAULT_CONFIG.ADD_TO_CART_BORDER_COLOR;
// ć
ćșæčæĄ
try {
if(template_config.length !== 0){
template_config = JSON.parse(template_config);
text_color= isHasDiscountIconWithNoTag ? template_config.color[template_type].icon_text_color : template_config.color[template_type].text_color;
bg_color = bgFn(template_config.color[template_type].background_color);
const arrayRgba = bg_color.split(",");
arrayRgba.splice(3, 1, " 1)");
border_color = borderFn(`${arrayRgba.join(",")}`);
addToCartBtnTextColor = template_config.color[template_type].button_text_color;
addToCartBtnBorderColor = template_config.color[template_type].button_border_color;
addToCartBtnBgColor = template_config.color[template_type].button_background_color;
}
} catch (error) {
console.error('template_config_error', error);
template_config = {
color: {
[template_type]: {
icon_text_color: DEFAULT_CONFIG.TEXT_COLOR,
text_color: DEFAULT_CONFIG.TEXT_COLOR,
background_color: DEFAULT_CONFIG.BG
}
}
};
}
// æ çŸ
const isTag = template_type == 'tag';
// æććæšȘćč
const isTextAndBanner = template_type == 'text' || template_type == 'banner';
// æŻćŠäžéźć èŽ
const isAddToCart = template_type == 'add_to_cart';
// æćæ ·ćŒ
const textStyle = `color: ${text_color}; background-color: transparent; border: none;`;
// æ çŸæ ·ćŒ
const labelStyle = `color: ${text_color};border: 1px solid ${border_color};background-color:${bg_color};padding: 4px;`;
// æšȘćč
æ ·ćŒ
const bannerStyle = `color: ${text_color};border: none; background-color:${bg_color}`;
// äžéźć èŽćäžȘćźčćšæ ·ćŒïŒćȘć
ć«ćšææ ·ćŒïŒ
const addToCartSingleContainerStyle = `color: ${text_color}; background-color:${bg_color};`;
// äžéźć èŽæéźæ ·ćŒïŒćȘć
ć«é
çœźçćšææ ·ćŒïŒ
const addToCartBtnStyle = `color: ${addToCartBtnTextColor}; background-color:${addToCartBtnBgColor}; border:1px solid ${addToCartBtnBorderColor};`;
// ć€ć±æ ·ćŒćšæ çŸæ ·ćŒäžäžć±ç€șéąèČé
çœźïŒé€ćŒæ çŸç±»ćïŒéąèČéœćŻä»„ćšć€ć±èŠç
let outerStyle = '';
if (template_type == 'text') {
outerStyle = textStyle;
} else if (template_type == 'tag') {
outerStyle = "border: none;";
} else if (template_type == 'banner') {
outerStyle = bannerStyle;
}
/**
* 1. æ çŸäžćźæŻćçŹæ ·ćŒć±ç€șç
* 2. æć ïŒæšȘććžć±ïŒæććæšȘćč
ïŒććč¶æäžèĄææŹïŒ æ çŸïŒćçŹæ ·ćŒć€ç
* 3. ćčłéșïŒçș”ććžć±ïŒæćăæšȘćč
ćæ çŸïŒ æ çŸïŒćçŹæ ·ćŒć€çïŒäžéźć èŽé»èź€éœæŻćčłéș
*/
let txtHtml = ``;
if (isFold) {
if(isTag) {
// æ çŸ
const spanText = text_arr.map((text) => {
return `${text}`;
}).join('');
txtHtml = `
`
}
})()}
${spanText}
`;
} else {
// æććæšȘćč
txtHtml = `
${first_automatic_discount.config.text}
`;
}
} else {
// æććæšȘćč
, äœæ çŸæèȘć·±çæ ·ćŒïŒäžäžéźć èŽæćçŹæ ·ćŒ
const spanText = text_arr.map((text, index) => {
const condition_value = condition_values[index];
if(isAddToCart) {
return `
${text}
`
} else {
return `${text}`;
}
}).join('');
// éœæŻçș”ććžć±ïŒæ çŸæéŽè·
txtHtml = `${spanText}
`;
}
/**
* æŸç€șćŸæ ç〿
*/
const discount_type = item.discount_type;
const isShowRebateIcon = ["DT_REBATE_CTQ_OTP", "DT_REBATE_CTQ_OTR", "DT_REBATE_CTA_OTP", "DT_REBATE_CTA_OTR", "DT_M_N_DISCOUNT"].includes(discount_type) && isTextAndBanner
const isShowBxgyIcon = ["DT_BUY_ONE_GET_ONE", "DT_BUY_X_GET_Y"].includes(discount_type)
const isShowBundleIcon = ["DT_CLASSIC_BUNDLE","DT_MIX_MATCH_BUNDLE"].includes(discount_type);
/**
* æžČæäžææĄææœć±çææŁćèĄš
*/
const discount_list_html = (curItem) => {
return `
${function() {
return curItem.discount.map(childItem => {
return `
`}).join('');
}()}
`;
}
return `
`;
}).join('');
})()}
${childItem.config.text}
${childItem.config.text}
Flash sale cannot be displayed here. Please move it to the product detail area.
(This prompt will not be displayed on the client-side)
${saleCount}
sold
${function() {
if (banner.type === "TYPE_TWO") return `
`
return ``;
}()}
` : ``;
const flashSaleDesc = discount_info.limit_user_product_discount > -1 ? `
Promo products limited to ${discount_info.limit_user_product_discount} item per person
` : "";
return `
${bgImg}
${countdownDom}
${flashSaleDesc}
${titleIcon}
${productDisplay.text}
${progressBarDom}
${dd}D
·
${hours}
${hh}
:
${mm}
:
${ss}
.
${sss}
Buy More Save More!
Quantity
To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature.
${data.module_title}
${item.title}
Description
Click "ADD TO CART" To Get Yours Now!
HOW TO PAY
â Payments Via PayPalÂź, Debit and CreditCard.
  Add to cart first, and Check out, then select Shipping method and Payment method.
đ Worldwide Shipping â Â
Delivery typically takes different times based on the different destination. You may receive your items earlier. Tracking Numbers will always be sent so you can track it every step of the way!Â
đ 100% Risk-Free Purchase
Â
If you bought it and felt that it is not for you, don't worry. Send a message for us, and we will make it right by offering you a replacement or refund. 100% Simple & Risk-Free process.
Â
Â