${function() {
const variantData = data.variant || {"id":"4a8a7bdc-4af8-4bda-bf7d-276fb2f51913","product_id":"062f6507-a46d-4840-9450-02700a80bb16","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557135178542792704","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eba406c66e9999edeb6f7622022628cd.jpeg","path":"eba406c66e9999edeb6f7622022628cd.jpeg","width":675,"height":900,"alt":"Women's Crystal Christmas Tree Print Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-crystal-christmas-tree-print-raglan-sleeve-sweatshirt?variant=4a8a7bdc-4af8-4bda-bf7d-276fb2f51913","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":503};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Green
${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":"4a8a7bdc-4af8-4bda-bf7d-276fb2f51913","product_id":"062f6507-a46d-4840-9450-02700a80bb16","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557135178542792704","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eba406c66e9999edeb6f7622022628cd.jpeg","path":"eba406c66e9999edeb6f7622022628cd.jpeg","width":675,"height":900,"alt":"Women's Crystal Christmas Tree Print Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-crystal-christmas-tree-print-raglan-sleeve-sweatshirt?variant=4a8a7bdc-4af8-4bda-bf7d-276fb2f51913","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":503};
return `
`
}()}