${function() {
const variantData = data.variant || {"id":"b3f3c072-d329-4c8b-849f-aea92eb31daa","product_id":"e38a3699-4ec7-41ed-aa8b-1fb8cca6a55c","title":"Colorful-2XS","weight_unit":"kg","inventory_quantity":999,"sku":"K544779247671332864","barcode":"","position":1,"option1":"Colorful","option2":"2XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6dc06bda645d6a770ec4a83321d8eb6.jpeg","path":"b6dc06bda645d6a770ec4a83321d8eb6.jpeg","width":716,"height":850,"alt":"Women's Christmas Colorful Christmas Tree Print Sweatshirt","aspect_ratio":0.8423529411764706},"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-colorful-christmas-tree-print-sweatshirt?variant=b3f3c072-d329-4c8b-849f-aea92eb31daa","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"2XS"}],"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
: 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
: 2XS
${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":"b3f3c072-d329-4c8b-849f-aea92eb31daa","product_id":"e38a3699-4ec7-41ed-aa8b-1fb8cca6a55c","title":"Colorful-2XS","weight_unit":"kg","inventory_quantity":999,"sku":"K544779247671332864","barcode":"","position":1,"option1":"Colorful","option2":"2XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6dc06bda645d6a770ec4a83321d8eb6.jpeg","path":"b6dc06bda645d6a770ec4a83321d8eb6.jpeg","width":716,"height":850,"alt":"Women's Christmas Colorful Christmas Tree Print Sweatshirt","aspect_ratio":0.8423529411764706},"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-colorful-christmas-tree-print-sweatshirt?variant=b3f3c072-d329-4c8b-849f-aea92eb31daa","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"2XS"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
`
}()}