${function() {
const variantData = data.variant || {"id":"9a1e395b-b944-4845-8c96-59446c4715b9","product_id":"e9d2eed9-109b-4e26-8c87-a4680d095e1f","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570502906135089152","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29b38ccd261a9ce9d4d9fffb55de59e2.jpeg","path":"29b38ccd261a9ce9d4d9fffb55de59e2.jpeg","width":900,"height":1200,"alt":"Women's Lovely Multicolor Puppy Oil Painting Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.99","price":"24.99","retail_price":"44.99","available":true,"url":"\/products\/womens-lovely-multicolor-puppy-oil-painting-print-casual-sweatshirt?variant=9a1e395b-b944-4845-8c96-59446c4715b9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":444};
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":"9a1e395b-b944-4845-8c96-59446c4715b9","product_id":"e9d2eed9-109b-4e26-8c87-a4680d095e1f","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570502906135089152","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29b38ccd261a9ce9d4d9fffb55de59e2.jpeg","path":"29b38ccd261a9ce9d4d9fffb55de59e2.jpeg","width":900,"height":1200,"alt":"Women's Lovely Multicolor Puppy Oil Painting Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.99","price":"24.99","retail_price":"44.99","available":true,"url":"\/products\/womens-lovely-multicolor-puppy-oil-painting-print-casual-sweatshirt?variant=9a1e395b-b944-4845-8c96-59446c4715b9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":444};
return `
`
}()}