Casul Solid Black Skirt
${function() {
const variantData = data.variant || {"id":"11d2a61f-7015-417a-a5b6-d56d800c171c","product_id":"1bd0cc4e-d6e4-4733-ac17-1b5ef345cdac","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21043009-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b1b320e4b34546f49b14b141c5e17c30.jpeg","path":"b1b320e4b34546f49b14b141c5e17c30.jpeg","width":623,"height":623,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.07,"min_quantity":1}],"weight":"0","compare_at_price":"35.2","price":"29.07","retail_price":"35.2","available":true,"url":"\/products\/casul-solid-black-skirt?variant=11d2a61f-7015-417a-a5b6-d56d800c171c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"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":"11d2a61f-7015-417a-a5b6-d56d800c171c","product_id":"1bd0cc4e-d6e4-4733-ac17-1b5ef345cdac","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21043009-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b1b320e4b34546f49b14b141c5e17c30.jpeg","path":"b1b320e4b34546f49b14b141c5e17c30.jpeg","width":623,"height":623,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.07,"min_quantity":1}],"weight":"0","compare_at_price":"35.2","price":"29.07","retail_price":"35.2","available":true,"url":"\/products\/casul-solid-black-skirt?variant=11d2a61f-7015-417a-a5b6-d56d800c171c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"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 `
`;
}()}