${function() {
const variantData = data.variant || {"id":"36ebeb4e-9986-45df-b9ae-1aecf2e1eb11","product_id":"f24c45f8-bd7e-482e-b653-954d06b19cb7","title":"Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHomni3vU-Yellow-S","barcode":"","position":6,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a756369f3c8e3420777df716dacb691.jpeg","path":"3a756369f3c8e3420777df716dacb691.jpeg","width":1798,"height":1798,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"666","compare_at_price":"55","price":"26.89","retail_price":"55","available":true,"url":"\/products\/lone-star-printed-casual-street-pants?variant=36ebeb4e-9986-45df-b9ae-1aecf2e1eb11","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":51,"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 : XHomni3vU-Yellow-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"36ebeb4e-9986-45df-b9ae-1aecf2e1eb11","product_id":"f24c45f8-bd7e-482e-b653-954d06b19cb7","title":"Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHomni3vU-Yellow-S","barcode":"","position":6,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a756369f3c8e3420777df716dacb691.jpeg","path":"3a756369f3c8e3420777df716dacb691.jpeg","width":1798,"height":1798,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"666","compare_at_price":"55","price":"26.89","retail_price":"55","available":true,"url":"\/products\/lone-star-printed-casual-street-pants?variant=36ebeb4e-9986-45df-b9ae-1aecf2e1eb11","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":51,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}