${function() {
const variantData = data.variant || {"id":"c1aae1b6-9379-4f4b-be79-f07a3b4aa5ac","product_id":"319a5081-854c-4e78-a26d-5565f4577fd0","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553488451564240896","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/03caec0590f7d2d5f458fb955d9fff0c.jpeg","path":"03caec0590f7d2d5f458fb955d9fff0c.jpeg","width":1181,"height":1574,"alt":"Women's Christmas Tree Diamond Decoration Print Long Sleeve Tees","aspect_ratio":0.7503176620076238},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"34.99","price":"22.99","retail_price":"34.99","available":true,"url":"\/products\/womens-christmas-tree-diamond-decoration-print-long-sleeve-tees?variant=c1aae1b6-9379-4f4b-be79-f07a3b4aa5ac","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":421};
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":"c1aae1b6-9379-4f4b-be79-f07a3b4aa5ac","product_id":"319a5081-854c-4e78-a26d-5565f4577fd0","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553488451564240896","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/03caec0590f7d2d5f458fb955d9fff0c.jpeg","path":"03caec0590f7d2d5f458fb955d9fff0c.jpeg","width":1181,"height":1574,"alt":"Women's Christmas Tree Diamond Decoration Print Long Sleeve Tees","aspect_ratio":0.7503176620076238},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"34.99","price":"22.99","retail_price":"34.99","available":true,"url":"\/products\/womens-christmas-tree-diamond-decoration-print-long-sleeve-tees?variant=c1aae1b6-9379-4f4b-be79-f07a3b4aa5ac","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":421};
return `
`
}()}