${function() {
const variantData = data.variant || {"id":"b75266b0-7b36-443f-94ab-27089d286603","product_id":"81efad04-f896-46f4-865c-03f3e5e8a2ca","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558474660668575744","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95ad2cf95295d5231dedd926b427c1ce.jpeg","path":"95ad2cf95295d5231dedd926b427c1ce.jpeg","width":480,"height":640,"alt":"Women's Cute Cat Funny 3D Wavy Stripe Print Casual T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/womens-cute-cat-funny-3d-wavy-stripe-print-casual-t-shirt?variant=b75266b0-7b36-443f-94ab-27089d286603","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black
${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":"b75266b0-7b36-443f-94ab-27089d286603","product_id":"81efad04-f896-46f4-865c-03f3e5e8a2ca","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558474660668575744","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95ad2cf95295d5231dedd926b427c1ce.jpeg","path":"95ad2cf95295d5231dedd926b427c1ce.jpeg","width":480,"height":640,"alt":"Women's Cute Cat Funny 3D Wavy Stripe Print Casual T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/womens-cute-cat-funny-3d-wavy-stripe-print-casual-t-shirt?variant=b75266b0-7b36-443f-94ab-27089d286603","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":2};
return `
`
}()}