${function() {
const variantData = data.variant || {"id":"a736502a-c694-453a-abef-062a0b1a0401","product_id":"18c491d5-24be-4078-98d9-84eb4eb33fd7","title":"Navy Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"101307930009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0505651a15d7d081e02003264fc58b9b.jpeg","path":"0505651a15d7d081e02003264fc58b9b.jpeg","width":698,"height":698,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"0","compare_at_price":"27.98","price":"18.98","retail_price":"27.98","available":true,"url":"\/products\/trust-no-one-handshake-print-short-sleeved-t-shirt?variant=a736502a-c694-453a-abef-062a0b1a0401","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":30};
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":"a736502a-c694-453a-abef-062a0b1a0401","product_id":"18c491d5-24be-4078-98d9-84eb4eb33fd7","title":"Navy Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"101307930009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0505651a15d7d081e02003264fc58b9b.jpeg","path":"0505651a15d7d081e02003264fc58b9b.jpeg","width":698,"height":698,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"0","compare_at_price":"27.98","price":"18.98","retail_price":"27.98","available":true,"url":"\/products\/trust-no-one-handshake-print-short-sleeved-t-shirt?variant=a736502a-c694-453a-abef-062a0b1a0401","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":30};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}