${function() {
const variantData = data.variant || {"id":"9ad1a228-41aa-4e59-b54a-a7aab2b4eb36","product_id":"b2c84eb2-0c12-4489-a7b0-3c7ee80b3975","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570904113779318784","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3d3a72e61e8e4a69602f0972ef1f06d.jpeg","path":"a3d3a72e61e8e4a69602f0972ef1f06d.jpeg","width":675,"height":900,"alt":"Women's Dog Mother Wine Lover Graphic Print Cozy Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-dog-mother-wine-lover-graphic-print-cozy-sweatshirt?variant=9ad1a228-41aa-4e59-b54a-a7aab2b4eb36","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Gray
${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":"9ad1a228-41aa-4e59-b54a-a7aab2b4eb36","product_id":"b2c84eb2-0c12-4489-a7b0-3c7ee80b3975","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570904113779318784","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3d3a72e61e8e4a69602f0972ef1f06d.jpeg","path":"a3d3a72e61e8e4a69602f0972ef1f06d.jpeg","width":675,"height":900,"alt":"Women's Dog Mother Wine Lover Graphic Print Cozy Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-dog-mother-wine-lover-graphic-print-cozy-sweatshirt?variant=9ad1a228-41aa-4e59-b54a-a7aab2b4eb36","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":1};
return `
`
}()}