MOC-129936 Link’s House – The Legend Of Zelda Breath Of The Wild
${function() {
const variantData = data.variant || {"id":"9ebcd9a1-075a-4a5d-adc7-c0f5b2ffc02d","product_id":"c5d085bc-eea6-4bd9-9d56-6a96e1612a4f","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"A0431","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":116.99,"min_quantity":1}],"weight":"1.33","compare_at_price":"116.99","price":"116.99","retail_price":"116.99","available":true,"url":"\/products\/moc-129936-link-s-house-the-legend-of-zelda-breath-of-the-wild?variant=9ebcd9a1-075a-4a5d-adc7-c0f5b2ffc02d","available_quantity":999,"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 : A0431
Weight : 1.33kg
${function(){
const variantData = data.variant || {"id":"9ebcd9a1-075a-4a5d-adc7-c0f5b2ffc02d","product_id":"c5d085bc-eea6-4bd9-9d56-6a96e1612a4f","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"A0431","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":116.99,"min_quantity":1}],"weight":"1.33","compare_at_price":"116.99","price":"116.99","retail_price":"116.99","available":true,"url":"\/products\/moc-129936-link-s-house-the-legend-of-zelda-breath-of-the-wild?variant=9ebcd9a1-075a-4a5d-adc7-c0f5b2ffc02d","available_quantity":999,"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 `
`;
}()}