${function() {
const variantData = data.variant || {"id":"24b10ec9-838f-43da-81c9-91dc865767f9","product_id":"364ad73b-5f52-4f96-8994-db1d08578201","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHltcJ8Pu-Blue-S","barcode":"","position":6,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fe2870ec8c184ca09887fbaf9aa9cb1.jpeg","path":"1fe2870ec8c184ca09887fbaf9aa9cb1.jpeg","width":1792,"height":1792,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"500","compare_at_price":"65","price":"40.89","retail_price":"65","available":true,"url":"\/products\/fashionable-and-personalized-retro-jeans?variant=24b10ec9-838f-43da-81c9-91dc865767f9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":67};
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 : XHltcJ8Pu-Blue-S
Weight : 500g
${function(){
const variantData = data.variant || {"id":"24b10ec9-838f-43da-81c9-91dc865767f9","product_id":"364ad73b-5f52-4f96-8994-db1d08578201","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHltcJ8Pu-Blue-S","barcode":"","position":6,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fe2870ec8c184ca09887fbaf9aa9cb1.jpeg","path":"1fe2870ec8c184ca09887fbaf9aa9cb1.jpeg","width":1792,"height":1792,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"500","compare_at_price":"65","price":"40.89","retail_price":"65","available":true,"url":"\/products\/fashionable-and-personalized-retro-jeans?variant=24b10ec9-838f-43da-81c9-91dc865767f9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":67};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}