Soccer socks DO NOT DISTURB WATCHING FOOTBALL casual socks
${function() {
const variantData = data.variant || {"id":"1409609e-4e19-4bf7-8206-7d4d203b4ecb","product_id":"2dc6819f-85ef-4853-b775-007b47d6444f","title":"white+red","weight_unit":"kg","inventory_quantity":0,"sku":"662211252131-white+red","barcode":"","position":3,"option1":"white+red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d227aa16fdab334dfebdb0b5bbcf9adb.jpeg","path":"d227aa16fdab334dfebdb0b5bbcf9adb.jpeg","width":1351,"height":1500,"alt":"","aspect_ratio":0.9006666666666666},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"0.05","compare_at_price":"11.1","price":"8.99","retail_price":"11.1","available":true,"url":"\/products\/soccer-socks-do-not-disturb-watching-football-casual-socks?variant=1409609e-4e19-4bf7-8206-7d4d203b4ecb","available_quantity":999999999,"options":[{"name":"color","value":"white+red"}],"off_ratio":19,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"1409609e-4e19-4bf7-8206-7d4d203b4ecb","product_id":"2dc6819f-85ef-4853-b775-007b47d6444f","title":"white+red","weight_unit":"kg","inventory_quantity":0,"sku":"662211252131-white+red","barcode":"","position":3,"option1":"white+red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d227aa16fdab334dfebdb0b5bbcf9adb.jpeg","path":"d227aa16fdab334dfebdb0b5bbcf9adb.jpeg","width":1351,"height":1500,"alt":"","aspect_ratio":0.9006666666666666},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"0.05","compare_at_price":"11.1","price":"8.99","retail_price":"11.1","available":true,"url":"\/products\/soccer-socks-do-not-disturb-watching-football-casual-socks?variant=1409609e-4e19-4bf7-8206-7d4d203b4ecb","available_quantity":999999999,"options":[{"name":"color","value":"white+red"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}