${function() {
const variantData = data.variant || {"id":"be47e0ce-6553-40d1-ac98-42a74720dd68","product_id":"aa245de8-198f-42fa-b632-92ead376eaf9","title":"Light_Blue-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH1QjXaxr-Light_Blue-S","barcode":"","position":1,"option1":"Light_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/7301bd38580b3e9522ce170b6d4c0bf7.jpeg","path":"7301bd38580b3e9522ce170b6d4c0bf7.jpeg","width":2876,"height":2875,"alt":"","aspect_ratio":1.0003478260869565},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/pearl-noble-casual-street-jeans?variant=be47e0ce-6553-40d1-ac98-42a74720dd68","available_quantity":999999999,"options":[{"name":"Color","value":"Light_Blue"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":66};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XH1QjXaxr-Light_Blue-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"be47e0ce-6553-40d1-ac98-42a74720dd68","product_id":"aa245de8-198f-42fa-b632-92ead376eaf9","title":"Light_Blue-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH1QjXaxr-Light_Blue-S","barcode":"","position":1,"option1":"Light_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/7301bd38580b3e9522ce170b6d4c0bf7.jpeg","path":"7301bd38580b3e9522ce170b6d4c0bf7.jpeg","width":2876,"height":2875,"alt":"","aspect_ratio":1.0003478260869565},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/pearl-noble-casual-street-jeans?variant=be47e0ce-6553-40d1-ac98-42a74720dd68","available_quantity":999999999,"options":[{"name":"Color","value":"Light_Blue"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":66};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}