Ethnic Vintage Denim Jacket
${function() {
const variantData = data.variant || {"id":"d191dabe-66be-4848-be07-c9fc1d499882","product_id":"a1be5843-b565-455d-8574-fd2a50b4eef6","title":"Light Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308142534-Light Blue-S","barcode":"","position":5,"option1":"Light Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92871babc16fd1c7217ed2f75cfb5478.jpeg","path":"92871babc16fd1c7217ed2f75cfb5478.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":56.68,"min_quantity":1}],"weight":"0.65","compare_at_price":"80","price":"56.68","retail_price":"80","available":true,"url":"\/products\/ethnic-vintage-denim-jacket?variant=d191dabe-66be-4848-be07-c9fc1d499882","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Size","value":"S"}],"off_ratio":29,"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":"d191dabe-66be-4848-be07-c9fc1d499882","product_id":"a1be5843-b565-455d-8574-fd2a50b4eef6","title":"Light Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308142534-Light Blue-S","barcode":"","position":5,"option1":"Light Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92871babc16fd1c7217ed2f75cfb5478.jpeg","path":"92871babc16fd1c7217ed2f75cfb5478.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":56.68,"min_quantity":1}],"weight":"0.65","compare_at_price":"80","price":"56.68","retail_price":"80","available":true,"url":"\/products\/ethnic-vintage-denim-jacket?variant=d191dabe-66be-4848-be07-c9fc1d499882","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Size","value":"S"}],"off_ratio":29,"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 `
`;
}()}