${function() {
const variantData = data.variant || {"id":"1d04eedb-9450-4f3f-a9ad-a9a02b0bce3d","product_id":"e3ad4f07-6680-45b5-a1d2-97850bdaab3d","title":"Sky_Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHpxhsh8Z-Sky_Blue-S","barcode":"","position":1,"option1":"Sky_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0fd7eb24b148ddf44c27ea4e8e3b263.jpeg","path":"d0fd7eb24b148ddf44c27ea4e8e3b263.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/casual-los-angeles-print-mesh-shorts?variant=1d04eedb-9450-4f3f-a9ad-a9a02b0bce3d","available_quantity":999999999,"options":[{"name":"Color","value":"Sky_Blue"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":7};
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 : XHpxhsh8Z-Sky_Blue-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"1d04eedb-9450-4f3f-a9ad-a9a02b0bce3d","product_id":"e3ad4f07-6680-45b5-a1d2-97850bdaab3d","title":"Sky_Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHpxhsh8Z-Sky_Blue-S","barcode":"","position":1,"option1":"Sky_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0fd7eb24b148ddf44c27ea4e8e3b263.jpeg","path":"d0fd7eb24b148ddf44c27ea4e8e3b263.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/casual-los-angeles-print-mesh-shorts?variant=1d04eedb-9450-4f3f-a9ad-a9a02b0bce3d","available_quantity":999999999,"options":[{"name":"Color","value":"Sky_Blue"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}