Carbon Fiber Ring
${function() {
const variantData = data.variant || {"id":"f22d703f-fb27-4e9d-960b-bb471d40b3d0","product_id":"4e4070ca-0dbe-4cc6-8d7d-b0bfe9afba4b","title":"Red carbon fiber-number 6","weight_unit":"g","inventory_quantity":999,"sku":"9b0b8591-37e6-4a6d-ad50-1e4b47256ee8","barcode":"","position":2,"option1":"Red carbon fiber","option2":"number 6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83356d541bc0264e6cad46f412980a25.jpeg","path":"83356d541bc0264e6cad46f412980a25.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=f22d703f-fb27-4e9d-960b-bb471d40b3d0","available_quantity":999999999,"options":[{"name":"Color","value":"Red 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