${function() {
const variantData = data.variant || {"id":"d9b144b9-3fa4-40b3-8bc8-1a7af542cd7e","product_id":"cb9904f8-48a1-4b22-95b5-7e5cecd0aa88","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K562190288656076800","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c457a8541e23e037b911d48849b2ca9.jpeg","path":"4c457a8541e23e037b911d48849b2ca9.jpeg","width":1701,"height":2268,"alt":"Women's Floral Dachshund Dog Graphic Casual Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.99","price":"18.99","retail_price":"51.99","available":true,"url":"\/products\/womens-floral-dachshund-dog-graphic-casual-print-sweatshirt?variant=d9b144b9-3fa4-40b3-8bc8-1a7af542cd7e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":63,"flashsale_info":[],"sales":1735};
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":"d9b144b9-3fa4-40b3-8bc8-1a7af542cd7e","product_id":"cb9904f8-48a1-4b22-95b5-7e5cecd0aa88","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K562190288656076800","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c457a8541e23e037b911d48849b2ca9.jpeg","path":"4c457a8541e23e037b911d48849b2ca9.jpeg","width":1701,"height":2268,"alt":"Women's Floral Dachshund Dog Graphic Casual Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.99","price":"18.99","retail_price":"51.99","available":true,"url":"\/products\/womens-floral-dachshund-dog-graphic-casual-print-sweatshirt?variant=d9b144b9-3fa4-40b3-8bc8-1a7af542cd7e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":63,"flashsale_info":[],"sales":1735};
return `
`
}()}