${function() {
const variantData = data.variant || {"id":"734d6dd1-cad6-44da-bf05-e55909f7412c","product_id":"1d5c3337-9d6c-4d5d-847b-4cb3056be2dd","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHwHZ9tTw-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12ed5e808fec8cb02b8ee7e39449798e.jpeg","path":"12ed5e808fec8cb02b8ee7e39449798e.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"32.89","retail_price":"47","available":true,"url":"\/products\/stylish-lapel-casual-shirt?variant=734d6dd1-cad6-44da-bf05-e55909f7412c","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":72};
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 : XHwHZ9tTw-Green-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"734d6dd1-cad6-44da-bf05-e55909f7412c","product_id":"1d5c3337-9d6c-4d5d-847b-4cb3056be2dd","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHwHZ9tTw-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12ed5e808fec8cb02b8ee7e39449798e.jpeg","path":"12ed5e808fec8cb02b8ee7e39449798e.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"32.89","retail_price":"47","available":true,"url":"\/products\/stylish-lapel-casual-shirt?variant=734d6dd1-cad6-44da-bf05-e55909f7412c","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":72};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}