${function() {
const variantData = data.variant || {"id":"a1ee7db3-d8aa-4766-8395-475271650add","product_id":"2d4c76fb-7e89-403c-a9f8-712383a6e845","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"K564693409185828864","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/573596ebc0c69e1d6528e073d303fd0c.webp","path":"573596ebc0c69e1d6528e073d303fd0c.webp","width":675,"height":900,"alt":"Women's Western Santa Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.33","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-western-santa-print-sweatshirt?variant=a1ee7db3-d8aa-4766-8395-475271650add","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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
: 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":"a1ee7db3-d8aa-4766-8395-475271650add","product_id":"2d4c76fb-7e89-403c-a9f8-712383a6e845","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"K564693409185828864","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/573596ebc0c69e1d6528e073d303fd0c.webp","path":"573596ebc0c69e1d6528e073d303fd0c.webp","width":675,"height":900,"alt":"Women's Western Santa Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.33","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-western-santa-print-sweatshirt?variant=a1ee7db3-d8aa-4766-8395-475271650add","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}