${function() {
const variantData = data.variant || {"id":"12f92c2f-75a5-457f-a45c-e79e7ea57889","product_id":"c40cf1d3-0e0a-413d-a051-618e40b377f1","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XH5O1VHkK-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae7e73abb8f5abddb02b394ab6191748.jpeg","path":"ae7e73abb8f5abddb02b394ab6191748.jpeg","width":1100,"height":1100,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"700","compare_at_price":"55","price":"35.89","retail_price":"55","available":true,"url":"\/products\/trendy-leopard-and-snake-print-piled-jeans?variant=12f92c2f-75a5-457f-a45c-e79e7ea57889","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":35,"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 : XH5O1VHkK-Yellow-S
Weight : 700g
${function(){
const variantData = data.variant || {"id":"12f92c2f-75a5-457f-a45c-e79e7ea57889","product_id":"c40cf1d3-0e0a-413d-a051-618e40b377f1","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XH5O1VHkK-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae7e73abb8f5abddb02b394ab6191748.jpeg","path":"ae7e73abb8f5abddb02b394ab6191748.jpeg","width":1100,"height":1100,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"700","compare_at_price":"55","price":"35.89","retail_price":"55","available":true,"url":"\/products\/trendy-leopard-and-snake-print-piled-jeans?variant=12f92c2f-75a5-457f-a45c-e79e7ea57889","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}