${function() {
const variantData = data.variant || {"id":"0ab9258b-5b5e-48d7-8487-e551afa4776e","product_id":"3dc795f3-eadd-4631-8796-b730c69ecaea","title":"L","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"L","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":188.88,"min_quantity":1}],"weight":"0","compare_at_price":"30","price":"188.88","retail_price":"30","available":true,"url":"\/products\/damn-girl-tee?variant=0ab9258b-5b5e-48d7-8487-e551afa4776e","available_quantity":999999999,"options":[{"name":"size","value":"L"}],"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":"0ab9258b-5b5e-48d7-8487-e551afa4776e","product_id":"3dc795f3-eadd-4631-8796-b730c69ecaea","title":"L","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"L","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":188.88,"min_quantity":1}],"weight":"0","compare_at_price":"30","price":"188.88","retail_price":"30","available":true,"url":"\/products\/damn-girl-tee?variant=0ab9258b-5b5e-48d7-8487-e551afa4776e","available_quantity":999999999,"options":[{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}