Classic Solid Color Skirt
${function() {
const variantData = data.variant || {"id":"d824eaec-6ffa-4440-9fa3-3a1f4a4785d9","product_id":"db32ee15-d6c4-458b-ba99-7f7773fc2f22","title":"Light green-75","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011508-lightgreen-75","barcode":"","position":4,"option1":"Light green","option2":"75","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93ae9e768b7bdf93b85d67808c66517c.jpeg","path":"93ae9e768b7bdf93b85d67808c66517c.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.05,"min_quantity":1}],"weight":"0.26","compare_at_price":"37.59","price":"31.05","retail_price":"37.59","available":true,"url":"\/products\/classic-solid-color-skirt?variant=d824eaec-6ffa-4440-9fa3-3a1f4a4785d9","available_quantity":999999999,"options":[{"name":"Color","value":"Light green"},{"name":"specification","value":"75"}],"off_ratio":17,"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":"d824eaec-6ffa-4440-9fa3-3a1f4a4785d9","product_id":"db32ee15-d6c4-458b-ba99-7f7773fc2f22","title":"Light green-75","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011508-lightgreen-75","barcode":"","position":4,"option1":"Light green","option2":"75","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93ae9e768b7bdf93b85d67808c66517c.jpeg","path":"93ae9e768b7bdf93b85d67808c66517c.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.05,"min_quantity":1}],"weight":"0.26","compare_at_price":"37.59","price":"31.05","retail_price":"37.59","available":true,"url":"\/products\/classic-solid-color-skirt?variant=d824eaec-6ffa-4440-9fa3-3a1f4a4785d9","available_quantity":999999999,"options":[{"name":"Color","value":"Light green"},{"name":"specification","value":"75"}],"off_ratio":17,"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 `
`;
}()}