Korean Fashion Geometric Earrings Asymmetric Flower Star Earrings for Women Men Hip Hop Earrings Jewelry Accessories Gift
${function() {
const variantData = data.variant || {"id":"bc1434fd-e1d0-433b-8083-d76cd5403c87","product_id":"98bcdb3b-833d-430d-8a51-e12ef9be61ca","title":"A","weight_unit":"g","inventory_quantity":982,"sku":"1005005892451706-A","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02bcfeb19ed152ab8d815e86dcc578fc.jpeg","path":"02bcfeb19ed152ab8d815e86dcc578fc.jpeg","width":1000,"height":1000,"alt":"42628449599694","aspect_ratio":1},"wholesale_price":[{"price":8.82,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"8.82","retail_price":"0","available":true,"url":"\/products\/korean-fashion-geometric-earrings-asymmetric-flower-star-earrings-for-women-men-hip-hop-earrings-2023-jewelry-accessories-gift?variant=bc1434fd-e1d0-433b-8083-d76cd5403c87","available_quantity":982,"options":[{"name":"Metal Color","value":"A"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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":"bc1434fd-e1d0-433b-8083-d76cd5403c87","product_id":"98bcdb3b-833d-430d-8a51-e12ef9be61ca","title":"A","weight_unit":"g","inventory_quantity":982,"sku":"1005005892451706-A","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02bcfeb19ed152ab8d815e86dcc578fc.jpeg","path":"02bcfeb19ed152ab8d815e86dcc578fc.jpeg","width":1000,"height":1000,"alt":"42628449599694","aspect_ratio":1},"wholesale_price":[{"price":8.82,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"8.82","retail_price":"0","available":true,"url":"\/products\/korean-fashion-geometric-earrings-asymmetric-flower-star-earrings-for-women-men-hip-hop-earrings-2023-jewelry-accessories-gift?variant=bc1434fd-e1d0-433b-8083-d76cd5403c87","available_quantity":982,"options":[{"name":"Metal Color","value":"A"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}