${function() {
const variantData = data.variant || {"id":"a59a88a0-4d89-45c1-832a-65c6cf26b764","product_id":"a24fb6e0-1418-460a-9af4-727c1eb2d734","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XH49y3iMc-Blue-S","barcode":"","position":11,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eabfc1919a2fd607311db5306ad557c7.jpeg","path":"eabfc1919a2fd607311db5306ad557c7.jpeg","width":1800,"height":1800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"30","price":"19.89","retail_price":"30","available":true,"url":"\/products\/retro-hip-hop-casual-street-shorts?variant=a59a88a0-4d89-45c1-832a-65c6cf26b764","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":5};
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 : XH49y3iMc-Blue-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"a59a88a0-4d89-45c1-832a-65c6cf26b764","product_id":"a24fb6e0-1418-460a-9af4-727c1eb2d734","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XH49y3iMc-Blue-S","barcode":"","position":11,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eabfc1919a2fd607311db5306ad557c7.jpeg","path":"eabfc1919a2fd607311db5306ad557c7.jpeg","width":1800,"height":1800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"30","price":"19.89","retail_price":"30","available":true,"url":"\/products\/retro-hip-hop-casual-street-shorts?variant=a59a88a0-4d89-45c1-832a-65c6cf26b764","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}