${function() {
const variantData = data.variant || {"id":"5afde69b-aa5c-4d13-9e68-bfbd3c38ff94","product_id":"f078d52b-179c-4564-8b0d-67ab94a79ba9","title":"Black-One Size","weight_unit":"g","inventory_quantity":9999,"sku":"XHdJO1jnG-Black-OneSize","barcode":"","position":2,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66e2cca8a58d7335726bfc160e319b31.jpeg","path":"66e2cca8a58d7335726bfc160e319b31.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\/cross-knitted-hat?variant=5afde69b-aa5c-4d13-9e68-bfbd3c38ff94","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":67,"flashsale_info":[],"sales":13};
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 : XHdJO1jnG-Black-OneSize
Weight : 100g
${function(){
const variantData = data.variant || {"id":"5afde69b-aa5c-4d13-9e68-bfbd3c38ff94","product_id":"f078d52b-179c-4564-8b0d-67ab94a79ba9","title":"Black-One Size","weight_unit":"g","inventory_quantity":9999,"sku":"XHdJO1jnG-Black-OneSize","barcode":"","position":2,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66e2cca8a58d7335726bfc160e319b31.jpeg","path":"66e2cca8a58d7335726bfc160e319b31.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\/cross-knitted-hat?variant=5afde69b-aa5c-4d13-9e68-bfbd3c38ff94","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":67,"flashsale_info":[],"sales":13};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}