${function() {
const variantData = data.variant || {"id":"16ad71e7-710b-404e-ac0d-53c50fabb30a","product_id":"b60e2861-1210-4986-a55d-8b3fa1f6f663","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558473348934057984","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7aa3ed9b658b87bb8fe808ef00e0e2a4.jpeg","path":"7aa3ed9b658b87bb8fe808ef00e0e2a4.jpeg","width":480,"height":640,"alt":"Women's Dachshund Dog Heart-Shaped Pattern Print 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-dachshund-dog-heart-shaped-pattern-print-t-shirt?variant=16ad71e7-710b-404e-ac0d-53c50fabb30a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":329};
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":"16ad71e7-710b-404e-ac0d-53c50fabb30a","product_id":"b60e2861-1210-4986-a55d-8b3fa1f6f663","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558473348934057984","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7aa3ed9b658b87bb8fe808ef00e0e2a4.jpeg","path":"7aa3ed9b658b87bb8fe808ef00e0e2a4.jpeg","width":480,"height":640,"alt":"Women's Dachshund Dog Heart-Shaped Pattern Print 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-dachshund-dog-heart-shaped-pattern-print-t-shirt?variant=16ad71e7-710b-404e-ac0d-53c50fabb30a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":329};
return `
`
}()}