${function() {
const variantData = data.variant || {"id":"21e15911-c074-49c1-bdd3-02ebdde267b0","product_id":"46774af3-45fc-411c-bd16-fb07208585e0","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K638271663734915072","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/803a214bcc8d64261b21b69b6d2ebc13.jpeg","path":"803a214bcc8d64261b21b69b6d2ebc13.jpeg","width":1125,"height":1500,"alt":"Men's Summer Vacation Sunglasses Bulldog Watercolor Splash Ink Print Linen Blend Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.19","compare_at_price":"48.99","price":"28.99","retail_price":"48.99","available":true,"url":"\/products\/mens-summer-vacation-sunglasses-bulldog-watercolor-splash-ink-print-linen-blend-shirt?variant=21e15911-c074-49c1-bdd3-02ebdde267b0","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":41,"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
: Red
${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":"21e15911-c074-49c1-bdd3-02ebdde267b0","product_id":"46774af3-45fc-411c-bd16-fb07208585e0","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K638271663734915072","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/803a214bcc8d64261b21b69b6d2ebc13.jpeg","path":"803a214bcc8d64261b21b69b6d2ebc13.jpeg","width":1125,"height":1500,"alt":"Men's Summer Vacation Sunglasses Bulldog Watercolor Splash Ink Print Linen Blend Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.19","compare_at_price":"48.99","price":"28.99","retail_price":"48.99","available":true,"url":"\/products\/mens-summer-vacation-sunglasses-bulldog-watercolor-splash-ink-print-linen-blend-shirt?variant=21e15911-c074-49c1-bdd3-02ebdde267b0","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":0};
return `
`
}()}