${function() {
const variantData = data.variant || {"id":"d816134a-0dea-446b-a36e-24456ecaaf06","product_id":"d48bdd40-453c-4ca6-a50e-54554823bbbd","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHPsh2Hf4-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b076896601b3afc9dff6a99e75f9e68a.jpeg","path":"b076896601b3afc9dff6a99e75f9e68a.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"35.89","retail_price":"47","available":true,"url":"\/products\/fashion-solid-color-printed-short-sleeve-shirt?variant=d816134a-0dea-446b-a36e-24456ecaaf06","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":24,"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 : XHPsh2Hf4-White-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"d816134a-0dea-446b-a36e-24456ecaaf06","product_id":"d48bdd40-453c-4ca6-a50e-54554823bbbd","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHPsh2Hf4-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b076896601b3afc9dff6a99e75f9e68a.jpeg","path":"b076896601b3afc9dff6a99e75f9e68a.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"35.89","retail_price":"47","available":true,"url":"\/products\/fashion-solid-color-printed-short-sleeve-shirt?variant=d816134a-0dea-446b-a36e-24456ecaaf06","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}