${function() {
const variantData = data.variant || {"id":"5c8ec2f6-d1cc-4e2c-a152-f60e5efd2c87","product_id":"2b99e2b6-a653-43f0-8600-5ee690323716","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556022508138287104","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51e1cc054760b713c3ca8e8a1d3d9861.png","path":"51e1cc054760b713c3ca8e8a1d3d9861.png","width":750,"height":1000,"alt":"Women's My Best Friend Has Paws Dog Short Sleeve 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-my-best-friend-has-paws-dog-short-sleeve-t-shirt?variant=5c8ec2f6-d1cc-4e2c-a152-f60e5efd2c87","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":365};
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":"5c8ec2f6-d1cc-4e2c-a152-f60e5efd2c87","product_id":"2b99e2b6-a653-43f0-8600-5ee690323716","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556022508138287104","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51e1cc054760b713c3ca8e8a1d3d9861.png","path":"51e1cc054760b713c3ca8e8a1d3d9861.png","width":750,"height":1000,"alt":"Women's My Best Friend Has Paws Dog Short Sleeve 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-my-best-friend-has-paws-dog-short-sleeve-t-shirt?variant=5c8ec2f6-d1cc-4e2c-a152-f60e5efd2c87","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":365};
return `
`
}()}