${function() {
const variantData = data.variant || {"id":"7af7e82a-fa39-49a2-9acc-471b06192555","product_id":"aed50c9e-bee2-4fed-8863-a3f264f97a13","title":"Dark Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558472480685420544","barcode":"","position":1,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f53bc21b0bf82382e543ac9de1c35f92.jpeg","path":"f53bc21b0bf82382e543ac9de1c35f92.jpeg","width":480,"height":640,"alt":"Women's Christmas Dachshund Dog Snowman Printed 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-christmas-dachshund-dog-snowman-printed-t-shirt?variant=7af7e82a-fa39-49a2-9acc-471b06192555","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":4};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Dark Gray
${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":"7af7e82a-fa39-49a2-9acc-471b06192555","product_id":"aed50c9e-bee2-4fed-8863-a3f264f97a13","title":"Dark Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558472480685420544","barcode":"","position":1,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f53bc21b0bf82382e543ac9de1c35f92.jpeg","path":"f53bc21b0bf82382e543ac9de1c35f92.jpeg","width":480,"height":640,"alt":"Women's Christmas Dachshund Dog Snowman Printed 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-christmas-dachshund-dog-snowman-printed-t-shirt?variant=7af7e82a-fa39-49a2-9acc-471b06192555","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":4};
return `
`
}()}