${function() {
const variantData = data.variant || {"id":"08a2a323-03a0-40f3-8329-fecd67ee0327","product_id":"f24983e4-adca-4eeb-931c-76b346c88fc4","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"K554586379870035968","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ada96e0dd1a516da7e2f304710a47623.png","path":"ada96e0dd1a516da7e2f304710a47623.png","width":1200,"height":1600,"alt":"Women's Cute Santa Claus Print Christmas Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/womens-cute-santa-claus-print-christmas-raglan-sleeve-sweatshirt?variant=08a2a323-03a0-40f3-8329-fecd67ee0327","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Pink
${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":"08a2a323-03a0-40f3-8329-fecd67ee0327","product_id":"f24983e4-adca-4eeb-931c-76b346c88fc4","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"K554586379870035968","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ada96e0dd1a516da7e2f304710a47623.png","path":"ada96e0dd1a516da7e2f304710a47623.png","width":1200,"height":1600,"alt":"Women's Cute Santa Claus Print Christmas Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/womens-cute-santa-claus-print-christmas-raglan-sleeve-sweatshirt?variant=08a2a323-03a0-40f3-8329-fecd67ee0327","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}