${function() {
const variantData = data.variant || {"id":"e46da41e-5bf2-4e5e-97d2-4c13c36bd94a","product_id":"9a3d3c86-393d-41c1-a260-9edd7a18ec96","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHzYkJf2h-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66dd6c483bb641fe874b0bd564f530c8.jpeg","path":"66dd6c483bb641fe874b0bd564f530c8.jpeg","width":1063,"height":1064,"alt":"","aspect_ratio":0.9990601503759399},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"600","compare_at_price":"45","price":"35.89","retail_price":"45","available":true,"url":"\/products\/tide-brand-fashion-retro-pile-pants-jeans?variant=e46da41e-5bf2-4e5e-97d2-4c13c36bd94a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":85};
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 : XHzYkJf2h-Black-S
Weight : 600g
${function(){
const variantData = data.variant || {"id":"e46da41e-5bf2-4e5e-97d2-4c13c36bd94a","product_id":"9a3d3c86-393d-41c1-a260-9edd7a18ec96","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHzYkJf2h-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66dd6c483bb641fe874b0bd564f530c8.jpeg","path":"66dd6c483bb641fe874b0bd564f530c8.jpeg","width":1063,"height":1064,"alt":"","aspect_ratio":0.9990601503759399},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"600","compare_at_price":"45","price":"35.89","retail_price":"45","available":true,"url":"\/products\/tide-brand-fashion-retro-pile-pants-jeans?variant=e46da41e-5bf2-4e5e-97d2-4c13c36bd94a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":85};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}