${function() {
const variantData = data.variant || {"id":"9b3d5482-3e8e-48ce-8f30-d15d8c2fdff7","product_id":"ec26997d-6304-4667-a6c6-888d1c1b54c4","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K550958479812517888","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b04ca2737f0c7d507df636b64813703.jpeg","path":"6b04ca2737f0c7d507df636b64813703.jpeg","width":600,"height":800,"alt":"Men's Vintage White Floral Plum Blossom Art Print Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.69","price":"29.99","retail_price":"51.69","available":true,"url":"\/products\/mens-vintage-white-floral-plum-blossom-art-print-hoodie?variant=9b3d5482-3e8e-48ce-8f30-d15d8c2fdff7","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"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
: Green
${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":"9b3d5482-3e8e-48ce-8f30-d15d8c2fdff7","product_id":"ec26997d-6304-4667-a6c6-888d1c1b54c4","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K550958479812517888","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b04ca2737f0c7d507df636b64813703.jpeg","path":"6b04ca2737f0c7d507df636b64813703.jpeg","width":600,"height":800,"alt":"Men's Vintage White Floral Plum Blossom Art Print Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.69","price":"29.99","retail_price":"51.69","available":true,"url":"\/products\/mens-vintage-white-floral-plum-blossom-art-print-hoodie?variant=9b3d5482-3e8e-48ce-8f30-d15d8c2fdff7","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":1};
return `
`
}()}