${function() {
const variantData = data.variant || {"id":"6e9ac436-2ddc-45c3-8efc-81ca3fef52f9","product_id":"6000482e-58b9-4ec2-ad3d-ba4ee6970a3d","title":"White-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHgWfbaKY-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/317f25f078f04df8eb84a7a014a226d4.jpeg","path":"317f25f078f04df8eb84a7a014a226d4.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"18.89","retail_price":"33","available":true,"url":"\/products\/street-basketball-philadelphia-76-print-t-shirt?variant=6e9ac436-2ddc-45c3-8efc-81ca3fef52f9","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : XHgWfbaKY-White-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"6e9ac436-2ddc-45c3-8efc-81ca3fef52f9","product_id":"6000482e-58b9-4ec2-ad3d-ba4ee6970a3d","title":"White-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHgWfbaKY-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/317f25f078f04df8eb84a7a014a226d4.jpeg","path":"317f25f078f04df8eb84a7a014a226d4.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"18.89","retail_price":"33","available":true,"url":"\/products\/street-basketball-philadelphia-76-print-t-shirt?variant=6e9ac436-2ddc-45c3-8efc-81ca3fef52f9","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}