${function() {
const variantData = data.variant || {"id":"6212cad5-5d96-4976-b612-de271898f3ba","product_id":"b7edc88f-39c0-4f7a-b69b-1f62d64c44ba","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558927388651409408","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c2d01e03af9b75503f74d4c045dec11.jpeg","path":"8c2d01e03af9b75503f74d4c045dec11.jpeg","width":600,"height":800,"alt":"Men's Black Dull Dachshund Print Casual Short Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"38.99","price":"19.99","retail_price":"38.99","available":true,"url":"\/products\/mens-black-dull-dachshund-print-casual-short-sleeve-t-shirt-uu9p?variant=6212cad5-5d96-4976-b612-de271898f3ba","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":503};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: White
${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":"6212cad5-5d96-4976-b612-de271898f3ba","product_id":"b7edc88f-39c0-4f7a-b69b-1f62d64c44ba","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558927388651409408","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c2d01e03af9b75503f74d4c045dec11.jpeg","path":"8c2d01e03af9b75503f74d4c045dec11.jpeg","width":600,"height":800,"alt":"Men's Black Dull Dachshund Print Casual Short Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"38.99","price":"19.99","retail_price":"38.99","available":true,"url":"\/products\/mens-black-dull-dachshund-print-casual-short-sleeve-t-shirt-uu9p?variant=6212cad5-5d96-4976-b612-de271898f3ba","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":503};
return `
`
}()}