Carbon Fiber Ring
${function() {
const variantData = data.variant || {"id":"e5e50aa8-5dd1-4163-90d4-fe441c87c83f","product_id":"4e4070ca-0dbe-4cc6-8d7d-b0bfe9afba4b","title":"Blue carbon fiber-number 6","weight_unit":"g","inventory_quantity":999,"sku":"fbc7d71a-d27f-4901-a0be-398a70193266","barcode":"","position":1,"option1":"Blue carbon fiber","option2":"number 6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cf8a0961e3baf79afece73db48d91b46.jpeg","path":"cf8a0961e3baf79afece73db48d91b46.jpeg","width":800,"height":800,"alt":"Carbon Fiber Ring","aspect_ratio":1},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"50","compare_at_price":"17.99","price":"8.99","retail_price":"17.99","available":true,"url":"\/products\/carbon-fiber-ring?variant=e5e50aa8-5dd1-4163-90d4-fe441c87c83f","available_quantity":999999999,"options":[{"name":"Color","value":"Blue carbon fiber"},{"name":"Size","value":"number 6"}],"off_ratio":50,"flashsale_info":[],"sales":28};
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}
`
}()}
${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