${function() {
const variantData = data.variant || {"id":"e1cd2feb-da8a-41e5-baa6-af323c03baf6","product_id":"f0cd4b96-de2c-4c4b-aeb6-f0da6b84604e","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K564720509912723456","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22237d93760470ceb0468a68553a8853.jpeg","path":"22237d93760470ceb0468a68553a8853.jpeg","width":600,"height":800,"alt":"Women's Santa Claus Clothes Pattern Print Casual 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-santa-claus-clothes-pattern-print-casual-sweatshirt?variant=e1cd2feb-da8a-41e5-baa6-af323c03baf6","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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
: Red
${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":"e1cd2feb-da8a-41e5-baa6-af323c03baf6","product_id":"f0cd4b96-de2c-4c4b-aeb6-f0da6b84604e","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K564720509912723456","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22237d93760470ceb0468a68553a8853.jpeg","path":"22237d93760470ceb0468a68553a8853.jpeg","width":600,"height":800,"alt":"Women's Santa Claus Clothes Pattern Print Casual 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-santa-claus-clothes-pattern-print-casual-sweatshirt?variant=e1cd2feb-da8a-41e5-baa6-af323c03baf6","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}