${function() {
const variantData = data.variant || {"id":"388eca4a-9a8d-4089-bf0e-42b6f6c2d50a","product_id":"612d99cb-d294-42bb-9cac-066d481c33d9","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558932853643169792","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8249144a9b2ec710f8fa22745037b671.jpeg","path":"8249144a9b2ec710f8fa22745037b671.jpeg","width":600,"height":800,"alt":"Women's Puppy Shape Donut Print Zip Up Collar Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49.99","price":"28.99","retail_price":"49.99","available":true,"url":"\/products\/womens-puppy-shape-donut-print-zip-up-collar-sweatshirt?variant=388eca4a-9a8d-4089-bf0e-42b6f6c2d50a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: White
${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":"388eca4a-9a8d-4089-bf0e-42b6f6c2d50a","product_id":"612d99cb-d294-42bb-9cac-066d481c33d9","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558932853643169792","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8249144a9b2ec710f8fa22745037b671.jpeg","path":"8249144a9b2ec710f8fa22745037b671.jpeg","width":600,"height":800,"alt":"Women's Puppy Shape Donut Print Zip Up Collar Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49.99","price":"28.99","retail_price":"49.99","available":true,"url":"\/products\/womens-puppy-shape-donut-print-zip-up-collar-sweatshirt?variant=388eca4a-9a8d-4089-bf0e-42b6f6c2d50a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":2};
return `
`
}()}