Ocean series starfish shell earrings
${function() {
const variantData = data.variant || {"id":"4b38e36d-0746-4968-8ed5-ff09d6864541","product_id":"da39aa91-43c4-4f0f-a538-a8bb99362c6c","title":"Gold","weight_unit":"g","inventory_quantity":999,"sku":"XHzFqcoxy-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40e68371648786865af3dc77539bc455.jpeg","path":"40e68371648786865af3dc77539bc455.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.89,"min_quantity":1}],"weight":"200","compare_at_price":"25","price":"13.89","retail_price":"25","available":true,"url":"\/products\/ocean-series-starfish-shell-earrings?variant=4b38e36d-0746-4968-8ed5-ff09d6864541","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":44,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const productLabelDiscountOn = false;
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.
Sku : XHzFqcoxy-Gold
Weight : 200g
${function(){
const variantData = data.variant || {"id":"4b38e36d-0746-4968-8ed5-ff09d6864541","product_id":"da39aa91-43c4-4f0f-a538-a8bb99362c6c","title":"Gold","weight_unit":"g","inventory_quantity":999,"sku":"XHzFqcoxy-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40e68371648786865af3dc77539bc455.jpeg","path":"40e68371648786865af3dc77539bc455.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.89,"min_quantity":1}],"weight":"200","compare_at_price":"25","price":"13.89","retail_price":"25","available":true,"url":"\/products\/ocean-series-starfish-shell-earrings?variant=4b38e36d-0746-4968-8ed5-ff09d6864541","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":44,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 79;
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 `
`;
}()}