${function() {
const variantData = data.variant || {"id":"248eafbb-67b5-4e6f-ab10-bb7b6ffe7eca","product_id":"a6c66449-3e80-47aa-b18b-77faae4926ad","title":"Orange-S","weight_unit":"g","inventory_quantity":999,"sku":"XHHAF3NHh-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b657c5dfe2af36e9d127257cc07e7f19.jpeg","path":"b657c5dfe2af36e9d127257cc07e7f19.jpeg","width":1154,"height":1154,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"39.89","retail_price":"55","available":true,"url":"\/products\/personalized-street-style-tapestry-trousers?variant=248eafbb-67b5-4e6f-ab10-bb7b6ffe7eca","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
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 : XHHAF3NHh-Orange-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"248eafbb-67b5-4e6f-ab10-bb7b6ffe7eca","product_id":"a6c66449-3e80-47aa-b18b-77faae4926ad","title":"Orange-S","weight_unit":"g","inventory_quantity":999,"sku":"XHHAF3NHh-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b657c5dfe2af36e9d127257cc07e7f19.jpeg","path":"b657c5dfe2af36e9d127257cc07e7f19.jpeg","width":1154,"height":1154,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"39.89","retail_price":"55","available":true,"url":"\/products\/personalized-street-style-tapestry-trousers?variant=248eafbb-67b5-4e6f-ab10-bb7b6ffe7eca","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}