${function() {
const variantData = data.variant || {"id":"e60b583e-11bf-4f9f-ac4b-73bee51ae355","product_id":"f27e1a10-35cf-46e8-ae19-19cdf416e850","title":"Black-5XL","weight_unit":"kg","inventory_quantity":1000,"sku":"101818060001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39f7773329727f795e8cbc575457294b.jpeg","path":"39f7773329727f795e8cbc575457294b.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"21.48","price":"15.98","retail_price":"21.48","available":true,"url":"\/products\/lifes-too-short-to-give-a-shit-skull-printed-womens-t-shirt?variant=e60b583e-11bf-4f9f-ac4b-73bee51ae355","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":26,"flashsale_info":[],"sales":0};
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":"e60b583e-11bf-4f9f-ac4b-73bee51ae355","product_id":"f27e1a10-35cf-46e8-ae19-19cdf416e850","title":"Black-5XL","weight_unit":"kg","inventory_quantity":1000,"sku":"101818060001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39f7773329727f795e8cbc575457294b.jpeg","path":"39f7773329727f795e8cbc575457294b.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"21.48","price":"15.98","retail_price":"21.48","available":true,"url":"\/products\/lifes-too-short-to-give-a-shit-skull-printed-womens-t-shirt?variant=e60b583e-11bf-4f9f-ac4b-73bee51ae355","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}