${function() {
const variantData = data.variant || {"id":"0732968a-d41c-4c82-9585-20c6478c1494","product_id":"667c9292-69cb-44ec-a56b-cc973f3bea45","title":"Brown-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568619478623899648","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe74572602b4329ba5965bc311c14713.jpeg","path":"fe74572602b4329ba5965bc311c14713.jpeg","width":600,"height":800,"alt":"Women's Dog Heart Print Long Sleeve Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-dog-heart-print-long-sleeve-casual-sweatshirt-jh09?variant=0732968a-d41c-4c82-9585-20c6478c1494","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":439};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Brown
${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":"0732968a-d41c-4c82-9585-20c6478c1494","product_id":"667c9292-69cb-44ec-a56b-cc973f3bea45","title":"Brown-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568619478623899648","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe74572602b4329ba5965bc311c14713.jpeg","path":"fe74572602b4329ba5965bc311c14713.jpeg","width":600,"height":800,"alt":"Women's Dog Heart Print Long Sleeve Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-dog-heart-print-long-sleeve-casual-sweatshirt-jh09?variant=0732968a-d41c-4c82-9585-20c6478c1494","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":439};
return `
`
}()}