MOC-75987 Hubble Space Telescope 1:25 Scale
${function() {
const variantData = data.variant || {"id":"c5223113-5ac9-46d5-981e-c72e9dbfbbad","product_id":"29ed29ef-f06a-418e-94fc-7a185b8d2c3d","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"A0071","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":322.8,"min_quantity":1}],"weight":"3.47","compare_at_price":"322.8","price":"322.8","retail_price":"322.8","available":true,"url":"\/products\/moc-75987-hubble-space-telescope-1-25-scale?variant=c5223113-5ac9-46d5-981e-c72e9dbfbbad","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.
${function(){
const variantData = data.variant || {"id":"c5223113-5ac9-46d5-981e-c72e9dbfbbad","product_id":"29ed29ef-f06a-418e-94fc-7a185b8d2c3d","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"A0071","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":322.8,"min_quantity":1}],"weight":"3.47","compare_at_price":"322.8","price":"322.8","retail_price":"322.8","available":true,"url":"\/products\/moc-75987-hubble-space-telescope-1-25-scale?variant=c5223113-5ac9-46d5-981e-c72e9dbfbbad","available_quantity":1000,"options":[],"off_ratio":0,"flashsale_info":[],"sales":100};
return `
Sku : ${variantData && variantData.sku}
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 `
`;
}()}