${function() {
const variantData = data.variant || {"id":"c3a7295d-22e4-4774-b0e3-d31c4364655d","product_id":"364ad73b-5f52-4f96-8994-db1d08578201","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHltcJ8Pu-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d3266cf3792097460320f6f7f426cbb.jpeg","path":"3d3266cf3792097460320f6f7f426cbb.jpeg","width":1800,"height":1800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"500","compare_at_price":"65","price":"40.89","retail_price":"65","available":true,"url":"\/products\/fashionable-and-personalized-retro-jeans?variant=c3a7295d-22e4-4774-b0e3-d31c4364655d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":68};
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 : XHltcJ8Pu-Black-S
Weight : 500g
${function(){
const variantData = data.variant || {"id":"c3a7295d-22e4-4774-b0e3-d31c4364655d","product_id":"364ad73b-5f52-4f96-8994-db1d08578201","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHltcJ8Pu-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d3266cf3792097460320f6f7f426cbb.jpeg","path":"3d3266cf3792097460320f6f7f426cbb.jpeg","width":1800,"height":1800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"500","compare_at_price":"65","price":"40.89","retail_price":"65","available":true,"url":"\/products\/fashionable-and-personalized-retro-jeans?variant=c3a7295d-22e4-4774-b0e3-d31c4364655d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":68};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}