${function() {
const variantData = data.variant || {"id":"0407efc0-ec5f-4545-aa65-70d1e13c40df","product_id":"cb070427-14b1-41be-b30d-3d59c984465c","title":"S-Black","weight_unit":"kg","inventory_quantity":999,"sku":"00012240-S-Black","barcode":"","position":2,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8655e5eeff9786afbd9e39a8be232f97.jpg","path":"8655e5eeff9786afbd9e39a8be232f97.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\/a-peeled-banana-sexy-cartoon-white-print-t-shirt?variant=0407efc0-ec5f-4545-aa65-70d1e13c40df","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"off_ratio":33,"flashsale_info":[],"sales":44};
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":"0407efc0-ec5f-4545-aa65-70d1e13c40df","product_id":"cb070427-14b1-41be-b30d-3d59c984465c","title":"S-Black","weight_unit":"kg","inventory_quantity":999,"sku":"00012240-S-Black","barcode":"","position":2,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8655e5eeff9786afbd9e39a8be232f97.jpg","path":"8655e5eeff9786afbd9e39a8be232f97.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\/a-peeled-banana-sexy-cartoon-white-print-t-shirt?variant=0407efc0-ec5f-4545-aa65-70d1e13c40df","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"off_ratio":33,"flashsale_info":[],"sales":44};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}