${function() {
const variantData = data.variant || {"id":"adc478c7-6ad0-4aaf-8342-1e211ef2421d","product_id":"51d88f52-9031-4433-aa1c-c58d6f53e155","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHIjgT51O-Red-S","barcode":"","position":11,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b532e5b6f8e6bfa97f884e6c50d2b9db.jpeg","path":"b532e5b6f8e6bfa97f884e6c50d2b9db.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"500","compare_at_price":"65","price":"48.89","retail_price":"65","available":true,"url":"\/products\/casual-statement-patch-sweatshirt-set?variant=adc478c7-6ad0-4aaf-8342-1e211ef2421d","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":25,"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 : XHIjgT51O-Red-S
Weight : 500g
${function(){
const variantData = data.variant || {"id":"adc478c7-6ad0-4aaf-8342-1e211ef2421d","product_id":"51d88f52-9031-4433-aa1c-c58d6f53e155","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHIjgT51O-Red-S","barcode":"","position":11,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b532e5b6f8e6bfa97f884e6c50d2b9db.jpeg","path":"b532e5b6f8e6bfa97f884e6c50d2b9db.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"500","compare_at_price":"65","price":"48.89","retail_price":"65","available":true,"url":"\/products\/casual-statement-patch-sweatshirt-set?variant=adc478c7-6ad0-4aaf-8342-1e211ef2421d","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}