${function() {
const variantData = data.variant || {"id":"8f4c126c-3969-4a2b-b895-9de3266111d5","product_id":"ae0860ad-99e4-44ba-8422-c39a40d04245","title":"red-One Size","weight_unit":"kg","inventory_quantity":200,"sku":"UR0871-red-One Size","barcode":"","position":1,"option1":"red","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d25e05c15395e36c4ac743f96576430.jpeg","path":"5d25e05c15395e36c4ac743f96576430.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":54.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"69.99","price":"54.99","retail_price":"69.99","available":true,"url":"\/products\/womens-round-neck-fashion-wide-leg-pants-two-piece-set?variant=8f4c126c-3969-4a2b-b895-9de3266111d5","available_quantity":200,"options":[{"name":"color","value":"red"},{"name":"size","value":"One Size"}],"off_ratio":21,"flashsale_info":[],"sales":0};
const saveType = "amount";
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 : UR0871-red-One Size
Weight : 0.3kg
${function(){
const variantData = data.variant || {"id":"8f4c126c-3969-4a2b-b895-9de3266111d5","product_id":"ae0860ad-99e4-44ba-8422-c39a40d04245","title":"red-One Size","weight_unit":"kg","inventory_quantity":200,"sku":"UR0871-red-One Size","barcode":"","position":1,"option1":"red","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d25e05c15395e36c4ac743f96576430.jpeg","path":"5d25e05c15395e36c4ac743f96576430.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":54.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"69.99","price":"54.99","retail_price":"69.99","available":true,"url":"\/products\/womens-round-neck-fashion-wide-leg-pants-two-piece-set?variant=8f4c126c-3969-4a2b-b895-9de3266111d5","available_quantity":200,"options":[{"name":"color","value":"red"},{"name":"size","value":"One Size"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}