${function() {
const variantData = data.variant || {"id":"5d14fbed-afad-45db-8eeb-7aa14fed9cda","product_id":"c8d309d3-eeb0-45c4-8b31-644a5f03463b","title":"green-S","weight_unit":"kg","inventory_quantity":200,"sku":"UR0345-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9d9fb6404be4ef4effcc27946cf8449.jpeg","path":"a9d9fb6404be4ef4effcc27946cf8449.jpeg","width":569,"height":790,"alt":"","aspect_ratio":0.720253164556962},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"35.98","price":"23.98","retail_price":"35.98","available":true,"url":"\/products\/fashion-print-long-sleeve-sweatshirt-119-65d4-6bn5?variant=5d14fbed-afad-45db-8eeb-7aa14fed9cda","available_quantity":200,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":33,"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 : UR0345-green-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"5d14fbed-afad-45db-8eeb-7aa14fed9cda","product_id":"c8d309d3-eeb0-45c4-8b31-644a5f03463b","title":"green-S","weight_unit":"kg","inventory_quantity":200,"sku":"UR0345-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9d9fb6404be4ef4effcc27946cf8449.jpeg","path":"a9d9fb6404be4ef4effcc27946cf8449.jpeg","width":569,"height":790,"alt":"","aspect_ratio":0.720253164556962},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"35.98","price":"23.98","retail_price":"35.98","available":true,"url":"\/products\/fashion-print-long-sleeve-sweatshirt-119-65d4-6bn5?variant=5d14fbed-afad-45db-8eeb-7aa14fed9cda","available_quantity":200,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}