${function() {
const variantData = data.variant || {"id":"161f986c-782c-4f83-b63b-3ab94922e529","product_id":"a854da8a-8580-4779-b243-83452c1be263","title":"S-black","weight_unit":"kg","inventory_quantity":1000,"sku":"S black-43124146","barcode":"","position":2,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f3df7d1fa70acc71a3ea5496df4ce80.jpeg","path":"6f3df7d1fa70acc71a3ea5496df4ce80.jpeg","width":800,"height":1066,"alt":"Women Striped Loose Boho Lantern Sleeve Oversized Sweater","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":38.88,"min_quantity":1}],"weight":"0","compare_at_price":"38.88","price":"38.88","retail_price":"38.88","available":true,"url":"\/products\/women-striped-loose-boho-lantern-sleeve-oversized-sweater-208529822676?variant=161f986c-782c-4f83-b63b-3ab94922e529","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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":"161f986c-782c-4f83-b63b-3ab94922e529","product_id":"a854da8a-8580-4779-b243-83452c1be263","title":"S-black","weight_unit":"kg","inventory_quantity":1000,"sku":"S black-43124146","barcode":"","position":2,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f3df7d1fa70acc71a3ea5496df4ce80.jpeg","path":"6f3df7d1fa70acc71a3ea5496df4ce80.jpeg","width":800,"height":1066,"alt":"Women Striped Loose Boho Lantern Sleeve Oversized Sweater","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":38.88,"min_quantity":1}],"weight":"0","compare_at_price":"38.88","price":"38.88","retail_price":"38.88","available":true,"url":"\/products\/women-striped-loose-boho-lantern-sleeve-oversized-sweater-208529822676?variant=161f986c-782c-4f83-b63b-3ab94922e529","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}