3$/bag DIY Beads
Baby-G
${function() {
const variantData = data.variant || {"id":"b46e46e1-e2b1-400e-9d01-7a856d8cffad","product_id":"4a7761cf-2ec8-4e64-8eac-b1cf71c6a8f7","title":"","weight_unit":"kg","inventory_quantity":50,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"3","retail_price":"0","available":true,"url":"\/products\/3-bag-diy-beads?variant=b46e46e1-e2b1-400e-9d01-7a856d8cffad","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":13};
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":"b46e46e1-e2b1-400e-9d01-7a856d8cffad","product_id":"4a7761cf-2ec8-4e64-8eac-b1cf71c6a8f7","title":"","weight_unit":"kg","inventory_quantity":50,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"3","retail_price":"0","available":true,"url":"\/products\/3-bag-diy-beads?variant=b46e46e1-e2b1-400e-9d01-7a856d8cffad","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":13};
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 `
`;
}()}