${function() {
const variantData = data.variant || {"id":"577d901d-59ef-4a2f-a843-e898e440e5dd","product_id":"f02920f0-8ccf-4062-93c5-5f0861d13049","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547657470390267904","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3cec2d53bc6dc4566aaba695b730637a.webp","path":"3cec2d53bc6dc4566aaba695b730637a.webp","width":750,"height":1000,"alt":"Women's Giant Whale Sea Wave Graphic Print Hooded Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/womens-giant-whale-sea-wave-graphic-print-hooded-sweatshirt?variant=577d901d-59ef-4a2f-a843-e898e440e5dd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black
${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":"577d901d-59ef-4a2f-a843-e898e440e5dd","product_id":"f02920f0-8ccf-4062-93c5-5f0861d13049","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547657470390267904","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3cec2d53bc6dc4566aaba695b730637a.webp","path":"3cec2d53bc6dc4566aaba695b730637a.webp","width":750,"height":1000,"alt":"Women's Giant Whale Sea Wave Graphic Print Hooded Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/womens-giant-whale-sea-wave-graphic-print-hooded-sweatshirt?variant=577d901d-59ef-4a2f-a843-e898e440e5dd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}