${function() {
const variantData = data.variant || {"id":"ceed1ffb-c7c2-40a9-815a-b462cc644fd4","product_id":"ed5141c2-c082-4a9d-9d00-5df03dd3596e","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K577802749789421568","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d369679c520c1d804a313b18460ac2cf.jpeg","path":"d369679c520c1d804a313b18460ac2cf.jpeg","width":748,"height":1000,"alt":"Women's Black Sheep Pattern All Over Print Casual Sweatshirt","aspect_ratio":0.748},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"43.99","price":"24.99","retail_price":"43.99","available":true,"url":"\/products\/womens-black-sheep-pattern-all-over-print-casual-sweatshirt?variant=ceed1ffb-c7c2-40a9-815a-b462cc644fd4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":516};
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}
`
}()}
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":"ceed1ffb-c7c2-40a9-815a-b462cc644fd4","product_id":"ed5141c2-c082-4a9d-9d00-5df03dd3596e","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K577802749789421568","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d369679c520c1d804a313b18460ac2cf.jpeg","path":"d369679c520c1d804a313b18460ac2cf.jpeg","width":748,"height":1000,"alt":"Women's Black Sheep Pattern All Over Print Casual Sweatshirt","aspect_ratio":0.748},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"43.99","price":"24.99","retail_price":"43.99","available":true,"url":"\/products\/womens-black-sheep-pattern-all-over-print-casual-sweatshirt?variant=ceed1ffb-c7c2-40a9-815a-b462cc644fd4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":516};
return `
`
}()}