${function() {
const variantData = data.variant || {"id":"7f58170d-6296-43bc-9fcf-92102a5cea2c","product_id":"82222977-0f9c-4b03-a1aa-aa5f49b5545f","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K544765942235078656","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28135d8aa88ea3a114a5631ccf049222.png","path":"28135d8aa88ea3a114a5631ccf049222.png","width":600,"height":800,"alt":"Women's Christmas Casual Lovely Snowman Graphic Print 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-christmas-casual-lovely-snowman-graphic-print-sweatshirt?variant=7f58170d-6296-43bc-9fcf-92102a5cea2c","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Blue
${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":"7f58170d-6296-43bc-9fcf-92102a5cea2c","product_id":"82222977-0f9c-4b03-a1aa-aa5f49b5545f","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K544765942235078656","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28135d8aa88ea3a114a5631ccf049222.png","path":"28135d8aa88ea3a114a5631ccf049222.png","width":600,"height":800,"alt":"Women's Christmas Casual Lovely Snowman Graphic Print 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-christmas-casual-lovely-snowman-graphic-print-sweatshirt?variant=7f58170d-6296-43bc-9fcf-92102a5cea2c","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
`
}()}