${function() {
const variantData = data.variant || {"id":"bdad2b99-9284-4a6f-a197-ac8dc6c0918f","product_id":"8d8a6357-884e-4680-8192-875e0d7cbde3","title":"Dark Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K633933540758429696","barcode":"","position":1,"option1":"Dark Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a510de37ed801614c1da3559e7782620.jpeg","path":"a510de37ed801614c1da3559e7782620.jpeg","width":600,"height":800,"alt":"Men's Forest Nature All Over Print Linen Blend Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"33.99","price":"20.99","retail_price":"33.99","available":true,"url":"\/products\/mens-forest-nature-all-over-print-linen-blend-shirt?variant=bdad2b99-9284-4a6f-a197-ac8dc6c0918f","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Dark Green
${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":"bdad2b99-9284-4a6f-a197-ac8dc6c0918f","product_id":"8d8a6357-884e-4680-8192-875e0d7cbde3","title":"Dark Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K633933540758429696","barcode":"","position":1,"option1":"Dark Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a510de37ed801614c1da3559e7782620.jpeg","path":"a510de37ed801614c1da3559e7782620.jpeg","width":600,"height":800,"alt":"Men's Forest Nature All Over Print Linen Blend Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"33.99","price":"20.99","retail_price":"33.99","available":true,"url":"\/products\/mens-forest-nature-all-over-print-linen-blend-shirt?variant=bdad2b99-9284-4a6f-a197-ac8dc6c0918f","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
return `
`
}()}