${function() {
const variantData = data.variant || {"id":"80ccfd3b-1b46-4464-bb8d-2f6f3cb74910","product_id":"16c22d41-d4f8-46d4-b1d0-22f1ecc8c541","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHT1w434p-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f545159777e214240e54c6ea06e2c19.jpeg","path":"9f545159777e214240e54c6ea06e2c19.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"200","compare_at_price":"40","price":"26.89","retail_price":"40","available":true,"url":"\/products\/casual-printed-street-trousers?variant=80ccfd3b-1b46-4464-bb8d-2f6f3cb74910","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":7};
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 : XHT1w434p-Red-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"80ccfd3b-1b46-4464-bb8d-2f6f3cb74910","product_id":"16c22d41-d4f8-46d4-b1d0-22f1ecc8c541","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHT1w434p-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f545159777e214240e54c6ea06e2c19.jpeg","path":"9f545159777e214240e54c6ea06e2c19.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"200","compare_at_price":"40","price":"26.89","retail_price":"40","available":true,"url":"\/products\/casual-printed-street-trousers?variant=80ccfd3b-1b46-4464-bb8d-2f6f3cb74910","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}