${function() {
const variantData = data.variant || {"id":"f74f4ad4-617f-4c1c-8d44-118a7129b844","product_id":"aff8e0a2-fa41-41c2-8a97-1be9651c5af5","title":"Black And Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHaFk4Y2C-BlackAndYellow-S","barcode":"","position":1,"option1":"Black And Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4599e954df3df6cfb17602abc95e19ab.jpeg","path":"4599e954df3df6cfb17602abc95e19ab.jpeg","width":1440,"height":1439,"alt":"","aspect_ratio":1.0006949270326615},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"19.89","retail_price":"33","available":true,"url":"\/products\/bee-patch-patchwork-casual-shorts?variant=f74f4ad4-617f-4c1c-8d44-118a7129b844","available_quantity":999999999,"options":[{"name":"Color","value":"Black And Yellow"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":1};
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 : XHaFk4Y2C-BlackAndYellow-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"f74f4ad4-617f-4c1c-8d44-118a7129b844","product_id":"aff8e0a2-fa41-41c2-8a97-1be9651c5af5","title":"Black And Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHaFk4Y2C-BlackAndYellow-S","barcode":"","position":1,"option1":"Black And Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4599e954df3df6cfb17602abc95e19ab.jpeg","path":"4599e954df3df6cfb17602abc95e19ab.jpeg","width":1440,"height":1439,"alt":"","aspect_ratio":1.0006949270326615},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"19.89","retail_price":"33","available":true,"url":"\/products\/bee-patch-patchwork-casual-shorts?variant=f74f4ad4-617f-4c1c-8d44-118a7129b844","available_quantity":999999999,"options":[{"name":"Color","value":"Black And Yellow"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}