${function() {
const variantData = data.variant || {"id":"d1fb4aa1-fcea-49b4-a302-579bf55b777d","product_id":"4f2e98c4-f0e3-4185-93bd-0b3ffd532462","title":"Snowman","weight_unit":"kg","inventory_quantity":999,"sku":"K557020757548408832","barcode":"","position":1,"option1":"Snowman","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f13f8e398fbf3758c88688e8fcc9f6b.jpeg","path":"4f13f8e398fbf3758c88688e8fcc9f6b.jpeg","width":600,"height":800,"alt":"Christmas Snowman Santa Elk Sweater Shape Dangle Earrings","aspect_ratio":0.75},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.05","compare_at_price":"3.99","price":"3.99","retail_price":"3.99","available":true,"url":"\/products\/christmas-snowman-santa-elk-sweater-shape-dangle-earrings?variant=d1fb4aa1-fcea-49b4-a302-579bf55b777d","available_quantity":999999999,"options":[{"name":"Color","value":"Snowman"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Snowman
${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":"d1fb4aa1-fcea-49b4-a302-579bf55b777d","product_id":"4f2e98c4-f0e3-4185-93bd-0b3ffd532462","title":"Snowman","weight_unit":"kg","inventory_quantity":999,"sku":"K557020757548408832","barcode":"","position":1,"option1":"Snowman","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f13f8e398fbf3758c88688e8fcc9f6b.jpeg","path":"4f13f8e398fbf3758c88688e8fcc9f6b.jpeg","width":600,"height":800,"alt":"Christmas Snowman Santa Elk Sweater Shape Dangle Earrings","aspect_ratio":0.75},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.05","compare_at_price":"3.99","price":"3.99","retail_price":"3.99","available":true,"url":"\/products\/christmas-snowman-santa-elk-sweater-shape-dangle-earrings?variant=d1fb4aa1-fcea-49b4-a302-579bf55b777d","available_quantity":999999999,"options":[{"name":"Color","value":"Snowman"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
`
}()}