${function() {
const variantData = data.variant || {"id":"14959c18-1a54-4ac5-bba2-0ce552e79223","product_id":"b930586f-56c4-4c22-a3eb-76254c4d2d50","title":"Black-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"US 8","option3":"","note":"","image":null,"wholesale_price":[{"price":150,"min_quantity":1}],"weight":"2","compare_at_price":"160","price":"150","retail_price":"160","available":true,"url":"\/products\/business-british-fashion-shiny-leather-shoes-cdiq?variant=14959c18-1a54-4ac5-bba2-0ce552e79223","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":6,"flashsale_info":[],"sales":67};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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.
${function(){
const variantData = data.variant || {"id":"14959c18-1a54-4ac5-bba2-0ce552e79223","product_id":"b930586f-56c4-4c22-a3eb-76254c4d2d50","title":"Black-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"US 8","option3":"","note":"","image":null,"wholesale_price":[{"price":150,"min_quantity":1}],"weight":"2","compare_at_price":"160","price":"150","retail_price":"160","available":true,"url":"\/products\/business-british-fashion-shiny-leather-shoes-cdiq?variant=14959c18-1a54-4ac5-bba2-0ce552e79223","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":6,"flashsale_info":[],"sales":67};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}