Double Compression Zipper Shorts High Waisted
${function() {
const variantData = data.variant || {"id":"ad6e6f26-8120-402b-9d60-7bd815d0531f","product_id":"bfdddca7-0331-4bb8-ae5e-c20c6faf1225","title":"Apricot-S","weight_unit":"g","inventory_quantity":0,"sku":"CAF-1220309033_APT_S","barcode":"","position":7,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ed8f72f255ff10e4bce7c4c767b4e52.jpeg","path":"7ed8f72f255ff10e4bce7c4c767b4e52.jpeg","width":720,"height":900,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":32.29,"min_quantity":1}],"weight":"200","compare_at_price":"40.36","price":"32.29","retail_price":"40.36","available":true,"url":"\/products\/double-compression-zipper-shorts-high-waisted?variant=ad6e6f26-8120-402b-9d60-7bd815d0531f","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":20,"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":"ad6e6f26-8120-402b-9d60-7bd815d0531f","product_id":"bfdddca7-0331-4bb8-ae5e-c20c6faf1225","title":"Apricot-S","weight_unit":"g","inventory_quantity":0,"sku":"CAF-1220309033_APT_S","barcode":"","position":7,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ed8f72f255ff10e4bce7c4c767b4e52.jpeg","path":"7ed8f72f255ff10e4bce7c4c767b4e52.jpeg","width":720,"height":900,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":32.29,"min_quantity":1}],"weight":"200","compare_at_price":"40.36","price":"32.29","retail_price":"40.36","available":true,"url":"\/products\/double-compression-zipper-shorts-high-waisted?variant=ad6e6f26-8120-402b-9d60-7bd815d0531f","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":20,"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 `
`;
}()}