DIY Beads Live Deposit
Baby-G
${function() {
const variantData = data.variant || {"id":"fa62844e-eef0-4d57-b3c2-7bcebdff3736","product_id":"033e5411-043f-4619-be4f-935af413056c","title":"","weight_unit":"kg","inventory_quantity":8,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/diy-beads-live-deposit?variant=fa62844e-eef0-4d57-b3c2-7bcebdff3736","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"fa62844e-eef0-4d57-b3c2-7bcebdff3736","product_id":"033e5411-043f-4619-be4f-935af413056c","title":"","weight_unit":"kg","inventory_quantity":8,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/diy-beads-live-deposit?variant=fa62844e-eef0-4d57-b3c2-7bcebdff3736","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 49.99;
const custom_text = "Free shipping on orders over 49.99USD";
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 `
`;
}()}