Exaggerated Irregular Sun Flower Earrings
${function() {
const variantData = data.variant || {"id":"c454fec8-5847-4b38-9c8b-a761e6916910","product_id":"a4cf3a35-5bc8-4b1b-a827-2d1b2784e799","title":"Gold","weight_unit":"kg","inventory_quantity":49837,"sku":"2111091116-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/380bdf32ce9092d1ad5bef858ba96d2b.jpeg","path":"380bdf32ce9092d1ad5bef858ba96d2b.jpeg","width":1340,"height":1340,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"16.04","price":"12.99","retail_price":"16.04","available":true,"url":"\/products\/exaggerated-irregular-sun-flower-earrings?variant=c454fec8-5847-4b38-9c8b-a761e6916910","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":19,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"c454fec8-5847-4b38-9c8b-a761e6916910","product_id":"a4cf3a35-5bc8-4b1b-a827-2d1b2784e799","title":"Gold","weight_unit":"kg","inventory_quantity":49837,"sku":"2111091116-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/380bdf32ce9092d1ad5bef858ba96d2b.jpeg","path":"380bdf32ce9092d1ad5bef858ba96d2b.jpeg","width":1340,"height":1340,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"16.04","price":"12.99","retail_price":"16.04","available":true,"url":"\/products\/exaggerated-irregular-sun-flower-earrings?variant=c454fec8-5847-4b38-9c8b-a761e6916910","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}