${function() {
const variantData = data.variant || {"id":"3d176039-816a-43eb-998d-5f97e26025be","product_id":"9a14c3f2-d572-49a8-a356-b5f90915d11d","title":"S-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"00007259-S-Black","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf97013d5f5849be34f3929e2f8b512c.jpg","path":"bf97013d5f5849be34f3929e2f8b512c.jpg","width":1080,"height":1079,"alt":"","aspect_ratio":1.0009267840593141},"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\/two-seater-double-arrow-simple-casual-graphic-black-print-t-shirt?variant=3d176039-816a-43eb-998d-5f97e26025be","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"off_ratio":33,"flashsale_info":[],"sales":8};
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":"3d176039-816a-43eb-998d-5f97e26025be","product_id":"9a14c3f2-d572-49a8-a356-b5f90915d11d","title":"S-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"00007259-S-Black","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf97013d5f5849be34f3929e2f8b512c.jpg","path":"bf97013d5f5849be34f3929e2f8b512c.jpg","width":1080,"height":1079,"alt":"","aspect_ratio":1.0009267840593141},"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\/two-seater-double-arrow-simple-casual-graphic-black-print-t-shirt?variant=3d176039-816a-43eb-998d-5f97e26025be","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"off_ratio":33,"flashsale_info":[],"sales":8};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}