${function() {
const variantData = data.variant || {"id":"2ecccb87-95b5-44db-8242-d6e5638839a9","product_id":"93a586f5-f053-4f4d-aa2e-146cc4df3aaf","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHERWtAsW-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f91885cf37a4c388654a56f937a6cc44.jpeg","path":"f91885cf37a4c388654a56f937a6cc44.jpeg","width":1080,"height":1081,"alt":"","aspect_ratio":0.9990749306197965},"wholesale_price":[{"price":27.89,"min_quantity":1}],"weight":"700","compare_at_price":"45","price":"27.89","retail_price":"45","available":true,"url":"\/products\/love-graffiti-mens-hip-hop-loose-straight-cow-jeans?variant=2ecccb87-95b5-44db-8242-d6e5638839a9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"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 : XHERWtAsW-Black-S
Weight : 700g
${function(){
const variantData = data.variant || {"id":"2ecccb87-95b5-44db-8242-d6e5638839a9","product_id":"93a586f5-f053-4f4d-aa2e-146cc4df3aaf","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHERWtAsW-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f91885cf37a4c388654a56f937a6cc44.jpeg","path":"f91885cf37a4c388654a56f937a6cc44.jpeg","width":1080,"height":1081,"alt":"","aspect_ratio":0.9990749306197965},"wholesale_price":[{"price":27.89,"min_quantity":1}],"weight":"700","compare_at_price":"45","price":"27.89","retail_price":"45","available":true,"url":"\/products\/love-graffiti-mens-hip-hop-loose-straight-cow-jeans?variant=2ecccb87-95b5-44db-8242-d6e5638839a9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}