people are viewing this right now
${function() {
const variantData = data.variant || {"id":"06c7025f-a215-4a0d-9086-291653e489d3","product_id":"84ad17ca-ea7d-4509-b060-de2d1985b81b","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5bc15418b801f1846957a60f8481848.jpg","path":"e5bc15418b801f1846957a60f8481848.jpg","width":1280,"height":1920,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/new-womens-high-waist-pocket-wide-leg-button-casual-loose-straight?variant=06c7025f-a215-4a0d-9086-291653e489d3","available_quantity":999999999,"options":[{"name":"color","value":"Gray"},{"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 + '%'
: ``
)}
`;
}()}
${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":"06c7025f-a215-4a0d-9086-291653e489d3","product_id":"84ad17ca-ea7d-4509-b060-de2d1985b81b","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5bc15418b801f1846957a60f8481848.jpg","path":"e5bc15418b801f1846957a60f8481848.jpg","width":1280,"height":1920,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/new-womens-high-waist-pocket-wide-leg-button-casual-loose-straight?variant=06c7025f-a215-4a0d-9086-291653e489d3","available_quantity":999999999,"options":[{"name":"color","value":"Gray"},{"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}
`
}()}