STICKYS PACK
${function() {
const variantData = data.variant || {"id":"d1f7c81d-1da3-4866-a405-b9c3899e243d","product_id":"d1b6def0-c94c-4978-9f72-4085d6624962","title":"","weight_unit":"kg","inventory_quantity":16,"sku":"000ACCS01--A0011972","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":8.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"8.5","retail_price":"0","available":true,"url":"\/products\/stickys-pack?variant=d1f7c81d-1da3-4866-a405-b9c3899e243d","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":38};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 59.9;
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 `
`;
}()}
Product was out of stock.
Product is unavailable.