${function() {
const variantData = data.variant || {"id":"f620a777-df38-4d96-9183-8e4e2d92ebea","product_id":"3dc795f3-eadd-4631-8796-b730c69ecaea","title":"S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/88fad97422b47d99dcd07beb641e8c96.png","path":"88fad97422b47d99dcd07beb641e8c96.png","width":1440,"height":1524,"alt":"","aspect_ratio":0.9448818897637795},"wholesale_price":[{"price":200,"min_quantity":1}],"weight":"0","compare_at_price":"30","price":"200","retail_price":"30","available":true,"url":"\/products\/damn-girl-tee?variant=f620a777-df38-4d96-9183-8e4e2d92ebea","available_quantity":999999999,"options":[{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
people are viewing this right now
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const variantData = data.variant || {"id":"f620a777-df38-4d96-9183-8e4e2d92ebea","product_id":"3dc795f3-eadd-4631-8796-b730c69ecaea","title":"S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/88fad97422b47d99dcd07beb641e8c96.png","path":"88fad97422b47d99dcd07beb641e8c96.png","width":1440,"height":1524,"alt":"","aspect_ratio":0.9448818897637795},"wholesale_price":[{"price":200,"min_quantity":1}],"weight":"0","compare_at_price":"30","price":"200","retail_price":"30","available":true,"url":"\/products\/damn-girl-tee?variant=f620a777-df38-4d96-9183-8e4e2d92ebea","available_quantity":999999999,"options":[{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}