${function() {
const variantData = data.variant || {"id":"20910f7b-efe6-40bd-bd8b-7b7a496e5123","product_id":"7326ed03-e188-4b27-95a8-8d8791ecd4db","title":"Camping-One Size","weight_unit":"kg","inventory_quantity":10000,"sku":"23110402-Camping-One Size","barcode":"","position":1,"option1":"Camping","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30c6075d3d8fbc76ce097e58be6ef884.jpeg","path":"30c6075d3d8fbc76ce097e58be6ef884.jpeg","width":679,"height":674,"alt":"","aspect_ratio":1.0074183976261128},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.06","compare_at_price":"4.99","price":"4.99","retail_price":"4.99","available":true,"url":"\/products\/id-rather-be-camping-crew-socks?variant=20910f7b-efe6-40bd-bd8b-7b7a496e5123","available_quantity":999999999,"options":[{"name":"Color","value":"Camping"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.
${function(){
const variantData = data.variant || {"id":"20910f7b-efe6-40bd-bd8b-7b7a496e5123","product_id":"7326ed03-e188-4b27-95a8-8d8791ecd4db","title":"Camping-One Size","weight_unit":"kg","inventory_quantity":10000,"sku":"23110402-Camping-One Size","barcode":"","position":1,"option1":"Camping","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30c6075d3d8fbc76ce097e58be6ef884.jpeg","path":"30c6075d3d8fbc76ce097e58be6ef884.jpeg","width":679,"height":674,"alt":"","aspect_ratio":1.0074183976261128},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.06","compare_at_price":"4.99","price":"4.99","retail_price":"4.99","available":true,"url":"\/products\/id-rather-be-camping-crew-socks?variant=20910f7b-efe6-40bd-bd8b-7b7a496e5123","available_quantity":999999999,"options":[{"name":"Color","value":"Camping"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}