people are viewing this right now
${function() {
const variantData = data.variant || {"id":"3ad0dc9e-ff09-436b-abaf-db1fbe99452b","product_id":"0a8f96d7-194b-44bd-a80d-2f36288baf43","title":"Black-M","weight_unit":"lb","inventory_quantity":1000,"sku":"TX2201593-\u9ed1\u8272M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6497334bcf7b1524bc20d213ed329c25.jpeg","path":"6497334bcf7b1524bc20d213ed329c25.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"58.75","price":"39.99","retail_price":"58.75","available":true,"url":"\/products\/mens-standing-collar-zipper-casual-jacket-1?variant=3ad0dc9e-ff09-436b-abaf-db1fbe99452b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":32,"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":"3ad0dc9e-ff09-436b-abaf-db1fbe99452b","product_id":"0a8f96d7-194b-44bd-a80d-2f36288baf43","title":"Black-M","weight_unit":"lb","inventory_quantity":1000,"sku":"TX2201593-\u9ed1\u8272M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6497334bcf7b1524bc20d213ed329c25.jpeg","path":"6497334bcf7b1524bc20d213ed329c25.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"58.75","price":"39.99","retail_price":"58.75","available":true,"url":"\/products\/mens-standing-collar-zipper-casual-jacket-1?variant=3ad0dc9e-ff09-436b-abaf-db1fbe99452b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}