Tie Dye Printing Sleeveless Dress
${function() {
const variantData = data.variant || {"id":"59545337-7b4e-4e7c-982b-042bfb6f9425","product_id":"52fb8d57-0f00-46e0-b608-4c8eb05bd9a1","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230508831-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/632fad33c512dcc0b1edf0c3e20a041f.jpeg","path":"632fad33c512dcc0b1edf0c3e20a041f.jpeg","width":1140,"height":1500,"alt":"","aspect_ratio":0.76},"wholesale_price":[{"price":31.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.6","price":"31.79","retail_price":"39.6","available":true,"url":"\/products\/tie-dye-printing-sleeveless-dress?variant=59545337-7b4e-4e7c-982b-042bfb6f9425","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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":"59545337-7b4e-4e7c-982b-042bfb6f9425","product_id":"52fb8d57-0f00-46e0-b608-4c8eb05bd9a1","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230508831-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/632fad33c512dcc0b1edf0c3e20a041f.jpeg","path":"632fad33c512dcc0b1edf0c3e20a041f.jpeg","width":1140,"height":1500,"alt":"","aspect_ratio":0.76},"wholesale_price":[{"price":31.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.6","price":"31.79","retail_price":"39.6","available":true,"url":"\/products\/tie-dye-printing-sleeveless-dress?variant=59545337-7b4e-4e7c-982b-042bfb6f9425","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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 `
`;
}()}