${function() {
const variantData = data.variant || {"id":"d4fb5f5d-499f-4c58-b003-7bef77e94e60","product_id":"38e405cf-4b30-41b5-89b2-b123467d0609","title":"yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"GANWT0082-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"600","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/elongated-parka-jacket-for-winter-3?variant=d4fb5f5d-499f-4c58-b003-7bef77e94e60","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"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 : GANWT0082-yellow-S
Weight : 600g
${function(){
const variantData = data.variant || {"id":"d4fb5f5d-499f-4c58-b003-7bef77e94e60","product_id":"38e405cf-4b30-41b5-89b2-b123467d0609","title":"yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"GANWT0082-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"600","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/elongated-parka-jacket-for-winter-3?variant=d4fb5f5d-499f-4c58-b003-7bef77e94e60","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"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}
`
}()}