Women Underwear & Socks
${function() {
const variantData = data.variant || {"id":"c750f321-9689-4d33-8884-62904739380e","product_id":"fbb6c878-e9f1-465e-b7a2-421c3e898d50","title":"Deep Gray-One-size","weight_unit":"kg","inventory_quantity":0,"sku":"20101028-deepgray-onesize","barcode":"","position":3,"option1":"Deep Gray","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4ec88b28e72f584dc48f71e198b5ea4.jpeg","path":"d4ec88b28e72f584dc48f71e198b5ea4.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":10.04,"min_quantity":1}],"weight":"0.1","compare_at_price":"17.02","price":"10.04","retail_price":"17.02","available":true,"url":"\/products\/women-underwear-socks-6ytl-qv1u?variant=c750f321-9689-4d33-8884-62904739380e","available_quantity":999999999,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"One-size"}],"off_ratio":41,"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":"c750f321-9689-4d33-8884-62904739380e","product_id":"fbb6c878-e9f1-465e-b7a2-421c3e898d50","title":"Deep Gray-One-size","weight_unit":"kg","inventory_quantity":0,"sku":"20101028-deepgray-onesize","barcode":"","position":3,"option1":"Deep Gray","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4ec88b28e72f584dc48f71e198b5ea4.jpeg","path":"d4ec88b28e72f584dc48f71e198b5ea4.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":10.04,"min_quantity":1}],"weight":"0.1","compare_at_price":"17.02","price":"10.04","retail_price":"17.02","available":true,"url":"\/products\/women-underwear-socks-6ytl-qv1u?variant=c750f321-9689-4d33-8884-62904739380e","available_quantity":999999999,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"One-size"}],"off_ratio":41,"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 `
`;
}()}