MOC-140900 The White City (Architecture Collection)
${function() {
const variantData = data.variant || {"id":"76c56aa7-8828-419f-9fc9-7e10a4708c99","product_id":"8a758574-96ae-498c-9e1a-8a5cfde46c77","title":"","weight_unit":"kg","inventory_quantity":998,"sku":"A0762","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":120.13,"min_quantity":1}],"weight":"1.37","compare_at_price":"120.13","price":"120.13","retail_price":"120.13","available":true,"url":"\/products\/moc-140900-the-white-city-architecture-collection?variant=76c56aa7-8828-419f-9fc9-7e10a4708c99","available_quantity":998,"options":[],"off_ratio":0,"flashsale_info":[],"sales":101};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
Sku : A0762
Weight : 1.37kg
${function(){
const variantData = data.variant || {"id":"76c56aa7-8828-419f-9fc9-7e10a4708c99","product_id":"8a758574-96ae-498c-9e1a-8a5cfde46c77","title":"","weight_unit":"kg","inventory_quantity":998,"sku":"A0762","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":120.13,"min_quantity":1}],"weight":"1.37","compare_at_price":"120.13","price":"120.13","retail_price":"120.13","available":true,"url":"\/products\/moc-140900-the-white-city-architecture-collection?variant=76c56aa7-8828-419f-9fc9-7e10a4708c99","available_quantity":998,"options":[],"off_ratio":0,"flashsale_info":[],"sales":101};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 20;
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 `
`;
}()}