${function() {
const variantData = data.variant || {"id":"140ea5be-a18d-48c1-ac31-ffe6c2bbc72c","product_id":"00fab47f-c5be-4e87-bdf8-94b69d0d789d","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHRNRR7ic-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/979be665d5729f0acebd41e45d31dcc8.jpeg","path":"979be665d5729f0acebd41e45d31dcc8.jpeg","width":1226,"height":1226,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"600","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/fashion-solid-wash-grey-street-style-jeans?variant=140ea5be-a18d-48c1-ac31-ffe6c2bbc72c","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":23};
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 : XHRNRR7ic-Gray-S
Weight : 600g
${function(){
const variantData = data.variant || {"id":"140ea5be-a18d-48c1-ac31-ffe6c2bbc72c","product_id":"00fab47f-c5be-4e87-bdf8-94b69d0d789d","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHRNRR7ic-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/979be665d5729f0acebd41e45d31dcc8.jpeg","path":"979be665d5729f0acebd41e45d31dcc8.jpeg","width":1226,"height":1226,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"600","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/fashion-solid-wash-grey-street-style-jeans?variant=140ea5be-a18d-48c1-ac31-ffe6c2bbc72c","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":23};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}