⚡NEW-Mini Car Clock⌚ Great Gifts 🎁
😍I bought this for my dad and he and I are addicted to it.
${function() {
const variantData = data.variant || {"id":"1053b23b-412d-419a-9af8-a9bb2eac7d40","product_id":"cefaeea8-70d7-4a56-9702-5b38a9656b83","title":"WHITE FLUORESCENCE-BUY 1","weight_unit":"kg","inventory_quantity":0,"sku":"SLRQK3FM-0001","barcode":"","position":1,"option1":"WHITE FLUORESCENCE","option2":"BUY 1","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cce41221e764ea2cc2729db6a4df370d.jpeg","path":"cce41221e764ea2cc2729db6a4df370d.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.6","price":"29.99","retail_price":"40.6","available":true,"url":"\/products\/\u26a1new-mini-car-clock\u231a-great-gifts-\ud83c\udf81?variant=1053b23b-412d-419a-9af8-a9bb2eac7d40","available_quantity":999999999,"options":[{"name":"color","value":"WHITE FLUORESCENCE"},{"name":"qty","value":"BUY 1"}],"off_ratio":26,"flashsale_info":[],"sales":5674};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
WHITE FLUORESCENCE
${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}
`
}()}
Qty:
BUY 1
${function(){
const optName = "qty";
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
$29.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":"1053b23b-412d-419a-9af8-a9bb2eac7d40","product_id":"cefaeea8-70d7-4a56-9702-5b38a9656b83","title":"WHITE FLUORESCENCE-BUY 1","weight_unit":"kg","inventory_quantity":0,"sku":"SLRQK3FM-0001","barcode":"","position":1,"option1":"WHITE FLUORESCENCE","option2":"BUY 1","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cce41221e764ea2cc2729db6a4df370d.jpeg","path":"cce41221e764ea2cc2729db6a4df370d.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.6","price":"29.99","retail_price":"40.6","available":true,"url":"\/products\/\u26a1new-mini-car-clock\u231a-great-gifts-\ud83c\udf81?variant=1053b23b-412d-419a-9af8-a9bb2eac7d40","available_quantity":999999999,"options":[{"name":"color","value":"WHITE FLUORESCENCE"},{"name":"qty","value":"BUY 1"}],"off_ratio":26,"flashsale_info":[],"sales":5674};
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":"1053b23b-412d-419a-9af8-a9bb2eac7d40","product_id":"cefaeea8-70d7-4a56-9702-5b38a9656b83","title":"WHITE FLUORESCENCE-BUY 1","weight_unit":"kg","inventory_quantity":0,"sku":"SLRQK3FM-0001","barcode":"","position":1,"option1":"WHITE FLUORESCENCE","option2":"BUY 1","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cce41221e764ea2cc2729db6a4df370d.jpeg","path":"cce41221e764ea2cc2729db6a4df370d.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.6","price":"29.99","retail_price":"40.6","available":true,"url":"\/products\/\u26a1new-mini-car-clock\u231a-great-gifts-\ud83c\udf81?variant=1053b23b-412d-419a-9af8-a9bb2eac7d40","available_quantity":999999999,"options":[{"name":"color","value":"WHITE FLUORESCENCE"},{"name":"qty","value":"BUY 1"}],"off_ratio":26,"flashsale_info":[],"sales":5674};
return `
`
}()}