${function() {
const variantData = data.variant || {"id":"3b7b144b-ee3a-4f3c-b2ce-3a7f28d17278","product_id":"d73cec22-9631-47f0-a6df-6a909de76de4","title":"Green","weight_unit":"kg","inventory_quantity":999,"sku":"K586490304381898752","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/01591f6cb5e1f22c1dd47de491a697dd.jpeg","path":"01591f6cb5e1f22c1dd47de491a697dd.jpeg","width":748,"height":1000,"alt":"Women's St Patrick's Day Three Clover Wooden Drop Earring","aspect_ratio":0.748},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0.01","compare_at_price":"6.99","price":"6.99","retail_price":"6.99","available":true,"url":"\/products\/womens-st-patricks-day-three-clover-wooden-drop-earring?variant=3b7b144b-ee3a-4f3c-b2ce-3a7f28d17278","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Green
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"3b7b144b-ee3a-4f3c-b2ce-3a7f28d17278","product_id":"d73cec22-9631-47f0-a6df-6a909de76de4","title":"Green","weight_unit":"kg","inventory_quantity":999,"sku":"K586490304381898752","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/01591f6cb5e1f22c1dd47de491a697dd.jpeg","path":"01591f6cb5e1f22c1dd47de491a697dd.jpeg","width":748,"height":1000,"alt":"Women's St Patrick's Day Three Clover Wooden Drop Earring","aspect_ratio":0.748},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0.01","compare_at_price":"6.99","price":"6.99","retail_price":"6.99","available":true,"url":"\/products\/womens-st-patricks-day-three-clover-wooden-drop-earring?variant=3b7b144b-ee3a-4f3c-b2ce-3a7f28d17278","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
`
}()}