${function() {
const variantData = data.variant || {"id":"7ba6e967-0b57-47bc-8ae2-a41eb527338d","product_id":"ef92b8fa-c480-4982-b532-a6660aaa6f0b","title":"Dark Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K569725252751224832","barcode":"","position":1,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3838ebd3908c4081f486badea162222.jpeg","path":"e3838ebd3908c4081f486badea162222.jpeg","width":1200,"height":1600,"alt":"Women's Cute Fluffy Poodle Dog Printed 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-cute-fluffy-poodle-dog-printed-cozy-sweatshirt?variant=7ba6e967-0b57-47bc-8ae2-a41eb527338d","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":377};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Dark 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":"7ba6e967-0b57-47bc-8ae2-a41eb527338d","product_id":"ef92b8fa-c480-4982-b532-a6660aaa6f0b","title":"Dark Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K569725252751224832","barcode":"","position":1,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3838ebd3908c4081f486badea162222.jpeg","path":"e3838ebd3908c4081f486badea162222.jpeg","width":1200,"height":1600,"alt":"Women's Cute Fluffy Poodle Dog Printed 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-cute-fluffy-poodle-dog-printed-cozy-sweatshirt?variant=7ba6e967-0b57-47bc-8ae2-a41eb527338d","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":377};
return `
`
}()}