${function() {
const variantData = data.variant || {"id":"e5a65aec-c768-4a34-a900-f4aff04fd8ed","product_id":"7f0c1b1e-535e-4855-b6db-e11a8c9805e2","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHkhaZHrv-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70b467c86802721884d098841b0890c1.jpeg","path":"70b467c86802721884d098841b0890c1.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.89,"min_quantity":1}],"weight":"300","compare_at_price":"29","price":"20.89","retail_price":"29","available":true,"url":"\/products\/racing-slogan-graphic-print-short-sleeve-t-shirt?variant=e5a65aec-c768-4a34-a900-f4aff04fd8ed","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XHkhaZHrv-White-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"e5a65aec-c768-4a34-a900-f4aff04fd8ed","product_id":"7f0c1b1e-535e-4855-b6db-e11a8c9805e2","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHkhaZHrv-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70b467c86802721884d098841b0890c1.jpeg","path":"70b467c86802721884d098841b0890c1.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.89,"min_quantity":1}],"weight":"300","compare_at_price":"29","price":"20.89","retail_price":"29","available":true,"url":"\/products\/racing-slogan-graphic-print-short-sleeve-t-shirt?variant=e5a65aec-c768-4a34-a900-f4aff04fd8ed","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}