${function() {
const variantData = data.variant || {"id":"4fe5c5cb-9b53-4885-b72d-bdd6feb6b0e7","product_id":"ea4bee3e-86a3-4bb3-81ef-79251cb1ec72","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b329bb069de3ac5bf88ab421ea048f8.jpg","path":"4b329bb069de3ac5bf88ab421ea048f8.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"300","compare_at_price":"35.98","price":"24.98","retail_price":"35.98","available":true,"url":"\/products\/a-girl-should-be-two-things-sweatshirt-jhd4?variant=4fe5c5cb-9b53-4885-b72d-bdd6feb6b0e7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"4fe5c5cb-9b53-4885-b72d-bdd6feb6b0e7","product_id":"ea4bee3e-86a3-4bb3-81ef-79251cb1ec72","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b329bb069de3ac5bf88ab421ea048f8.jpg","path":"4b329bb069de3ac5bf88ab421ea048f8.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"300","compare_at_price":"35.98","price":"24.98","retail_price":"35.98","available":true,"url":"\/products\/a-girl-should-be-two-things-sweatshirt-jhd4?variant=4fe5c5cb-9b53-4885-b72d-bdd6feb6b0e7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}