Fashion Street Hip Hop All-match Necklace
${function() {
const variantData = data.variant || {"id":"10431d28-2fcd-4734-b769-3dceac75dd9c","product_id":"f05532bd-0f37-4028-bfec-c5dad9244f9d","title":"Triangle magic eye","weight_unit":"g","inventory_quantity":999,"sku":"31ac09eb-81c9-44e3-8749-322e88c86ee9","barcode":"","position":2,"option1":"Triangle magic eye","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f82d6453717c1db1fa736afa78f92b11.jpeg","path":"f82d6453717c1db1fa736afa78f92b11.jpeg","width":800,"height":800,"alt":"Fashion Street Hip Hop All-match Necklace","aspect_ratio":1},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"26","compare_at_price":"17.99","price":"8.99","retail_price":"17.99","available":true,"url":"\/products\/fashion-street-hip-hop-all-match-necklace?variant=10431d28-2fcd-4734-b769-3dceac75dd9c","available_quantity":999999999,"options":[{"name":"Color","value":"Triangle magic eye"}],"off_ratio":50,"flashsale_info":[],"sales":12};
const saveType = "percentage";
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 postageFreeAmount = 89;
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 `
`;
}()}
Free Shipping on Orders Over $89