${function() {
const variantData = data.variant || {"id":"0eba1012-6ad9-48a0-b23a-cbdce4153e2d","product_id":"cb9904f8-48a1-4b22-95b5-7e5cecd0aa88","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"K564722149517803520","barcode":"","position":17,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/41a8a18b275befda15afd3a66b432437.jpeg","path":"41a8a18b275befda15afd3a66b432437.jpeg","width":900,"height":1200,"alt":"Women's Floral Dachshund Dog Graphic Casual Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.99","price":"18.99","retail_price":"51.99","available":true,"url":"\/products\/womens-floral-dachshund-dog-graphic-casual-print-sweatshirt?variant=0eba1012-6ad9-48a0-b23a-cbdce4153e2d","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":63,"flashsale_info":[],"sales":1735};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Blue
${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":"0eba1012-6ad9-48a0-b23a-cbdce4153e2d","product_id":"cb9904f8-48a1-4b22-95b5-7e5cecd0aa88","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"K564722149517803520","barcode":"","position":17,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/41a8a18b275befda15afd3a66b432437.jpeg","path":"41a8a18b275befda15afd3a66b432437.jpeg","width":900,"height":1200,"alt":"Women's Floral Dachshund Dog Graphic Casual Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.99","price":"18.99","retail_price":"51.99","available":true,"url":"\/products\/womens-floral-dachshund-dog-graphic-casual-print-sweatshirt?variant=0eba1012-6ad9-48a0-b23a-cbdce4153e2d","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":63,"flashsale_info":[],"sales":1735};
return `
`
}()}