${function() {
const variantData = data.variant || {"id":"7da3ad31-0afd-4354-95e6-5e40ead48ffa","product_id":"750cf886-79a2-4cb6-9c52-889a72c01f5f","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHGdBdFIe-Yellow-S","barcode":"","position":6,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/642b9d22ea6da122aa1de167681ce0c7.jpeg","path":"642b9d22ea6da122aa1de167681ce0c7.jpeg","width":1946,"height":1946,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"36.89","retail_price":"45","available":true,"url":"\/products\/casual-printed-loose-sports-trousers?variant=7da3ad31-0afd-4354-95e6-5e40ead48ffa","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":14};
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 : XHGdBdFIe-Yellow-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"7da3ad31-0afd-4354-95e6-5e40ead48ffa","product_id":"750cf886-79a2-4cb6-9c52-889a72c01f5f","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHGdBdFIe-Yellow-S","barcode":"","position":6,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/642b9d22ea6da122aa1de167681ce0c7.jpeg","path":"642b9d22ea6da122aa1de167681ce0c7.jpeg","width":1946,"height":1946,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"36.89","retail_price":"45","available":true,"url":"\/products\/casual-printed-loose-sports-trousers?variant=7da3ad31-0afd-4354-95e6-5e40ead48ffa","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":14};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}