${function() {
const variantData = data.variant || {"id":"8fb66fc2-04cf-4a0c-ad3c-55239b9ae542","product_id":"ad21e758-a0e8-49ad-baf8-d8d9a5865ed6","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K586126012062818304","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c4e565c25482ced46ad60dd74b72787.jpeg","path":"4c4e565c25482ced46ad60dd74b72787.jpeg","width":548,"height":731,"alt":"Men's Clover Print St Patrick's Day Pullover Casual Sweatshirt","aspect_ratio":0.7496580027359782},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/mens-clover-print-st-patricks-day-pullover-casual-sweatshirt?variant=8fb66fc2-04cf-4a0c-ad3c-55239b9ae542","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":471};
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":"8fb66fc2-04cf-4a0c-ad3c-55239b9ae542","product_id":"ad21e758-a0e8-49ad-baf8-d8d9a5865ed6","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K586126012062818304","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c4e565c25482ced46ad60dd74b72787.jpeg","path":"4c4e565c25482ced46ad60dd74b72787.jpeg","width":548,"height":731,"alt":"Men's Clover Print St Patrick's Day Pullover Casual Sweatshirt","aspect_ratio":0.7496580027359782},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/mens-clover-print-st-patricks-day-pullover-casual-sweatshirt?variant=8fb66fc2-04cf-4a0c-ad3c-55239b9ae542","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":471};
return `
`
}()}