${function() {
const variantData = data.variant || {"id":"0fb7bc7c-341f-4ce4-953c-0bef1df7de35","product_id":"ca90e27c-68fd-4c82-8320-b2c58a8cc09b","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556019456035659776","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8bd0e18b0c5ffc5892fce329cf6792a.png","path":"b8bd0e18b0c5ffc5892fce329cf6792a.png","width":500,"height":666,"alt":"Women's Funny Lovely Dachshund Puppy Red Hearts Casual Print Short Sleeve T-Shirt","aspect_ratio":0.7507507507507507},"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-funny-lovely-dachshund-puppy-red-hearts-casual-print-short-sleeve-t-shirt?variant=0fb7bc7c-341f-4ce4-953c-0bef1df7de35","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":493};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Purple
${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":"0fb7bc7c-341f-4ce4-953c-0bef1df7de35","product_id":"ca90e27c-68fd-4c82-8320-b2c58a8cc09b","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556019456035659776","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8bd0e18b0c5ffc5892fce329cf6792a.png","path":"b8bd0e18b0c5ffc5892fce329cf6792a.png","width":500,"height":666,"alt":"Women's Funny Lovely Dachshund Puppy Red Hearts Casual Print Short Sleeve T-Shirt","aspect_ratio":0.7507507507507507},"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-funny-lovely-dachshund-puppy-red-hearts-casual-print-short-sleeve-t-shirt?variant=0fb7bc7c-341f-4ce4-953c-0bef1df7de35","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":493};
return `
`
}()}