${function() {
const variantData = data.variant || {"id":"8c068e41-d1f0-4962-953c-9b3223de59e5","product_id":"495f0b3e-36a7-4e4f-a2b1-75aa7e57896a","title":"white-S","weight_unit":"g","inventory_quantity":1000,"sku":"PCGBT0142-white-S","barcode":"260571-white-S","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf419af37c16dae840f917f056607235.jpeg","path":"bf419af37c16dae840f917f056607235.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"871","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/turtleneck-knitted-two-pieces-pants-suits?variant=8c068e41-d1f0-4962-953c-9b3223de59e5","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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 : PCGBT0142-white-S
Weight : 871g
Barcode : 260571-white-S
${function(){
const variantData = data.variant || {"id":"8c068e41-d1f0-4962-953c-9b3223de59e5","product_id":"495f0b3e-36a7-4e4f-a2b1-75aa7e57896a","title":"white-S","weight_unit":"g","inventory_quantity":1000,"sku":"PCGBT0142-white-S","barcode":"260571-white-S","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf419af37c16dae840f917f056607235.jpeg","path":"bf419af37c16dae840f917f056607235.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"871","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/turtleneck-knitted-two-pieces-pants-suits?variant=8c068e41-d1f0-4962-953c-9b3223de59e5","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}