Single Handle Single Hole Bathroom Faucet with Waterfall Spout and Pop-up Drain (1-Pack)
Model#: Y13W18B
${function() {
const variantData = data.variant || {"id":"ed585f33-0e00-458f-a7f3-ad5052e75da6","product_id":"33461939-4a4c-4fef-a65c-8355c5da6b03","title":"Brushed Nickel","weight_unit":"kg","inventory_quantity":9,"sku":"Y13W18B-BN","barcode":"","position":1,"option1":"Brushed Nickel","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/862b7e43a12694e5fdffcb17fabb9995.jpg","path":"862b7e43a12694e5fdffcb17fabb9995.jpg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":249,"min_quantity":1}],"weight":"0","compare_at_price":"295","price":"249","retail_price":"295","available":true,"url":"\/products\/single-handle-single-hole-bathroom-faucet-with-waterfall-spout-and-pop-up-drain-1-pack?variant=ed585f33-0e00-458f-a7f3-ad5052e75da6","available_quantity":9,"options":[{"name":"Finish","value":"Brushed Nickel"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Finish:
Brushed Nickel
${function(){
const optName = "Finish";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
Add to cart
$249.00
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"ed585f33-0e00-458f-a7f3-ad5052e75da6","product_id":"33461939-4a4c-4fef-a65c-8355c5da6b03","title":"Brushed Nickel","weight_unit":"kg","inventory_quantity":9,"sku":"Y13W18B-BN","barcode":"","position":1,"option1":"Brushed Nickel","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/862b7e43a12694e5fdffcb17fabb9995.jpg","path":"862b7e43a12694e5fdffcb17fabb9995.jpg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":249,"min_quantity":1}],"weight":"0","compare_at_price":"295","price":"249","retail_price":"295","available":true,"url":"\/products\/single-handle-single-hole-bathroom-faucet-with-waterfall-spout-and-pop-up-drain-1-pack?variant=ed585f33-0e00-458f-a7f3-ad5052e75da6","available_quantity":9,"options":[{"name":"Finish","value":"Brushed Nickel"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"ed585f33-0e00-458f-a7f3-ad5052e75da6","product_id":"33461939-4a4c-4fef-a65c-8355c5da6b03","title":"Brushed Nickel","weight_unit":"kg","inventory_quantity":9,"sku":"Y13W18B-BN","barcode":"","position":1,"option1":"Brushed Nickel","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/862b7e43a12694e5fdffcb17fabb9995.jpg","path":"862b7e43a12694e5fdffcb17fabb9995.jpg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":249,"min_quantity":1}],"weight":"0","compare_at_price":"295","price":"249","retail_price":"295","available":true,"url":"\/products\/single-handle-single-hole-bathroom-faucet-with-waterfall-spout-and-pop-up-drain-1-pack?variant=ed585f33-0e00-458f-a7f3-ad5052e75da6","available_quantity":9,"options":[{"name":"Finish","value":"Brushed Nickel"}],"off_ratio":16,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 399;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}