${function() {
const variantData = data.variant || {"id":"daeb98a1-f2e1-40bc-b08c-60e68ae0b654","product_id":"f0e078e5-9954-408a-a2ed-577c738601a4","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558194602347094016","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/16d4d03bfb51a91d0035bd7f659a66ed.jpeg","path":"16d4d03bfb51a91d0035bd7f659a66ed.jpeg","width":1350,"height":1800,"alt":"Women's Dachshund Dog Portrait Drawing Print Casual Tees","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/womens-dachshund-dog-portrait-drawing-print-casual-tees?variant=daeb98a1-f2e1-40bc-b08c-60e68ae0b654","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":320};
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":"daeb98a1-f2e1-40bc-b08c-60e68ae0b654","product_id":"f0e078e5-9954-408a-a2ed-577c738601a4","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558194602347094016","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/16d4d03bfb51a91d0035bd7f659a66ed.jpeg","path":"16d4d03bfb51a91d0035bd7f659a66ed.jpeg","width":1350,"height":1800,"alt":"Women's Dachshund Dog Portrait Drawing Print Casual Tees","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/womens-dachshund-dog-portrait-drawing-print-casual-tees?variant=daeb98a1-f2e1-40bc-b08c-60e68ae0b654","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":320};
return `
`
}()}