${function() {
const variantData = data.variant || {"id":"bc13af3a-00c8-4ecf-9c8f-aabd28dcdc10","product_id":"82ab0c7f-6d53-45a5-ad90-fcc4c8bd7db1","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K566206305441677312","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9513bc430006df4d2363b37389de4f49.jpeg","path":"9513bc430006df4d2363b37389de4f49.jpeg","width":736,"height":981,"alt":"Men's Vintage Chinese Ink Art Painting Panda Print Sweatshirt","aspect_ratio":0.7502548419979612},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.19","compare_at_price":"34.99","price":"23.99","retail_price":"34.99","available":true,"url":"\/products\/mens-vintage-chinese-ink-art-painting-panda-print-sweatshirt?variant=bc13af3a-00c8-4ecf-9c8f-aabd28dcdc10","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
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":"bc13af3a-00c8-4ecf-9c8f-aabd28dcdc10","product_id":"82ab0c7f-6d53-45a5-ad90-fcc4c8bd7db1","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K566206305441677312","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9513bc430006df4d2363b37389de4f49.jpeg","path":"9513bc430006df4d2363b37389de4f49.jpeg","width":736,"height":981,"alt":"Men's Vintage Chinese Ink Art Painting Panda Print Sweatshirt","aspect_ratio":0.7502548419979612},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.19","compare_at_price":"34.99","price":"23.99","retail_price":"34.99","available":true,"url":"\/products\/mens-vintage-chinese-ink-art-painting-panda-print-sweatshirt?variant=bc13af3a-00c8-4ecf-9c8f-aabd28dcdc10","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}