Casual Solid Button Shirt Collar Blouse
${function() {
const variantData = data.variant || {"id":"2af72389-ba61-48f4-bf72-3236a1ecd227","product_id":"8564c989-e05b-4f4c-b96b-2e3360a922e2","title":"black-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21012532-black-s","barcode":"","position":9,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5897fcd6e0d9333f4c6c2fb131bac06b.jpeg","path":"5897fcd6e0d9333f4c6c2fb131bac06b.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":29.86,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.55","price":"29.86","retail_price":"35.55","available":true,"url":"\/products\/casual-solid-button-shirt-collar-blouse?variant=2af72389-ba61-48f4-bf72-3236a1ecd227","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":2};
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":"2af72389-ba61-48f4-bf72-3236a1ecd227","product_id":"8564c989-e05b-4f4c-b96b-2e3360a922e2","title":"black-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21012532-black-s","barcode":"","position":9,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5897fcd6e0d9333f4c6c2fb131bac06b.jpeg","path":"5897fcd6e0d9333f4c6c2fb131bac06b.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":29.86,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.55","price":"29.86","retail_price":"35.55","available":true,"url":"\/products\/casual-solid-button-shirt-collar-blouse?variant=2af72389-ba61-48f4-bf72-3236a1ecd227","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":2};
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 `
`;
}()}