${function() {
const variantData = data.variant || {"id":"7848f753-80ef-4f28-a712-aa58116f3321","product_id":"746eb724-39a7-4d00-8e4d-559b7070f695","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"K563280869691080704","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/200b54de4b30fdf67a80aeaa8f6671fb.jpeg","path":"200b54de4b30fdf67a80aeaa8f6671fb.jpeg","width":675,"height":900,"alt":"Women's Dachshund Through The Snow Dog Print 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-dachshund-through-the-snow-dog-print-casual-sweatshirt?variant=7848f753-80ef-4f28-a712-aa58116f3321","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":397};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Pink
${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":"7848f753-80ef-4f28-a712-aa58116f3321","product_id":"746eb724-39a7-4d00-8e4d-559b7070f695","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"K563280869691080704","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/200b54de4b30fdf67a80aeaa8f6671fb.jpeg","path":"200b54de4b30fdf67a80aeaa8f6671fb.jpeg","width":675,"height":900,"alt":"Women's Dachshund Through The Snow Dog Print 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-dachshund-through-the-snow-dog-print-casual-sweatshirt?variant=7848f753-80ef-4f28-a712-aa58116f3321","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":397};
return `
`
}()}