MOC-145087 Mini 910002 Studgate Train Station
${function() {
const variantData = data.variant || {"id":"db3fb259-557f-49bc-8659-276f4f2cae3d","product_id":"cd933bd5-b861-46aa-928a-c8d2d1099a0f","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"A0792","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":28.02,"min_quantity":1}],"weight":"0.24","compare_at_price":"28.02","price":"28.02","retail_price":"28.02","available":true,"url":"\/products\/moc-145087-mini-910002-studgate-train-station?variant=db3fb259-557f-49bc-8659-276f4f2cae3d","available_quantity":1000,"options":[],"off_ratio":0,"flashsale_info":[],"sales":100};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
Sku : A0792
Weight : 0.24kg
${function(){
const variantData = data.variant || {"id":"db3fb259-557f-49bc-8659-276f4f2cae3d","product_id":"cd933bd5-b861-46aa-928a-c8d2d1099a0f","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"A0792","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":28.02,"min_quantity":1}],"weight":"0.24","compare_at_price":"28.02","price":"28.02","retail_price":"28.02","available":true,"url":"\/products\/moc-145087-mini-910002-studgate-train-station?variant=db3fb259-557f-49bc-8659-276f4f2cae3d","available_quantity":1000,"options":[],"off_ratio":0,"flashsale_info":[],"sales":100};
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 `
`;
}()}