MOC-134580 Imperial Nu-Class Attack Shuttle
${function() {
const variantData = data.variant || {"id":"f1bf8eb9-1bfc-44e0-8ef8-b5ec3de6974e","product_id":"f0d7f114-22ae-4646-b4ad-0abd9819da48","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"A0540","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":60.05,"min_quantity":1}],"weight":"0.63","compare_at_price":"60.05","price":"60.05","retail_price":"60.05","available":true,"url":"\/products\/moc-134580-imperial-nu-class-attack-shuttle?variant=f1bf8eb9-1bfc-44e0-8ef8-b5ec3de6974e","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 : A0540
Weight : 0.63kg
${function(){
const variantData = data.variant || {"id":"f1bf8eb9-1bfc-44e0-8ef8-b5ec3de6974e","product_id":"f0d7f114-22ae-4646-b4ad-0abd9819da48","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"A0540","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":60.05,"min_quantity":1}],"weight":"0.63","compare_at_price":"60.05","price":"60.05","retail_price":"60.05","available":true,"url":"\/products\/moc-134580-imperial-nu-class-attack-shuttle?variant=f1bf8eb9-1bfc-44e0-8ef8-b5ec3de6974e","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 `
`;
}()}