${function() {
const variantData = data.variant || {"id":"2be21f51-e2d4-47b6-8541-130efa9490c4","product_id":"98bbe029-43ca-4a16-ba76-5612af1976cc","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K583217887389798400","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b1159c46f6293b9e8d6bae8e0c8ff88.jpeg","path":"6b1159c46f6293b9e8d6bae8e0c8ff88.jpeg","width":1181,"height":1575,"alt":"Men's Cute Black Cat Embroidery Floral Leaf Art Print Casual Hoodie","aspect_ratio":0.7498412698412699},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.99","price":"27.99","retail_price":"51.99","available":true,"url":"\/products\/mens-cute-black-cat-embroidery-floral-leaf-art-print-casual-hoodie?variant=2be21f51-e2d4-47b6-8541-130efa9490c4","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":357};
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":"2be21f51-e2d4-47b6-8541-130efa9490c4","product_id":"98bbe029-43ca-4a16-ba76-5612af1976cc","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K583217887389798400","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b1159c46f6293b9e8d6bae8e0c8ff88.jpeg","path":"6b1159c46f6293b9e8d6bae8e0c8ff88.jpeg","width":1181,"height":1575,"alt":"Men's Cute Black Cat Embroidery Floral Leaf Art Print Casual Hoodie","aspect_ratio":0.7498412698412699},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.99","price":"27.99","retail_price":"51.99","available":true,"url":"\/products\/mens-cute-black-cat-embroidery-floral-leaf-art-print-casual-hoodie?variant=2be21f51-e2d4-47b6-8541-130efa9490c4","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":357};
return `
`
}()}