Vintage Lace Hem Beaded Jacquard Socks
${function() {
const variantData = data.variant || {"id":"e9ea7bce-6475-419c-b72c-47cd2c5ab3e0","product_id":"fce55173-18d9-4010-949b-e8bef076ea13","title":"white-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O01E-white-onesize","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c3bd7c622d6a6f55436509eba509bf6.jpeg","path":"6c3bd7c622d6a6f55436509eba509bf6.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/vintage-lace-hem-beaded-jacquard-socks?variant=e9ea7bce-6475-419c-b72c-47cd2c5ab3e0","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"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":"e9ea7bce-6475-419c-b72c-47cd2c5ab3e0","product_id":"fce55173-18d9-4010-949b-e8bef076ea13","title":"white-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O01E-white-onesize","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c3bd7c622d6a6f55436509eba509bf6.jpeg","path":"6c3bd7c622d6a6f55436509eba509bf6.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/vintage-lace-hem-beaded-jacquard-socks?variant=e9ea7bce-6475-419c-b72c-47cd2c5ab3e0","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"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 `
`;
}()}