${function() {
const variantData = data.variant || {"id":"4f865b23-3121-491d-be6e-1475628599f8","product_id":"e18576f8-fbfc-4b1f-b746-efaa03449cca","title":"S-White","weight_unit":"kg","inventory_quantity":1000,"sku":"004457sw","barcode":"","position":1,"option1":"S","option2":"White","option3":"","note":"","image":null,"wholesale_price":[{"price":32.98,"min_quantity":1}],"weight":"0","compare_at_price":"41.98","price":"32.98","retail_price":"41.98","available":true,"url":"\/products\/two-in-the-pink-one-in-the-stink-white-print-hoodie?variant=4f865b23-3121-491d-be6e-1475628599f8","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"White"}],"off_ratio":21,"flashsale_info":[],"sales":1};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
people are viewing this right now
${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":"4f865b23-3121-491d-be6e-1475628599f8","product_id":"e18576f8-fbfc-4b1f-b746-efaa03449cca","title":"S-White","weight_unit":"kg","inventory_quantity":1000,"sku":"004457sw","barcode":"","position":1,"option1":"S","option2":"White","option3":"","note":"","image":null,"wholesale_price":[{"price":32.98,"min_quantity":1}],"weight":"0","compare_at_price":"41.98","price":"32.98","retail_price":"41.98","available":true,"url":"\/products\/two-in-the-pink-one-in-the-stink-white-print-hoodie?variant=4f865b23-3121-491d-be6e-1475628599f8","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"White"}],"off_ratio":21,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}