${function() {
const variantData = data.variant || {"id":"02429510-f60e-4fa0-9fd7-e353fe9c2bd6","product_id":"fc522099-f244-47a2-8b1d-153bfe509d23","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K608197946288152576","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81181f6f5fc0c8a76a2f422acaa2db05.jpeg","path":"81181f6f5fc0c8a76a2f422acaa2db05.jpeg","width":736,"height":980,"alt":"Men's Japanese Sushi Samurai Cat Print Casual T-Shirt","aspect_ratio":0.7510204081632653},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.18","compare_at_price":"37.99","price":"19.99","retail_price":"37.99","available":true,"url":"\/products\/mens-japanese-sushi-samurai-cat-print-casual-t-shirt?variant=02429510-f60e-4fa0-9fd7-e353fe9c2bd6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"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
: 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":"02429510-f60e-4fa0-9fd7-e353fe9c2bd6","product_id":"fc522099-f244-47a2-8b1d-153bfe509d23","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K608197946288152576","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81181f6f5fc0c8a76a2f422acaa2db05.jpeg","path":"81181f6f5fc0c8a76a2f422acaa2db05.jpeg","width":736,"height":980,"alt":"Men's Japanese Sushi Samurai Cat Print Casual T-Shirt","aspect_ratio":0.7510204081632653},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.18","compare_at_price":"37.99","price":"19.99","retail_price":"37.99","available":true,"url":"\/products\/mens-japanese-sushi-samurai-cat-print-casual-t-shirt?variant=02429510-f60e-4fa0-9fd7-e353fe9c2bd6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
`
}()}