Early Summer Hot Sale 48% OFF - 3 in 1 Rotatable Socket Converter (BUY 4 GET 2 FREE NOW)
${function() {
const variantData = data.variant || {"id":"1cfb85e4-3abe-407c-b714-75e36adb9cff","product_id":"cd6a4f6c-2ea0-4eb4-8bbb-fe6e563198e9","title":"YELLOW","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1711943676613","barcode":"","position":3,"option1":"YELLOW","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72421cc57e90223db2488c9003e8b1ab.jpeg","path":"72421cc57e90223db2488c9003e8b1ab.jpeg","width":806,"height":523,"alt":"","aspect_ratio":1.5411089866156789},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"15.67","price":"7.99","retail_price":"15.67","available":true,"url":"\/products\/clearance-sale-now-48-off-3-in-1-rotatable-socket-converter-buy-5-get-3-free-free-shipping?variant=1cfb85e4-3abe-407c-b714-75e36adb9cff","available_quantity":1000,"options":[{"name":"COLOR","value":"YELLOW"}],"off_ratio":49,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
YELLOW
${function(){
const optName = "COLOR";
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
$7.99
${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":"1cfb85e4-3abe-407c-b714-75e36adb9cff","product_id":"cd6a4f6c-2ea0-4eb4-8bbb-fe6e563198e9","title":"YELLOW","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1711943676613","barcode":"","position":3,"option1":"YELLOW","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72421cc57e90223db2488c9003e8b1ab.jpeg","path":"72421cc57e90223db2488c9003e8b1ab.jpeg","width":806,"height":523,"alt":"","aspect_ratio":1.5411089866156789},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"15.67","price":"7.99","retail_price":"15.67","available":true,"url":"\/products\/clearance-sale-now-48-off-3-in-1-rotatable-socket-converter-buy-5-get-3-free-free-shipping?variant=1cfb85e4-3abe-407c-b714-75e36adb9cff","available_quantity":1000,"options":[{"name":"COLOR","value":"YELLOW"}],"off_ratio":49,"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":"1cfb85e4-3abe-407c-b714-75e36adb9cff","product_id":"cd6a4f6c-2ea0-4eb4-8bbb-fe6e563198e9","title":"YELLOW","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1711943676613","barcode":"","position":3,"option1":"YELLOW","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72421cc57e90223db2488c9003e8b1ab.jpeg","path":"72421cc57e90223db2488c9003e8b1ab.jpeg","width":806,"height":523,"alt":"","aspect_ratio":1.5411089866156789},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"15.67","price":"7.99","retail_price":"15.67","available":true,"url":"\/products\/clearance-sale-now-48-off-3-in-1-rotatable-socket-converter-buy-5-get-3-free-free-shipping?variant=1cfb85e4-3abe-407c-b714-75e36adb9cff","available_quantity":1000,"options":[{"name":"COLOR","value":"YELLOW"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}