Ingvn - Black White Elegant Print Patchwork Draw String O Neck Plus Size Three Pieces
${function() {
const variantData = data.variant || {"id":"d0d1d028-83ea-46fd-9571-e10db63b6fd1","product_id":"fccc4743-8b4a-4afc-83ff-6263ae21c6cc","title":"Black White-XL","weight_unit":"g","inventory_quantity":999,"sku":"Black White-XL","barcode":"","position":1,"option1":"Black White","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/405e87ac1479803a676bf9ebb1f95d45.jpeg","path":"405e87ac1479803a676bf9ebb1f95d45.jpeg","width":667,"height":1000,"alt":"Ingvn - Black White Elegant Print Patchwork Draw String O Neck Plus Size Three Pieces \/ Xl Plus","aspect_ratio":0.667},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.99","retail_price":"0","available":true,"url":"\/products\/black-white-elegant-print-patchwork-draw-string-o-neck-plus-size-three-pieces?variant=d0d1d028-83ea-46fd-9571-e10db63b6fd1","available_quantity":999999999,"options":[{"name":"Color","value":"Black White"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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":"d0d1d028-83ea-46fd-9571-e10db63b6fd1","product_id":"fccc4743-8b4a-4afc-83ff-6263ae21c6cc","title":"Black White-XL","weight_unit":"g","inventory_quantity":999,"sku":"Black White-XL","barcode":"","position":1,"option1":"Black White","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/405e87ac1479803a676bf9ebb1f95d45.jpeg","path":"405e87ac1479803a676bf9ebb1f95d45.jpeg","width":667,"height":1000,"alt":"Ingvn - Black White Elegant Print Patchwork Draw String O Neck Plus Size Three Pieces \/ Xl Plus","aspect_ratio":0.667},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.99","retail_price":"0","available":true,"url":"\/products\/black-white-elegant-print-patchwork-draw-string-o-neck-plus-size-three-pieces?variant=d0d1d028-83ea-46fd-9571-e10db63b6fd1","available_quantity":999999999,"options":[{"name":"Color","value":"Black White"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}