${function() {
const variantData = data.variant || {"id":"f6d92ad5-b60e-4f51-89a1-6eca59ec5aa4","product_id":"e3b08c5a-c93d-4a1c-9987-f9bc5b77f41a","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHcAbx15g-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/868c4d15908e89c4663747e8aa7e810c.jpeg","path":"868c4d15908e89c4663747e8aa7e810c.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"36.89","retail_price":"77","available":true,"url":"\/products\/street-topstitched-workwear-denim?variant=f6d92ad5-b60e-4f51-89a1-6eca59ec5aa4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":52,"flashsale_info":[],"sales":1};
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 : XHcAbx15g-Black-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"f6d92ad5-b60e-4f51-89a1-6eca59ec5aa4","product_id":"e3b08c5a-c93d-4a1c-9987-f9bc5b77f41a","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHcAbx15g-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/868c4d15908e89c4663747e8aa7e810c.jpeg","path":"868c4d15908e89c4663747e8aa7e810c.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"36.89","retail_price":"77","available":true,"url":"\/products\/street-topstitched-workwear-denim?variant=f6d92ad5-b60e-4f51-89a1-6eca59ec5aa4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":52,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}