people are viewing this right now
${function() {
const variantData = data.variant || {"id":"067e003d-f3b4-4f44-925f-4ac98bcf67ff","product_id":"88ce6547-e0c8-4549-ac53-24cc8e248034","title":"Fold into two sections","weight_unit":"lb","inventory_quantity":999,"sku":"SF1968346-\u67aa\u7070\u8272\u4e00\u6298\u4e24\u6bb5","barcode":"","position":1,"option1":"Fold into two sections","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e6d08145f4e35f436433f09a747b3fe.jpeg","path":"4e6d08145f4e35f436433f09a747b3fe.jpeg","width":784,"height":628,"alt":"","aspect_ratio":1.2484076433121019},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"78","price":"39.99","retail_price":"78","available":true,"url":"\/products\/folding-clothes-drying-rack-2-2-2?variant=067e003d-f3b4-4f44-925f-4ac98bcf67ff","available_quantity":999999999,"options":[{"name":"Style","value":"Fold into two sections"}],"off_ratio":49,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"067e003d-f3b4-4f44-925f-4ac98bcf67ff","product_id":"88ce6547-e0c8-4549-ac53-24cc8e248034","title":"Fold into two sections","weight_unit":"lb","inventory_quantity":999,"sku":"SF1968346-\u67aa\u7070\u8272\u4e00\u6298\u4e24\u6bb5","barcode":"","position":1,"option1":"Fold into two sections","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e6d08145f4e35f436433f09a747b3fe.jpeg","path":"4e6d08145f4e35f436433f09a747b3fe.jpeg","width":784,"height":628,"alt":"","aspect_ratio":1.2484076433121019},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"78","price":"39.99","retail_price":"78","available":true,"url":"\/products\/folding-clothes-drying-rack-2-2-2?variant=067e003d-f3b4-4f44-925f-4ac98bcf67ff","available_quantity":999999999,"options":[{"name":"Style","value":"Fold into two sections"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}