${function() {
const variantData = data.variant || {"id":"e75e6d90-2076-44b5-bedf-301ea4d9644d","product_id":"261527f2-9355-4f17-9776-a46a603d8073","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHFYMa6lF-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77b9e0d8e4f77a63a6874457932f5c0b.jpeg","path":"77b9e0d8e4f77a63a6874457932f5c0b.jpeg","width":1254,"height":1254,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"400","compare_at_price":"45","price":"35.89","retail_price":"45","available":true,"url":"\/products\/personalized-street-style-casual-lapel-shirt?variant=e75e6d90-2076-44b5-bedf-301ea4d9644d","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":1};
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 : XHFYMa6lF-Brown-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"e75e6d90-2076-44b5-bedf-301ea4d9644d","product_id":"261527f2-9355-4f17-9776-a46a603d8073","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHFYMa6lF-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77b9e0d8e4f77a63a6874457932f5c0b.jpeg","path":"77b9e0d8e4f77a63a6874457932f5c0b.jpeg","width":1254,"height":1254,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"400","compare_at_price":"45","price":"35.89","retail_price":"45","available":true,"url":"\/products\/personalized-street-style-casual-lapel-shirt?variant=e75e6d90-2076-44b5-bedf-301ea4d9644d","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}