(Summer Hot Sale- 47% OFF) Under-Cabinet Hanger Rack (6 Hooks)- Buy 2 Get Extra 10% OFF
${function() {
const variantData = data.variant || {"id":"1e2fe854-e515-47e4-bd41-9ec681863723","product_id":"28f274be-4984-48c6-bc83-d3de3e8c3ebe","title":"BLACK","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1711944838520","barcode":"","position":1,"option1":"BLACK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c282ddf21ff32f441dcb40f98e223a5.jpeg","path":"6c282ddf21ff32f441dcb40f98e223a5.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"0","compare_at_price":"24.49","price":"12.98","retail_price":"24.49","available":true,"url":"\/products\/new-year-sale-save-50-off-under-cabinet-hanger-rack-6-hooks-buy-2-get-extra-10-off-itfs?variant=1e2fe854-e515-47e4-bd41-9ec681863723","available_quantity":1000,"options":[{"name":"Buy 2 Get Extra 10% OFF","value":"BLACK"}],"off_ratio":47,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Buy 2 Get Extra 10% Off:
BLACK
${function(){
const optName = "Buy 2 Get Extra 10% OFF";
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}
`
}()}
Add to cart
$12.98
${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":"1e2fe854-e515-47e4-bd41-9ec681863723","product_id":"28f274be-4984-48c6-bc83-d3de3e8c3ebe","title":"BLACK","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1711944838520","barcode":"","position":1,"option1":"BLACK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c282ddf21ff32f441dcb40f98e223a5.jpeg","path":"6c282ddf21ff32f441dcb40f98e223a5.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"0","compare_at_price":"24.49","price":"12.98","retail_price":"24.49","available":true,"url":"\/products\/new-year-sale-save-50-off-under-cabinet-hanger-rack-6-hooks-buy-2-get-extra-10-off-itfs?variant=1e2fe854-e515-47e4-bd41-9ec681863723","available_quantity":1000,"options":[{"name":"Buy 2 Get Extra 10% OFF","value":"BLACK"}],"off_ratio":47,"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":"1e2fe854-e515-47e4-bd41-9ec681863723","product_id":"28f274be-4984-48c6-bc83-d3de3e8c3ebe","title":"BLACK","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1711944838520","barcode":"","position":1,"option1":"BLACK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c282ddf21ff32f441dcb40f98e223a5.jpeg","path":"6c282ddf21ff32f441dcb40f98e223a5.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"0","compare_at_price":"24.49","price":"12.98","retail_price":"24.49","available":true,"url":"\/products\/new-year-sale-save-50-off-under-cabinet-hanger-rack-6-hooks-buy-2-get-extra-10-off-itfs?variant=1e2fe854-e515-47e4-bd41-9ec681863723","available_quantity":1000,"options":[{"name":"Buy 2 Get Extra 10% OFF","value":"BLACK"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}