Mohair Off-shoulder Irregular Sweater
${function() {
const variantData = data.variant || {"id":"6b869844-a3d1-4e4f-a3e8-580745b2e999","product_id":"a76c4c44-1ae1-45fd-9a4d-9b02ab0722e6","title":"Grey-F","weight_unit":"kg","inventory_quantity":9946,"sku":"221027861-Grey-F","barcode":"","position":1,"option1":"Grey","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4f9a7401e26006f66d14865ae2f7a30.jpeg","path":"b4f9a7401e26006f66d14865ae2f7a30.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.08,"min_quantity":1}],"weight":"0.5","compare_at_price":"56.35","price":"45.08","retail_price":"56.35","available":true,"url":"\/products\/mohair-off-shoulder-irregular-sweater?variant=6b869844-a3d1-4e4f-a3e8-580745b2e999","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"F"}],"off_ratio":20,"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":"6b869844-a3d1-4e4f-a3e8-580745b2e999","product_id":"a76c4c44-1ae1-45fd-9a4d-9b02ab0722e6","title":"Grey-F","weight_unit":"kg","inventory_quantity":9946,"sku":"221027861-Grey-F","barcode":"","position":1,"option1":"Grey","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4f9a7401e26006f66d14865ae2f7a30.jpeg","path":"b4f9a7401e26006f66d14865ae2f7a30.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.08,"min_quantity":1}],"weight":"0.5","compare_at_price":"56.35","price":"45.08","retail_price":"56.35","available":true,"url":"\/products\/mohair-off-shoulder-irregular-sweater?variant=6b869844-a3d1-4e4f-a3e8-580745b2e999","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"F"}],"off_ratio":20,"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 `
`;
}()}