people are viewing this right now
${function() {
const variantData = data.variant || {"id":"f11beeb4-6fc4-4361-8862-50bfeaf3113a","product_id":"015350f9-4ef8-4e7d-8b95-004b0277e338","title":"white-2","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"white","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be9e4b4fba792c2a272b07ad6eaea540.jpg","path":"be9e4b4fba792c2a272b07ad6eaea540.jpg","width":667,"height":1000,"alt":"","aspect_ratio":0.667},"wholesale_price":[{"price":110,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"110","retail_price":"0","available":true,"url":"\/products\/flower-design-halter-neck-splicing-open-back-slit-long-dress-set?variant=f11beeb4-6fc4-4361-8862-50bfeaf3113a","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size\uff08US\uff09","value":"2"}],"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 + '%'
: ``
)}
`;
}()}
${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":"f11beeb4-6fc4-4361-8862-50bfeaf3113a","product_id":"015350f9-4ef8-4e7d-8b95-004b0277e338","title":"white-2","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"white","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be9e4b4fba792c2a272b07ad6eaea540.jpg","path":"be9e4b4fba792c2a272b07ad6eaea540.jpg","width":667,"height":1000,"alt":"","aspect_ratio":0.667},"wholesale_price":[{"price":110,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"110","retail_price":"0","available":true,"url":"\/products\/flower-design-halter-neck-splicing-open-back-slit-long-dress-set?variant=f11beeb4-6fc4-4361-8862-50bfeaf3113a","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size\uff08US\uff09","value":"2"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}