Ingvn - Cropped One-Shoulder Striped Tie Shoulder Tank
${function() {
const variantData = data.variant || {"id":"a3876c5e-2762-446d-813c-dba9700723f4","product_id":"af3c1118-f49f-4c28-a825-98e9ffa68dd7","title":"Sand-S","weight_unit":"g","inventory_quantity":777,"sku":"100101304233850","barcode":"100101304233850","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f957b7899500ed7b735f5c58fd19ae1.jpeg","path":"2f957b7899500ed7b735f5c58fd19ae1.jpeg","width":667,"height":1000,"alt":"Ingvn - Cropped One-Shoulder Striped Tie Shoulder Tank Sand \/ S","aspect_ratio":0.667},"wholesale_price":[{"price":22.34,"min_quantity":1}],"weight":"77.14","compare_at_price":"0","price":"22.34","retail_price":"0","available":true,"url":"\/products\/cropped-one-shoulder-striped-tie-shoulder-tank?variant=a3876c5e-2762-446d-813c-dba9700723f4","available_quantity":777,"options":[{"name":"Color","value":"Sand"},{"name":"Size","value":"S"}],"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 : 100101304233850
Weight : 77.14g
Barcode : 100101304233850
${function(){
const variantData = data.variant || {"id":"a3876c5e-2762-446d-813c-dba9700723f4","product_id":"af3c1118-f49f-4c28-a825-98e9ffa68dd7","title":"Sand-S","weight_unit":"g","inventory_quantity":777,"sku":"100101304233850","barcode":"100101304233850","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f957b7899500ed7b735f5c58fd19ae1.jpeg","path":"2f957b7899500ed7b735f5c58fd19ae1.jpeg","width":667,"height":1000,"alt":"Ingvn - Cropped One-Shoulder Striped Tie Shoulder Tank Sand \/ S","aspect_ratio":0.667},"wholesale_price":[{"price":22.34,"min_quantity":1}],"weight":"77.14","compare_at_price":"0","price":"22.34","retail_price":"0","available":true,"url":"\/products\/cropped-one-shoulder-striped-tie-shoulder-tank?variant=a3876c5e-2762-446d-813c-dba9700723f4","available_quantity":777,"options":[{"name":"Color","value":"Sand"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}