${function() {
const variantData = data.variant || {"id":"51072307-4d4e-4df2-9646-b18ed28a7fec","product_id":"3eb3f940-44b9-4ec9-83d4-bb8a2a74e940","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHI5zSWN5-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a61a84cbf8c9c3112302dc6a0f990d14.jpeg","path":"a61a84cbf8c9c3112302dc6a0f990d14.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"30.89","retail_price":"45","available":true,"url":"\/products\/fashionable-and-personalized-round-neck-irregular-long-sleeved-t-shirt?variant=51072307-4d4e-4df2-9646-b18ed28a7fec","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":31,"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 : XHI5zSWN5-White-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"51072307-4d4e-4df2-9646-b18ed28a7fec","product_id":"3eb3f940-44b9-4ec9-83d4-bb8a2a74e940","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHI5zSWN5-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a61a84cbf8c9c3112302dc6a0f990d14.jpeg","path":"a61a84cbf8c9c3112302dc6a0f990d14.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"30.89","retail_price":"45","available":true,"url":"\/products\/fashionable-and-personalized-round-neck-irregular-long-sleeved-t-shirt?variant=51072307-4d4e-4df2-9646-b18ed28a7fec","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}