${function() {
const variantData = data.variant || {"id":"c5ed53b2-9232-4cac-9cc7-da5ddabcfa47","product_id":"bbc794f2-2c0d-4eda-b505-25eef45d65e6","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHJqMU34j-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca25be39b76914f3389df4e81d2b1bdb.jpeg","path":"ca25be39b76914f3389df4e81d2b1bdb.jpeg","width":1079,"height":1079,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.89,"min_quantity":1}],"weight":"400","compare_at_price":"59","price":"44.89","retail_price":"59","available":true,"url":"\/products\/fashionable-and-personalized-funny-contrasting-color-jeans?variant=c5ed53b2-9232-4cac-9cc7-da5ddabcfa47","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":9};
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 : XHJqMU34j-Yellow-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"c5ed53b2-9232-4cac-9cc7-da5ddabcfa47","product_id":"bbc794f2-2c0d-4eda-b505-25eef45d65e6","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHJqMU34j-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca25be39b76914f3389df4e81d2b1bdb.jpeg","path":"ca25be39b76914f3389df4e81d2b1bdb.jpeg","width":1079,"height":1079,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.89,"min_quantity":1}],"weight":"400","compare_at_price":"59","price":"44.89","retail_price":"59","available":true,"url":"\/products\/fashionable-and-personalized-funny-contrasting-color-jeans?variant=c5ed53b2-9232-4cac-9cc7-da5ddabcfa47","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":9};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}