${function() {
const variantData = data.variant || {"id":"34a8fab5-085c-4ddb-8059-1170f3339892","product_id":"9d14f380-84f7-406e-80ea-36026309ac0d","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547653205294604288","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7766584e19972f5618f3b37033d600d.jpeg","path":"b7766584e19972f5618f3b37033d600d.jpeg","width":600,"height":800,"alt":"Women's I'm So Good Santa Came Twice Print Christmas 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-im-so-good-santa-came-twice-print-christmas-sweatshirt?variant=34a8fab5-085c-4ddb-8059-1170f3339892","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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
: Black
${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":"34a8fab5-085c-4ddb-8059-1170f3339892","product_id":"9d14f380-84f7-406e-80ea-36026309ac0d","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547653205294604288","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7766584e19972f5618f3b37033d600d.jpeg","path":"b7766584e19972f5618f3b37033d600d.jpeg","width":600,"height":800,"alt":"Women's I'm So Good Santa Came Twice Print Christmas 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-im-so-good-santa-came-twice-print-christmas-sweatshirt?variant=34a8fab5-085c-4ddb-8059-1170f3339892","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}