${function() {
const variantData = data.variant || {"id":"e3f10b0c-8716-49a7-91e5-00ca0be89b00","product_id":"2ffdc9d6-bf53-4e34-8a55-224a0bd1d6f0","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"K560752107994161152","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/35421d1a220755419189173879513035.png","path":"35421d1a220755419189173879513035.png","width":600,"height":800,"alt":"Women's Christmas Colorful Christmas Tree 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-christmas-colorful-christmas-tree-print-casual-sweatshirt-n0d1?variant=e3f10b0c-8716-49a7-91e5-00ca0be89b00","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"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
: Multicolor
${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":"e3f10b0c-8716-49a7-91e5-00ca0be89b00","product_id":"2ffdc9d6-bf53-4e34-8a55-224a0bd1d6f0","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"K560752107994161152","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/35421d1a220755419189173879513035.png","path":"35421d1a220755419189173879513035.png","width":600,"height":800,"alt":"Women's Christmas Colorful Christmas Tree 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-christmas-colorful-christmas-tree-print-casual-sweatshirt-n0d1?variant=e3f10b0c-8716-49a7-91e5-00ca0be89b00","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}