${function() {
const variantData = data.variant || {"id":"7c46bbcc-a036-4063-8c1d-feefcaa03065","product_id":"903d4257-98dc-4533-932f-2d9bbd4c09f4","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHoo3St9Q-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81aa95273461e424a9ed37505e4ed213.jpeg","path":"81aa95273461e424a9ed37505e4ed213.jpeg","width":1263,"height":1263,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"300","compare_at_price":"40","price":"26.89","retail_price":"40","available":true,"url":"\/products\/personalized-double-layer-mesh-sports-shorts?variant=7c46bbcc-a036-4063-8c1d-feefcaa03065","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":1};
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 : XHoo3St9Q-Green-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"7c46bbcc-a036-4063-8c1d-feefcaa03065","product_id":"903d4257-98dc-4533-932f-2d9bbd4c09f4","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHoo3St9Q-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81aa95273461e424a9ed37505e4ed213.jpeg","path":"81aa95273461e424a9ed37505e4ed213.jpeg","width":1263,"height":1263,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"300","compare_at_price":"40","price":"26.89","retail_price":"40","available":true,"url":"\/products\/personalized-double-layer-mesh-sports-shorts?variant=7c46bbcc-a036-4063-8c1d-feefcaa03065","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}