${function() {
const variantData = data.variant || {"id":"315aca8f-6a1e-4343-9ea9-3e95d8e06f6f","product_id":"fa9fc7b9-58fd-4fc8-b7a4-21f1e93ed11e","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHar02WKb-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36f59b7559278d85680e735b3962f08b.jpeg","path":"36f59b7559278d85680e735b3962f08b.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"550","compare_at_price":"65","price":"48.89","retail_price":"65","available":true,"url":"\/products\/fashion-spider-personalized-retro-hoodie-set?variant=315aca8f-6a1e-4343-9ea9-3e95d8e06f6f","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":3};
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 : XHar02WKb-Gray-S
Weight : 550g
${function(){
const variantData = data.variant || {"id":"315aca8f-6a1e-4343-9ea9-3e95d8e06f6f","product_id":"fa9fc7b9-58fd-4fc8-b7a4-21f1e93ed11e","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHar02WKb-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36f59b7559278d85680e735b3962f08b.jpeg","path":"36f59b7559278d85680e735b3962f08b.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"550","compare_at_price":"65","price":"48.89","retail_price":"65","available":true,"url":"\/products\/fashion-spider-personalized-retro-hoodie-set?variant=315aca8f-6a1e-4343-9ea9-3e95d8e06f6f","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}