${function() {
const variantData = data.variant || {"id":"0b9ed9ab-415c-45fb-a313-194a474604f8","product_id":"27a6a261-0e40-4766-8625-22167f5949f6","title":"S-Gray","weight_unit":"kg","inventory_quantity":1000,"sku":"010359sg","barcode":"","position":3,"option1":"S","option2":"Gray","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd48bcf89f8d781beb425e831478daf9.jpg","path":"fd48bcf89f8d781beb425e831478daf9.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"0","compare_at_price":"26.98","price":"17.98","retail_price":"26.98","available":true,"url":"\/products\/when-it-comes-to-doggy-style-white-print-t-shirt?variant=0b9ed9ab-415c-45fb-a313-194a474604f8","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Gray"}],"off_ratio":33,"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":"0b9ed9ab-415c-45fb-a313-194a474604f8","product_id":"27a6a261-0e40-4766-8625-22167f5949f6","title":"S-Gray","weight_unit":"kg","inventory_quantity":1000,"sku":"010359sg","barcode":"","position":3,"option1":"S","option2":"Gray","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd48bcf89f8d781beb425e831478daf9.jpg","path":"fd48bcf89f8d781beb425e831478daf9.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"0","compare_at_price":"26.98","price":"17.98","retail_price":"26.98","available":true,"url":"\/products\/when-it-comes-to-doggy-style-white-print-t-shirt?variant=0b9ed9ab-415c-45fb-a313-194a474604f8","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Gray"}],"off_ratio":33,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}