Bracelet Pearl Bracelet Bracelet Set
${function() {
const variantData = data.variant || {"id":"3b034c09-e43a-41dc-9055-c380de4bb6e4","product_id":"a7d3a180-9d82-43cc-ba91-98bd7b8c4bdf","title":"Big chain set","weight_unit":"kg","inventory_quantity":1481,"sku":"2111091123-Big chain set","barcode":"","position":1,"option1":"Big chain set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31392e5868bcf6aee41bf9c4dddb1fd8.jpeg","path":"31392e5868bcf6aee41bf9c4dddb1fd8.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.58,"min_quantity":1}],"weight":"0.02","compare_at_price":"16.98","price":"13.58","retail_price":"16.98","available":true,"url":"\/products\/bracelet-pearl-bracelet-bracelet-set?variant=3b034c09-e43a-41dc-9055-c380de4bb6e4","available_quantity":999999999,"options":[{"name":"Color","value":"Big chain set"}],"off_ratio":20,"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":"3b034c09-e43a-41dc-9055-c380de4bb6e4","product_id":"a7d3a180-9d82-43cc-ba91-98bd7b8c4bdf","title":"Big chain set","weight_unit":"kg","inventory_quantity":1481,"sku":"2111091123-Big chain set","barcode":"","position":1,"option1":"Big chain set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31392e5868bcf6aee41bf9c4dddb1fd8.jpeg","path":"31392e5868bcf6aee41bf9c4dddb1fd8.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.58,"min_quantity":1}],"weight":"0.02","compare_at_price":"16.98","price":"13.58","retail_price":"16.98","available":true,"url":"\/products\/bracelet-pearl-bracelet-bracelet-set?variant=3b034c09-e43a-41dc-9055-c380de4bb6e4","available_quantity":999999999,"options":[{"name":"Color","value":"Big chain set"}],"off_ratio":20,"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 `
`;
}()}