Christmas Tree Snowman Bell Socks Pendant Earrings
${function() {
const variantData = data.variant || {"id":"738f5d79-5b10-4aea-8ec3-9505e9336818","product_id":"5a17672d-3b14-4016-a397-eadfc70e8c4c","title":"Snowman","weight_unit":"kg","inventory_quantity":4894,"sku":"66211026313-Snowman","barcode":"","position":3,"option1":"Snowman","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/131eb06105106ecfc85b87470796b161.jpeg","path":"131eb06105106ecfc85b87470796b161.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":5.07,"min_quantity":1}],"weight":"0.01","compare_at_price":"6.18","price":"5.07","retail_price":"6.18","available":true,"url":"\/products\/christmas-tree-snowman-bell-socks-pendant-earrings?variant=738f5d79-5b10-4aea-8ec3-9505e9336818","available_quantity":999999999,"options":[{"name":"Color","value":"Snowman"}],"off_ratio":18,"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":"738f5d79-5b10-4aea-8ec3-9505e9336818","product_id":"5a17672d-3b14-4016-a397-eadfc70e8c4c","title":"Snowman","weight_unit":"kg","inventory_quantity":4894,"sku":"66211026313-Snowman","barcode":"","position":3,"option1":"Snowman","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/131eb06105106ecfc85b87470796b161.jpeg","path":"131eb06105106ecfc85b87470796b161.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":5.07,"min_quantity":1}],"weight":"0.01","compare_at_price":"6.18","price":"5.07","retail_price":"6.18","available":true,"url":"\/products\/christmas-tree-snowman-bell-socks-pendant-earrings?variant=738f5d79-5b10-4aea-8ec3-9505e9336818","available_quantity":999999999,"options":[{"name":"Color","value":"Snowman"}],"off_ratio":18,"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 `
`;
}()}