${function() {
const variantData = data.variant || {"id":"e6fc6ea9-1890-4c12-b3db-8e999e34ec51","product_id":"202f89bd-f0f8-420d-9224-ca42d6c2bdc4","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547662727531585536","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9096d964f31110f8fdc25db83481eb07.jpeg","path":"9096d964f31110f8fdc25db83481eb07.jpeg","width":600,"height":800,"alt":"Women's Christmas It's The Most Wonderful Time Of The Year Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/womens-christmas-its-the-most-wonderful-time-of-the-year-sweatshirt?variant=e6fc6ea9-1890-4c12-b3db-8e999e34ec51","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Gray
${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":"e6fc6ea9-1890-4c12-b3db-8e999e34ec51","product_id":"202f89bd-f0f8-420d-9224-ca42d6c2bdc4","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547662727531585536","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9096d964f31110f8fdc25db83481eb07.jpeg","path":"9096d964f31110f8fdc25db83481eb07.jpeg","width":600,"height":800,"alt":"Women's Christmas It's The Most Wonderful Time Of The Year Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/womens-christmas-its-the-most-wonderful-time-of-the-year-sweatshirt?variant=e6fc6ea9-1890-4c12-b3db-8e999e34ec51","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}