Vintage Floral Jacquard Comfy Socks Set
${function() {
const variantData = data.variant || {"id":"09d4349e-2d23-4d24-904b-c6b3137d347e","product_id":"0c785060-d8c8-42b5-9de2-f68a67c449de","title":"blue-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O02A-blue-onesize","barcode":"","position":1,"option1":"blue","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/810278d2934a3ea4eb723d4153b68c2d.jpeg","path":"810278d2934a3ea4eb723d4153b68c2d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"18.99","retail_price":"0","available":true,"url":"\/products\/vintage-floral-jacquard-comfy-socks-set?variant=09d4349e-2d23-4d24-904b-c6b3137d347e","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"one size"}],"off_ratio":0,"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}
`
}()}
${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":"09d4349e-2d23-4d24-904b-c6b3137d347e","product_id":"0c785060-d8c8-42b5-9de2-f68a67c449de","title":"blue-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O02A-blue-onesize","barcode":"","position":1,"option1":"blue","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/810278d2934a3ea4eb723d4153b68c2d.jpeg","path":"810278d2934a3ea4eb723d4153b68c2d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"18.99","retail_price":"0","available":true,"url":"\/products\/vintage-floral-jacquard-comfy-socks-set?variant=09d4349e-2d23-4d24-904b-c6b3137d347e","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"one size"}],"off_ratio":0,"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 `
`;
}()}