${function() {
const variantData = data.variant || {"id":"2be0a50c-b356-4ba2-86cd-19af95f0fd20","product_id":"981fca6c-b2ec-4668-8ad3-3ce851d3bdc4","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHeDiRhLx-Yellow-S","barcode":"","position":11,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d968f351f6a4f8aa98c73cd2155aa55.jpeg","path":"5d968f351f6a4f8aa98c73cd2155aa55.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\/stylish-and-personalized-retro-racing-print-hoodie?variant=2be0a50c-b356-4ba2-86cd-19af95f0fd20","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":50};
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 : XHeDiRhLx-Yellow-S
Weight : 550g
${function(){
const variantData = data.variant || {"id":"2be0a50c-b356-4ba2-86cd-19af95f0fd20","product_id":"981fca6c-b2ec-4668-8ad3-3ce851d3bdc4","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHeDiRhLx-Yellow-S","barcode":"","position":11,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d968f351f6a4f8aa98c73cd2155aa55.jpeg","path":"5d968f351f6a4f8aa98c73cd2155aa55.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\/stylish-and-personalized-retro-racing-print-hoodie?variant=2be0a50c-b356-4ba2-86cd-19af95f0fd20","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":50};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}