Pearl Necklace Pearl Jewelry
${function() {
const variantData = data.variant || {"id":"68062a6d-0d29-4b6b-9f34-a026aea1685f","product_id":"9f78ce83-8c9b-4492-ad95-f2fd869f279f","title":"I Necklace","weight_unit":"kg","inventory_quantity":0,"sku":"211125581-I Necklace","barcode":"","position":1,"option1":"I Necklace","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f43982f1276799878cb13ac6676f7af.jpeg","path":"4f43982f1276799878cb13ac6676f7af.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.02,"min_quantity":1}],"weight":"0.01","compare_at_price":"27.08","price":"23.02","retail_price":"27.08","available":true,"url":"\/products\/pearl-necklace-pearl-jewelry-gyun?variant=68062a6d-0d29-4b6b-9f34-a026aea1685f","available_quantity":999999999,"options":[{"name":"Color","value":"I Necklace"}],"off_ratio":15,"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":"68062a6d-0d29-4b6b-9f34-a026aea1685f","product_id":"9f78ce83-8c9b-4492-ad95-f2fd869f279f","title":"I Necklace","weight_unit":"kg","inventory_quantity":0,"sku":"211125581-I Necklace","barcode":"","position":1,"option1":"I Necklace","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f43982f1276799878cb13ac6676f7af.jpeg","path":"4f43982f1276799878cb13ac6676f7af.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.02,"min_quantity":1}],"weight":"0.01","compare_at_price":"27.08","price":"23.02","retail_price":"27.08","available":true,"url":"\/products\/pearl-necklace-pearl-jewelry-gyun?variant=68062a6d-0d29-4b6b-9f34-a026aea1685f","available_quantity":999999999,"options":[{"name":"Color","value":"I Necklace"}],"off_ratio":15,"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 `
`;
}()}