${function() {
const variantData = data.variant || {"id":"289983f5-7d4a-4141-8b90-4bedc5a118f8","product_id":"ea346a8f-3f7f-4006-a4c8-dbef2b7d2f56","title":"White_Black-One Size","weight_unit":"g","inventory_quantity":9999,"sku":"XHISsH1TK-White_Black-OneSize","barcode":"","position":1,"option1":"White_Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/628ff54731d8ce11684a7a1d641a845d.jpeg","path":"628ff54731d8ce11684a7a1d641a845d.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.89,"min_quantity":1}],"weight":"100","compare_at_price":"33","price":"10.89","retail_price":"33","available":true,"url":"\/products\/bald-striped-knitted-hat?variant=289983f5-7d4a-4141-8b90-4bedc5a118f8","available_quantity":999999999,"options":[{"name":"Color","value":"White_Black"},{"name":"Size","value":"One Size"}],"off_ratio":67,"flashsale_info":[],"sales":4};
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 : XHISsH1TK-White_Black-OneSize
Weight : 100g
${function(){
const variantData = data.variant || {"id":"289983f5-7d4a-4141-8b90-4bedc5a118f8","product_id":"ea346a8f-3f7f-4006-a4c8-dbef2b7d2f56","title":"White_Black-One Size","weight_unit":"g","inventory_quantity":9999,"sku":"XHISsH1TK-White_Black-OneSize","barcode":"","position":1,"option1":"White_Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/628ff54731d8ce11684a7a1d641a845d.jpeg","path":"628ff54731d8ce11684a7a1d641a845d.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.89,"min_quantity":1}],"weight":"100","compare_at_price":"33","price":"10.89","retail_price":"33","available":true,"url":"\/products\/bald-striped-knitted-hat?variant=289983f5-7d4a-4141-8b90-4bedc5a118f8","available_quantity":999999999,"options":[{"name":"Color","value":"White_Black"},{"name":"Size","value":"One Size"}],"off_ratio":67,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}