${function() {
const variantData = data.variant || {"id":"d9276fc9-cb22-49fb-bd04-3ce1c7f33ee2","product_id":"1ef0b3da-9fb4-4aa7-98e6-859466e3e51b","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XH332IIxd-Green-S","barcode":"","position":11,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8a0f95e6b5b031c6a405c768e7d9cb8.jpeg","path":"e8a0f95e6b5b031c6a405c768e7d9cb8.jpeg","width":1680,"height":1680,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/personalized-street-style-graphic-print-t-shirt-e5ub?variant=d9276fc9-cb22-49fb-bd04-3ce1c7f33ee2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":8};
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 : XH332IIxd-Green-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"d9276fc9-cb22-49fb-bd04-3ce1c7f33ee2","product_id":"1ef0b3da-9fb4-4aa7-98e6-859466e3e51b","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XH332IIxd-Green-S","barcode":"","position":11,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8a0f95e6b5b031c6a405c768e7d9cb8.jpeg","path":"e8a0f95e6b5b031c6a405c768e7d9cb8.jpeg","width":1680,"height":1680,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/personalized-street-style-graphic-print-t-shirt-e5ub?variant=d9276fc9-cb22-49fb-bd04-3ce1c7f33ee2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":8};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}