${function() {
const variantData = data.variant || {"id":"4b9a1ba4-3af5-494b-b86b-84cc7abd673e","product_id":"7b13b2c1-d38a-4645-9f59-e3b8d29be93c","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K571266166738259968","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fddccd4136996f5288da3c8c1d59c56d.jpeg","path":"fddccd4136996f5288da3c8c1d59c56d.jpeg","width":600,"height":800,"alt":"Men's Samurai Frog Japanese Art Print Casual Short Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.19","compare_at_price":"41.99","price":"20.99","retail_price":"41.99","available":true,"url":"\/products\/mens-samurai-frog-japanese-art-print-casual-short-sleeve-t-shirt?variant=4b9a1ba4-3af5-494b-b86b-84cc7abd673e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":349};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: White
${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":"4b9a1ba4-3af5-494b-b86b-84cc7abd673e","product_id":"7b13b2c1-d38a-4645-9f59-e3b8d29be93c","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K571266166738259968","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fddccd4136996f5288da3c8c1d59c56d.jpeg","path":"fddccd4136996f5288da3c8c1d59c56d.jpeg","width":600,"height":800,"alt":"Men's Samurai Frog Japanese Art Print Casual Short Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.19","compare_at_price":"41.99","price":"20.99","retail_price":"41.99","available":true,"url":"\/products\/mens-samurai-frog-japanese-art-print-casual-short-sleeve-t-shirt?variant=4b9a1ba4-3af5-494b-b86b-84cc7abd673e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":349};
return `
`
}()}