${function() {
const variantData = data.variant || {"id":"fea7dc55-7355-4f51-ac95-542518905654","product_id":"8d37f2f5-e4b3-407d-8554-e10ee3920c7d","title":"grey-S","weight_unit":"kg","inventory_quantity":994,"sku":"NC0192-grey-S","barcode":"","position":3,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7da44b6def9c0f05dec4bc0384b41a2.jpeg","path":"e7da44b6def9c0f05dec4bc0384b41a2.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"0.25","compare_at_price":"32.89","price":"25.98","retail_price":"32.89","available":true,"url":"\/products\/solid-color-cotton-linen-pocket-wide-leg-pants?variant=fea7dc55-7355-4f51-ac95-542518905654","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":21,"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.
Sku : NC0192-grey-S
Weight : 0.25kg
${function(){
const variantData = data.variant || {"id":"fea7dc55-7355-4f51-ac95-542518905654","product_id":"8d37f2f5-e4b3-407d-8554-e10ee3920c7d","title":"grey-S","weight_unit":"kg","inventory_quantity":994,"sku":"NC0192-grey-S","barcode":"","position":3,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7da44b6def9c0f05dec4bc0384b41a2.jpeg","path":"e7da44b6def9c0f05dec4bc0384b41a2.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"0.25","compare_at_price":"32.89","price":"25.98","retail_price":"32.89","available":true,"url":"\/products\/solid-color-cotton-linen-pocket-wide-leg-pants?variant=fea7dc55-7355-4f51-ac95-542518905654","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}