${function() {
const variantData = data.variant || {"id":"4e94c072-ddf8-4643-ace4-44e434718557","product_id":"af2b960d-b476-4402-8a36-d24c6364c11f","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K573071857052540928","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/393bcd4655af2fcb8b03b55930e0a063.jpeg","path":"393bcd4655af2fcb8b03b55930e0a063.jpeg","width":670,"height":894,"alt":"Women's Colorblock Dachshund Love Heart Print Casual Short Sleeve Tee","aspect_ratio":0.7494407158836689},"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-colorblock-dachshund-love-heart-print-casual-short-sleeve-tee?variant=4e94c072-ddf8-4643-ace4-44e434718557","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":475};
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":"4e94c072-ddf8-4643-ace4-44e434718557","product_id":"af2b960d-b476-4402-8a36-d24c6364c11f","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K573071857052540928","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/393bcd4655af2fcb8b03b55930e0a063.jpeg","path":"393bcd4655af2fcb8b03b55930e0a063.jpeg","width":670,"height":894,"alt":"Women's Colorblock Dachshund Love Heart Print Casual Short Sleeve Tee","aspect_ratio":0.7494407158836689},"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-colorblock-dachshund-love-heart-print-casual-short-sleeve-tee?variant=4e94c072-ddf8-4643-ace4-44e434718557","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":475};
return `
`
}()}