${function() {
const variantData = data.variant || {"id":"a8b37f9b-739d-408e-9d67-90a9053d2d47","product_id":"7d6b471c-16a6-4f3a-bdce-f37dfb26d220","title":"White","weight_unit":"kg","inventory_quantity":999,"sku":"K560715242296868864","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cddb623ba286b29b51d280eda8482fee.jpeg","path":"cddb623ba286b29b51d280eda8482fee.jpeg","width":600,"height":800,"alt":"Women's Two Layered Faux Pearl Beaded Elegant Necklace","aspect_ratio":0.75},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0.07","compare_at_price":"11.99","price":"6.99","retail_price":"11.99","available":true,"url":"\/products\/womens-two-layered-faux-pearl-beaded-elegant-necklace?variant=a8b37f9b-739d-408e-9d67-90a9053d2d47","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":42,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: White
${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":"a8b37f9b-739d-408e-9d67-90a9053d2d47","product_id":"7d6b471c-16a6-4f3a-bdce-f37dfb26d220","title":"White","weight_unit":"kg","inventory_quantity":999,"sku":"K560715242296868864","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cddb623ba286b29b51d280eda8482fee.jpeg","path":"cddb623ba286b29b51d280eda8482fee.jpeg","width":600,"height":800,"alt":"Women's Two Layered Faux Pearl Beaded Elegant Necklace","aspect_ratio":0.75},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0.07","compare_at_price":"11.99","price":"6.99","retail_price":"11.99","available":true,"url":"\/products\/womens-two-layered-faux-pearl-beaded-elegant-necklace?variant=a8b37f9b-739d-408e-9d67-90a9053d2d47","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":42,"flashsale_info":[],"sales":0};
return `
`
}()}