${function() {
const variantData = data.variant || {"id":"ca8d14e2-a7b0-4a3f-9514-7c34c32ed7ed","product_id":"fdadf248-b73c-473e-b1c8-a128b567540d","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K569067646432186368","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9ec0c33b5fa05b3667a1cfa08107c28.jpeg","path":"c9ec0c33b5fa05b3667a1cfa08107c28.jpeg","width":900,"height":1200,"alt":"Women'S Watercolor Winter Dachshund Christmas Print Splice Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/womens-watercolor-winter-dachshund-christmas-print-splice-sweatshirt?variant=ca8d14e2-a7b0-4a3f-9514-7c34c32ed7ed","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":490};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: White
${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":"ca8d14e2-a7b0-4a3f-9514-7c34c32ed7ed","product_id":"fdadf248-b73c-473e-b1c8-a128b567540d","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K569067646432186368","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9ec0c33b5fa05b3667a1cfa08107c28.jpeg","path":"c9ec0c33b5fa05b3667a1cfa08107c28.jpeg","width":900,"height":1200,"alt":"Women'S Watercolor Winter Dachshund Christmas Print Splice Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/womens-watercolor-winter-dachshund-christmas-print-splice-sweatshirt?variant=ca8d14e2-a7b0-4a3f-9514-7c34c32ed7ed","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":490};
return `
`
}()}