${function() {
const variantData = data.variant || {"id":"d9b349a5-a8a9-498d-b7c9-d9d1ef0810b0","product_id":"2372cdfa-f687-472a-9b8f-8f945c6ca0a2","title":"Green-30","weight_unit":"kg","inventory_quantity":0,"sku":"xtjx5202301319-8-b1","barcode":"","position":1,"option1":"Green","option2":"30","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61dfd44f1f2dd17c4f44b3bb8732df13.jpeg","path":"61dfd44f1f2dd17c4f44b3bb8732df13.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.69,"min_quantity":1}],"weight":"0","compare_at_price":"64.69","price":"34.69","retail_price":"64.69","available":true,"url":"\/products\/retro-multi-pocket-straight-leg-color-block-elastic-waist-cargo-pants?variant=d9b349a5-a8a9-498d-b7c9-d9d1ef0810b0","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"30"}],"off_ratio":46,"flashsale_info":[],"sales":2};
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 : xtjx5202301319-8-b1
${function(){
const variantData = data.variant || {"id":"d9b349a5-a8a9-498d-b7c9-d9d1ef0810b0","product_id":"2372cdfa-f687-472a-9b8f-8f945c6ca0a2","title":"Green-30","weight_unit":"kg","inventory_quantity":0,"sku":"xtjx5202301319-8-b1","barcode":"","position":1,"option1":"Green","option2":"30","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61dfd44f1f2dd17c4f44b3bb8732df13.jpeg","path":"61dfd44f1f2dd17c4f44b3bb8732df13.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.69,"min_quantity":1}],"weight":"0","compare_at_price":"64.69","price":"34.69","retail_price":"64.69","available":true,"url":"\/products\/retro-multi-pocket-straight-leg-color-block-elastic-waist-cargo-pants?variant=d9b349a5-a8a9-498d-b7c9-d9d1ef0810b0","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"30"}],"off_ratio":46,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}