${function() {
const variantData = data.variant || {"id":"c95441d4-825b-4dec-954e-c38163ef5a3b","product_id":"e4af1dbb-7345-4ce7-9056-26ac8ea59f2a","title":"Yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553399271182135296","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71685cdc59b1f3051b414bc3602114da.jpeg","path":"71685cdc59b1f3051b414bc3602114da.jpeg","width":750,"height":1000,"alt":"Women's Merry Woofmas Dogs Printed Ombre Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"47.99","price":"27.99","retail_price":"47.99","available":true,"url":"\/products\/womens-merry-woofmas-dogs-printed-ombre-hoodie?variant=c95441d4-825b-4dec-954e-c38163ef5a3b","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":130};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Yellow
${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}
`
}()}
Size
: S
${function(){
const optName = "Size";
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":"c95441d4-825b-4dec-954e-c38163ef5a3b","product_id":"e4af1dbb-7345-4ce7-9056-26ac8ea59f2a","title":"Yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553399271182135296","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71685cdc59b1f3051b414bc3602114da.jpeg","path":"71685cdc59b1f3051b414bc3602114da.jpeg","width":750,"height":1000,"alt":"Women's Merry Woofmas Dogs Printed Ombre Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"47.99","price":"27.99","retail_price":"47.99","available":true,"url":"\/products\/womens-merry-woofmas-dogs-printed-ombre-hoodie?variant=c95441d4-825b-4dec-954e-c38163ef5a3b","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":130};
return `
`
}()}