Passionate Floral Printing Two-Pieces Set
${function() {
const variantData = data.variant || {"id":"74ad82cc-eb6a-4733-824e-276d33ecc797","product_id":"604ef235-89ca-4f1a-897e-dcbe08f1f246","title":"As It-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2310196855-As It-S","barcode":"","position":1,"option1":"As It","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/528eefb7e97296c7ebe1cd494bef8121.jpeg","path":"528eefb7e97296c7ebe1cd494bef8121.jpeg","width":933,"height":1200,"alt":"","aspect_ratio":0.7775},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"77.28","price":"49.99","retail_price":"77.28","available":true,"url":"\/products\/passionate-floral-printing-two-pieces-set?variant=74ad82cc-eb6a-4733-824e-276d33ecc797","available_quantity":999999999,"options":[{"name":"Color","value":"As It"},{"name":"Size","value":"S"}],"off_ratio":35,"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":"74ad82cc-eb6a-4733-824e-276d33ecc797","product_id":"604ef235-89ca-4f1a-897e-dcbe08f1f246","title":"As It-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2310196855-As It-S","barcode":"","position":1,"option1":"As It","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/528eefb7e97296c7ebe1cd494bef8121.jpeg","path":"528eefb7e97296c7ebe1cd494bef8121.jpeg","width":933,"height":1200,"alt":"","aspect_ratio":0.7775},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"77.28","price":"49.99","retail_price":"77.28","available":true,"url":"\/products\/passionate-floral-printing-two-pieces-set?variant=74ad82cc-eb6a-4733-824e-276d33ecc797","available_quantity":999999999,"options":[{"name":"Color","value":"As It"},{"name":"Size","value":"S"}],"off_ratio":35,"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 `
`;
}()}