${function() {
const variantData = data.variant || {"id":"b058e5a4-feaa-48bd-ae35-168be1f57ea7","product_id":"8cde1f40-cf7b-480c-b881-fdffdeb0abe3","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHLlOrzmL-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11172de8efc1c853479458a9cfcf5091.jpeg","path":"11172de8efc1c853479458a9cfcf5091.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\/fashionable-casual-double-layer-printed-shorts?variant=b058e5a4-feaa-48bd-ae35-168be1f57ea7","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
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 : XHLlOrzmL-Brown-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"b058e5a4-feaa-48bd-ae35-168be1f57ea7","product_id":"8cde1f40-cf7b-480c-b881-fdffdeb0abe3","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHLlOrzmL-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11172de8efc1c853479458a9cfcf5091.jpeg","path":"11172de8efc1c853479458a9cfcf5091.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\/fashionable-casual-double-layer-printed-shorts?variant=b058e5a4-feaa-48bd-ae35-168be1f57ea7","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}