${function() {
const variantData = data.variant || {"id":"6e493a52-8007-47e5-be2b-99e4a979c617","product_id":"dbe12cf3-f9d6-45b3-ae91-3dc2ed35743e","title":"Blue-S","weight_unit":"g","inventory_quantity":0,"sku":"XHt2FV8xp-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ce5ed07fa936fd7df698072f24795a1.jpeg","path":"9ce5ed07fa936fd7df698072f24795a1.jpeg","width":1602,"height":1602,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"400","compare_at_price":"50","price":"39.89","retail_price":"50","available":true,"url":"\/products\/trendy-brand-printed-street-tapestry-trousers?variant=6e493a52-8007-47e5-be2b-99e4a979c617","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":42};
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 : XHt2FV8xp-Blue-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"6e493a52-8007-47e5-be2b-99e4a979c617","product_id":"dbe12cf3-f9d6-45b3-ae91-3dc2ed35743e","title":"Blue-S","weight_unit":"g","inventory_quantity":0,"sku":"XHt2FV8xp-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ce5ed07fa936fd7df698072f24795a1.jpeg","path":"9ce5ed07fa936fd7df698072f24795a1.jpeg","width":1602,"height":1602,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"400","compare_at_price":"50","price":"39.89","retail_price":"50","available":true,"url":"\/products\/trendy-brand-printed-street-tapestry-trousers?variant=6e493a52-8007-47e5-be2b-99e4a979c617","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":42};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}