${function() {
const variantData = data.variant || {"id":"289af5d6-4875-46ed-9295-61c93dc8816a","product_id":"c1cea838-7ab6-47f1-996b-0848afaed8fb","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XH62vFXO9-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/784f47903e4a34675bba54fd01e46267.jpeg","path":"784f47903e4a34675bba54fd01e46267.jpeg","width":1566,"height":1566,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.89,"min_quantity":1}],"weight":"700","compare_at_price":"75","price":"54.89","retail_price":"75","available":true,"url":"\/products\/tassel-bright-wash-jeans-bootcut-trousers?variant=289af5d6-4875-46ed-9295-61c93dc8816a","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":27,"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 : XH62vFXO9-Yellow-S
Weight : 700g
${function(){
const variantData = data.variant || {"id":"289af5d6-4875-46ed-9295-61c93dc8816a","product_id":"c1cea838-7ab6-47f1-996b-0848afaed8fb","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XH62vFXO9-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/784f47903e4a34675bba54fd01e46267.jpeg","path":"784f47903e4a34675bba54fd01e46267.jpeg","width":1566,"height":1566,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.89,"min_quantity":1}],"weight":"700","compare_at_price":"75","price":"54.89","retail_price":"75","available":true,"url":"\/products\/tassel-bright-wash-jeans-bootcut-trousers?variant=289af5d6-4875-46ed-9295-61c93dc8816a","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}