${function() {
const variantData = data.variant || {"id":"72656cb8-3fd6-4450-8208-e06ba6df1440","product_id":"a01f083a-76f0-442d-9a62-9a2c55afa670","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHLqKeEMn-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12b67b51e62a123b14b12448be55f488.jpeg","path":"12b67b51e62a123b14b12448be55f488.jpeg","width":3390,"height":3390,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"40","price":"31.89","retail_price":"40","available":true,"url":"\/products\/contrasting-fashion-print-street-slim-fit-trousers?variant=72656cb8-3fd6-4450-8208-e06ba6df1440","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XHLqKeEMn-Green-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"72656cb8-3fd6-4450-8208-e06ba6df1440","product_id":"a01f083a-76f0-442d-9a62-9a2c55afa670","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHLqKeEMn-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12b67b51e62a123b14b12448be55f488.jpeg","path":"12b67b51e62a123b14b12448be55f488.jpeg","width":3390,"height":3390,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"40","price":"31.89","retail_price":"40","available":true,"url":"\/products\/contrasting-fashion-print-street-slim-fit-trousers?variant=72656cb8-3fd6-4450-8208-e06ba6df1440","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}