${function() {
const variantData = data.variant || {"id":"bcdcc6cb-a567-43d1-9bfd-a9d3e69eb9af","product_id":"102639f9-e5bc-4d1c-8a79-9bc9f3550b9b","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K564647320002969600","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfdbdd836345a077345472eb4eb784ba.jpeg","path":"cfdbdd836345a077345472eb4eb784ba.jpeg","width":1200,"height":1600,"alt":"Women's Funny Dog In Stripe Sweater Drawing Art Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.99","price":"22.99","retail_price":"39.99","available":true,"url":"\/products\/womens-funny-dog-in-stripe-sweater-drawing-art-print-sweatshirt?variant=bcdcc6cb-a567-43d1-9bfd-a9d3e69eb9af","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":291};
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":"bcdcc6cb-a567-43d1-9bfd-a9d3e69eb9af","product_id":"102639f9-e5bc-4d1c-8a79-9bc9f3550b9b","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K564647320002969600","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfdbdd836345a077345472eb4eb784ba.jpeg","path":"cfdbdd836345a077345472eb4eb784ba.jpeg","width":1200,"height":1600,"alt":"Women's Funny Dog In Stripe Sweater Drawing Art Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.99","price":"22.99","retail_price":"39.99","available":true,"url":"\/products\/womens-funny-dog-in-stripe-sweater-drawing-art-print-sweatshirt?variant=bcdcc6cb-a567-43d1-9bfd-a9d3e69eb9af","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":291};
return `
`
}()}