Phoenix Art Printing 2-pieces Set
${function() {
const variantData = data.variant || {"id":"4d1e8b65-688e-40c5-b07f-181e04b8ab87","product_id":"def091e8-fce0-4fc4-8d8f-9afae6ab9554","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230801933-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54d54c00d35b1e66b534664bbdb50759.jpeg","path":"54d54c00d35b1e66b534664bbdb50759.jpeg","width":600,"height":899,"alt":"","aspect_ratio":0.6674082313681868},"wholesale_price":[{"price":53.34,"min_quantity":1}],"weight":"0.5","compare_at_price":"86.24","price":"53.34","retail_price":"86.24","available":true,"url":"\/products\/phoenix-art-printing-2-pieces-set-04uf?variant=4d1e8b65-688e-40c5-b07f-181e04b8ab87","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1};
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":"4d1e8b65-688e-40c5-b07f-181e04b8ab87","product_id":"def091e8-fce0-4fc4-8d8f-9afae6ab9554","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230801933-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54d54c00d35b1e66b534664bbdb50759.jpeg","path":"54d54c00d35b1e66b534664bbdb50759.jpeg","width":600,"height":899,"alt":"","aspect_ratio":0.6674082313681868},"wholesale_price":[{"price":53.34,"min_quantity":1}],"weight":"0.5","compare_at_price":"86.24","price":"53.34","retail_price":"86.24","available":true,"url":"\/products\/phoenix-art-printing-2-pieces-set-04uf?variant=4d1e8b65-688e-40c5-b07f-181e04b8ab87","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1};
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 `
`;
}()}