Irregular Shirt Stitching Elegant Cardigan
${function() {
const variantData = data.variant || {"id":"11a01d92-8d44-4adf-a1c5-9db2adc21bd6","product_id":"f2b465ff-441a-4561-adc5-a88af929beae","title":"Black-One Size","weight_unit":"kg","inventory_quantity":74452,"sku":"221027876-Black-One Size","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb3a374a3f2c566272d7f594234224a3.jpeg","path":"fb3a374a3f2c566272d7f594234224a3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.26,"min_quantity":1}],"weight":"0.45","compare_at_price":"56.41","price":"46.26","retail_price":"56.41","available":true,"url":"\/products\/irregular-shirt-stitching-elegant-cardigan?variant=11a01d92-8d44-4adf-a1c5-9db2adc21bd6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":18,"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":"11a01d92-8d44-4adf-a1c5-9db2adc21bd6","product_id":"f2b465ff-441a-4561-adc5-a88af929beae","title":"Black-One Size","weight_unit":"kg","inventory_quantity":74452,"sku":"221027876-Black-One Size","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb3a374a3f2c566272d7f594234224a3.jpeg","path":"fb3a374a3f2c566272d7f594234224a3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.26,"min_quantity":1}],"weight":"0.45","compare_at_price":"56.41","price":"46.26","retail_price":"56.41","available":true,"url":"\/products\/irregular-shirt-stitching-elegant-cardigan?variant=11a01d92-8d44-4adf-a1c5-9db2adc21bd6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":18,"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 `
`;
}()}