Girls Cotton Linen Suspender Ruffle Pleated Dress
${function() {
const variantData = data.variant || {"id":"9eb25102-9cd8-4d24-9026-3cc47dd6133c","product_id":"6abb34fa-3959-456a-8d6c-52219a3596c4","title":"pink-80cm","weight_unit":"kg","inventory_quantity":0,"sku":"662303025162-pink-80cm","barcode":"","position":1,"option1":"pink","option2":"80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ceeb09acb4ccf5f31bd9535532a0b61b.jpeg","path":"ceeb09acb4ccf5f31bd9535532a0b61b.jpeg","width":794,"height":793,"alt":"","aspect_ratio":1.0012610340479193},"wholesale_price":[{"price":29.79,"min_quantity":1}],"weight":"0.2","compare_at_price":"39","price":"29.79","retail_price":"39","available":true,"url":"\/products\/girls-cotton-linen-suspender-ruffle-pleated-dress?variant=9eb25102-9cd8-4d24-9026-3cc47dd6133c","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"height","value":"80cm"}],"off_ratio":24,"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":"9eb25102-9cd8-4d24-9026-3cc47dd6133c","product_id":"6abb34fa-3959-456a-8d6c-52219a3596c4","title":"pink-80cm","weight_unit":"kg","inventory_quantity":0,"sku":"662303025162-pink-80cm","barcode":"","position":1,"option1":"pink","option2":"80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ceeb09acb4ccf5f31bd9535532a0b61b.jpeg","path":"ceeb09acb4ccf5f31bd9535532a0b61b.jpeg","width":794,"height":793,"alt":"","aspect_ratio":1.0012610340479193},"wholesale_price":[{"price":29.79,"min_quantity":1}],"weight":"0.2","compare_at_price":"39","price":"29.79","retail_price":"39","available":true,"url":"\/products\/girls-cotton-linen-suspender-ruffle-pleated-dress?variant=9eb25102-9cd8-4d24-9026-3cc47dd6133c","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"height","value":"80cm"}],"off_ratio":24,"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 `
`;
}()}