${function() {
const variantData = data.variant || {"id":"c1923d15-efac-41d2-8c82-2fffb0ed4840","product_id":"2ea25f72-743f-4810-bd8e-7d0c11db8c74","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557448784854278144","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/380decc60b3f625669b1f28038e802ef.jpeg","path":"380decc60b3f625669b1f28038e802ef.jpeg","width":720,"height":960,"alt":"Women's Christmas Hat Wine Glasses Print V Neck T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"34.99","price":"19.99","retail_price":"34.99","available":true,"url":"\/products\/womens-christmas-hat-wine-glasses-print-v-neck-t-shirt?variant=c1923d15-efac-41d2-8c82-2fffb0ed4840","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"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
: 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":"c1923d15-efac-41d2-8c82-2fffb0ed4840","product_id":"2ea25f72-743f-4810-bd8e-7d0c11db8c74","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557448784854278144","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/380decc60b3f625669b1f28038e802ef.jpeg","path":"380decc60b3f625669b1f28038e802ef.jpeg","width":720,"height":960,"alt":"Women's Christmas Hat Wine Glasses Print V Neck T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"34.99","price":"19.99","retail_price":"34.99","available":true,"url":"\/products\/womens-christmas-hat-wine-glasses-print-v-neck-t-shirt?variant=c1923d15-efac-41d2-8c82-2fffb0ed4840","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":1};
return `
`
}()}