${function() {
const variantData = data.variant || {"id":"1dd8b543-ee34-41b6-b76e-4db1f5abc880","product_id":"10862a26-79a2-4f6f-b4bd-5dc57a885e4c","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH1Z6HX1K-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72642208848837fabf64c95744f4caf9.jpeg","path":"72642208848837fabf64c95744f4caf9.jpeg","width":2760,"height":2760,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"1000","compare_at_price":"99","price":"48.89","retail_price":"99","available":true,"url":"\/products\/street-patch-retro-washed-hoodie-and-trousers-two-piece-set?variant=1dd8b543-ee34-41b6-b76e-4db1f5abc880","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":51,"flashsale_info":[],"sales":20};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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 : XH1Z6HX1K-Red-S
Weight : 1000g
${function(){
const variantData = data.variant || {"id":"1dd8b543-ee34-41b6-b76e-4db1f5abc880","product_id":"10862a26-79a2-4f6f-b4bd-5dc57a885e4c","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH1Z6HX1K-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72642208848837fabf64c95744f4caf9.jpeg","path":"72642208848837fabf64c95744f4caf9.jpeg","width":2760,"height":2760,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"1000","compare_at_price":"99","price":"48.89","retail_price":"99","available":true,"url":"\/products\/street-patch-retro-washed-hoodie-and-trousers-two-piece-set?variant=1dd8b543-ee34-41b6-b76e-4db1f5abc880","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":51,"flashsale_info":[],"sales":20};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}