Lapel Tapestry Tassel Zip-Up Jacket
${function() {
const variantData = data.variant || {"id":"a40b6b07-f8a1-489f-b483-5c9ce066ec1a","product_id":"994a6832-d44e-4f19-b8b0-136fb7b9e9ce","title":"Green-M","weight_unit":"g","inventory_quantity":999,"sku":"XHS7JsN5v-Green-M","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":null,"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"48.89","retail_price":"60","available":true,"url":"\/products\/lapel-tapestry-tassel-zip-up-jacket?variant=a40b6b07-f8a1-489f-b483-5c9ce066ec1a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":19,"flashsale_info":[],"sales":1};
const saveType = "percentage";
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":"a40b6b07-f8a1-489f-b483-5c9ce066ec1a","product_id":"994a6832-d44e-4f19-b8b0-136fb7b9e9ce","title":"Green-M","weight_unit":"g","inventory_quantity":999,"sku":"XHS7JsN5v-Green-M","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":null,"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"48.89","retail_price":"60","available":true,"url":"\/products\/lapel-tapestry-tassel-zip-up-jacket?variant=a40b6b07-f8a1-489f-b483-5c9ce066ec1a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":19,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
`
}()}
people are viewing this right now
${function() {
const postageFreeAmount = 89;
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 `
`;
}()}