${function() {
const variantData = data.variant || {"id":"e90d1a36-201e-46ef-be3a-162b2bbb3394","product_id":"0a3ed779-86b2-4051-b6b8-951c2a979a8f","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542590607673815040","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d66769bcf257ac98f46640492a9e9a8a.jpeg","path":"d66769bcf257ac98f46640492a9e9a8a.jpeg","width":600,"height":800,"alt":"Casual American Football Game Day Print Pullover Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"46.99","price":"27.99","retail_price":"46.99","available":true,"url":"\/products\/casual-american-football-game-day-print-pullover-sweatshirt?variant=e90d1a36-201e-46ef-be3a-162b2bbb3394","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Burgundy
${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":"e90d1a36-201e-46ef-be3a-162b2bbb3394","product_id":"0a3ed779-86b2-4051-b6b8-951c2a979a8f","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542590607673815040","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d66769bcf257ac98f46640492a9e9a8a.jpeg","path":"d66769bcf257ac98f46640492a9e9a8a.jpeg","width":600,"height":800,"alt":"Casual American Football Game Day Print Pullover Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"46.99","price":"27.99","retail_price":"46.99","available":true,"url":"\/products\/casual-american-football-game-day-print-pullover-sweatshirt?variant=e90d1a36-201e-46ef-be3a-162b2bbb3394","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":3};
return `
`
}()}