${function() {
const variantData = data.variant || {"id":"69ef54ec-f8a3-4046-935b-126ec40dd066","product_id":"4497b1d3-bef2-48af-b4aa-51a029b81243","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHN40rS3P-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/959e18a0709989f19d6ee5a369d88ce9.jpeg","path":"959e18a0709989f19d6ee5a369d88ce9.jpeg","width":3390,"height":3390,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"38","price":"31.89","retail_price":"38","available":true,"url":"\/products\/washed-vintage-grey-street-heap-pants-trousers?variant=69ef54ec-f8a3-4046-935b-126ec40dd066","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XHN40rS3P-Gray-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"69ef54ec-f8a3-4046-935b-126ec40dd066","product_id":"4497b1d3-bef2-48af-b4aa-51a029b81243","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHN40rS3P-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/959e18a0709989f19d6ee5a369d88ce9.jpeg","path":"959e18a0709989f19d6ee5a369d88ce9.jpeg","width":3390,"height":3390,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"38","price":"31.89","retail_price":"38","available":true,"url":"\/products\/washed-vintage-grey-street-heap-pants-trousers?variant=69ef54ec-f8a3-4046-935b-126ec40dd066","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}