${function() {
const variantData = data.variant || {"id":"143457dd-a2d3-45ac-8062-285ac9dd38c7","product_id":"9761c46b-d06d-475b-81e5-436a89b60179","title":"Green-XL","weight_unit":"g","inventory_quantity":999,"sku":"XH9fhTHCV-Green-XL","barcode":"","position":1,"option1":"Green","option2":"XL","option3":"","note":"","image":null,"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"40","price":"31.89","retail_price":"40","available":true,"url":"\/products\/hip-hop-personality-trendy-brand-hoodie?variant=143457dd-a2d3-45ac-8062-285ac9dd38c7","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"XL"}],"off_ratio":20,"flashsale_info":[],"sales":99};
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 : XH9fhTHCV-Green-XL
Weight : 300g
${function(){
const variantData = data.variant || {"id":"143457dd-a2d3-45ac-8062-285ac9dd38c7","product_id":"9761c46b-d06d-475b-81e5-436a89b60179","title":"Green-XL","weight_unit":"g","inventory_quantity":999,"sku":"XH9fhTHCV-Green-XL","barcode":"","position":1,"option1":"Green","option2":"XL","option3":"","note":"","image":null,"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"40","price":"31.89","retail_price":"40","available":true,"url":"\/products\/hip-hop-personality-trendy-brand-hoodie?variant=143457dd-a2d3-45ac-8062-285ac9dd38c7","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"XL"}],"off_ratio":20,"flashsale_info":[],"sales":99};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}