${function() {
const variantData = data.variant || {"id":"3aabb2dc-0dfb-4661-aca7-04076c8be443","product_id":"32b12c72-af49-42ed-a0f1-a58eec1a63f3","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K647352585631236096","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7fab802fd98e27db8c85422ec2e4bf3c.jpeg","path":"7fab802fd98e27db8c85422ec2e4bf3c.jpeg","width":1181,"height":1571,"alt":"Men's Retro Indian Flowers Patten Print Short Sleeve Shirt","aspect_ratio":0.7517504774029281},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"48.99","price":"28.99","retail_price":"48.99","available":true,"url":"\/products\/mens-retro-indian-flowers-patten-print-short-sleeve-shirt?variant=3aabb2dc-0dfb-4661-aca7-04076c8be443","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Beige
${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":"3aabb2dc-0dfb-4661-aca7-04076c8be443","product_id":"32b12c72-af49-42ed-a0f1-a58eec1a63f3","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K647352585631236096","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7fab802fd98e27db8c85422ec2e4bf3c.jpeg","path":"7fab802fd98e27db8c85422ec2e4bf3c.jpeg","width":1181,"height":1571,"alt":"Men's Retro Indian Flowers Patten Print Short Sleeve Shirt","aspect_ratio":0.7517504774029281},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"48.99","price":"28.99","retail_price":"48.99","available":true,"url":"\/products\/mens-retro-indian-flowers-patten-print-short-sleeve-shirt?variant=3aabb2dc-0dfb-4661-aca7-04076c8be443","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":1};
return `
`
}()}