${function() {
const variantData = data.variant || {"id":"5bb2c22d-c8b8-4c8a-93d6-fafbff90ebf7","product_id":"2c679395-71d5-4650-ad0c-2df2c3383bc1","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHgoHMeEJ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02069bd0de6076f0dbe18e4c029dfdea.jpeg","path":"02069bd0de6076f0dbe18e4c029dfdea.jpeg","width":1149,"height":1149,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/pentagram-letters-print-flared-trousers?variant=5bb2c22d-c8b8-4c8a-93d6-fafbff90ebf7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":5};
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 : XHgoHMeEJ-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"5bb2c22d-c8b8-4c8a-93d6-fafbff90ebf7","product_id":"2c679395-71d5-4650-ad0c-2df2c3383bc1","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHgoHMeEJ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02069bd0de6076f0dbe18e4c029dfdea.jpeg","path":"02069bd0de6076f0dbe18e4c029dfdea.jpeg","width":1149,"height":1149,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/pentagram-letters-print-flared-trousers?variant=5bb2c22d-c8b8-4c8a-93d6-fafbff90ebf7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}