${function() {
const variantData = data.variant || {"id":"100d4bc5-5f11-49e5-8b45-09eaa91ff3ed","product_id":"904713f7-886b-41fa-a3cd-f920fc965899","title":"Light Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHyxnKWDm-LightYellow-S","barcode":"","position":1,"option1":"Light Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/baea18cbe3952632858df4e720fe51be.jpeg","path":"baea18cbe3952632858df4e720fe51be.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.89,"min_quantity":1}],"weight":"666","compare_at_price":"99","price":"55.89","retail_price":"99","available":true,"url":"\/products\/street-fringed-patchwork-denim-layered-pants?variant=100d4bc5-5f11-49e5-8b45-09eaa91ff3ed","available_quantity":999999999,"options":[{"name":"Color","value":"Light Yellow"},{"name":"Size","value":"S"}],"off_ratio":44,"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 : XHyxnKWDm-LightYellow-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"100d4bc5-5f11-49e5-8b45-09eaa91ff3ed","product_id":"904713f7-886b-41fa-a3cd-f920fc965899","title":"Light Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHyxnKWDm-LightYellow-S","barcode":"","position":1,"option1":"Light Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/baea18cbe3952632858df4e720fe51be.jpeg","path":"baea18cbe3952632858df4e720fe51be.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.89,"min_quantity":1}],"weight":"666","compare_at_price":"99","price":"55.89","retail_price":"99","available":true,"url":"\/products\/street-fringed-patchwork-denim-layered-pants?variant=100d4bc5-5f11-49e5-8b45-09eaa91ff3ed","available_quantity":999999999,"options":[{"name":"Color","value":"Light Yellow"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}