${function() {
const variantData = data.variant || {"id":"bd57363c-35c7-48c0-a3ee-9f39352de191","product_id":"57aca95b-3335-4454-9ad6-e3d09d6f6b01","title":"Yellow And Green-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHL61MLCy-YellowAndGreen-S","barcode":"","position":1,"option1":"Yellow And Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43ca11d82c50094816a4405fcd388640.jpeg","path":"43ca11d82c50094816a4405fcd388640.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"21.89","retail_price":"33","available":true,"url":"\/products\/patchwork-mesh-shorts-size-32-and-33?variant=bd57363c-35c7-48c0-a3ee-9f39352de191","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow And Green"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":2};
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 : XHL61MLCy-YellowAndGreen-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"bd57363c-35c7-48c0-a3ee-9f39352de191","product_id":"57aca95b-3335-4454-9ad6-e3d09d6f6b01","title":"Yellow And Green-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHL61MLCy-YellowAndGreen-S","barcode":"","position":1,"option1":"Yellow And Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43ca11d82c50094816a4405fcd388640.jpeg","path":"43ca11d82c50094816a4405fcd388640.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"21.89","retail_price":"33","available":true,"url":"\/products\/patchwork-mesh-shorts-size-32-and-33?variant=bd57363c-35c7-48c0-a3ee-9f39352de191","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow And Green"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}