${function() {
const variantData = data.variant || {"id":"2e06bff5-016f-424b-a462-c3b7ae316669","product_id":"e2e25876-e5a3-44a4-81e4-83fd3fa67c96","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547685386760683520","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b1fcf263ebf48ebcd3008b85906495e3.webp","path":"b1fcf263ebf48ebcd3008b85906495e3.webp","width":700,"height":933,"alt":"Women's Christmas Flamingo Print Sweatshirt","aspect_ratio":0.7502679528403001},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"22.99","price":"22.99","retail_price":"22.99","available":true,"url":"\/products\/womens-christmas-flamingo-print-sweatshirt?variant=2e06bff5-016f-424b-a462-c3b7ae316669","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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
: Colorful
${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":"2e06bff5-016f-424b-a462-c3b7ae316669","product_id":"e2e25876-e5a3-44a4-81e4-83fd3fa67c96","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547685386760683520","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b1fcf263ebf48ebcd3008b85906495e3.webp","path":"b1fcf263ebf48ebcd3008b85906495e3.webp","width":700,"height":933,"alt":"Women's Christmas Flamingo Print Sweatshirt","aspect_ratio":0.7502679528403001},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"22.99","price":"22.99","retail_price":"22.99","available":true,"url":"\/products\/womens-christmas-flamingo-print-sweatshirt?variant=2e06bff5-016f-424b-a462-c3b7ae316669","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}