Ingvn - Cropped Round Neck Short Sleeve Tee
${function() {
const variantData = data.variant || {"id":"ad289b4e-3250-4cab-9a36-47a727718b5c","product_id":"9afbfcd5-13fa-4df0-b098-4847da105b12","title":"White-XS","weight_unit":"g","inventory_quantity":777,"sku":"100100098163566","barcode":"100100098163566","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f51a90c320bef2359d2da7de733754e0.jpeg","path":"f51a90c320bef2359d2da7de733754e0.jpeg","width":667,"height":1000,"alt":"Ingvn - Cropped Round Neck Short Sleeve Tee White \/ Xs","aspect_ratio":0.667},"wholesale_price":[{"price":18.84,"min_quantity":1}],"weight":"110","compare_at_price":"0","price":"18.84","retail_price":"0","available":true,"url":"\/products\/cropped-round-neck-short-sleeve-tee?variant=ad289b4e-3250-4cab-9a36-47a727718b5c","available_quantity":777,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"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.
Sku : 100100098163566
Weight : 110g
Barcode : 100100098163566
${function(){
const variantData = data.variant || {"id":"ad289b4e-3250-4cab-9a36-47a727718b5c","product_id":"9afbfcd5-13fa-4df0-b098-4847da105b12","title":"White-XS","weight_unit":"g","inventory_quantity":777,"sku":"100100098163566","barcode":"100100098163566","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f51a90c320bef2359d2da7de733754e0.jpeg","path":"f51a90c320bef2359d2da7de733754e0.jpeg","width":667,"height":1000,"alt":"Ingvn - Cropped Round Neck Short Sleeve Tee White \/ Xs","aspect_ratio":0.667},"wholesale_price":[{"price":18.84,"min_quantity":1}],"weight":"110","compare_at_price":"0","price":"18.84","retail_price":"0","available":true,"url":"\/products\/cropped-round-neck-short-sleeve-tee?variant=ad289b4e-3250-4cab-9a36-47a727718b5c","available_quantity":777,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}