Mechanical Keyboard
${function() {
const variantData = data.variant || {"id":"7307f32a-1b30-423f-9cf9-e92c8497f9fa","product_id":"58bcf424-07eb-47ff-9c06-a09f85b6678c","title":"Naruto","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Naruto","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a31bd88e247fbfbde72a1ce55fed47e3.jpg","path":"a31bd88e247fbfbde72a1ce55fed47e3.jpg","width":4032,"height":3024,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"85","retail_price":"0","available":true,"url":"\/products\/mechanical-keyboard?variant=7307f32a-1b30-423f-9cf9-e92c8497f9fa","available_quantity":1,"options":[{"name":"Keyboard","value":"Naruto"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"7307f32a-1b30-423f-9cf9-e92c8497f9fa","product_id":"58bcf424-07eb-47ff-9c06-a09f85b6678c","title":"Naruto","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Naruto","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a31bd88e247fbfbde72a1ce55fed47e3.jpg","path":"a31bd88e247fbfbde72a1ce55fed47e3.jpg","width":4032,"height":3024,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"85","retail_price":"0","available":true,"url":"\/products\/mechanical-keyboard?variant=7307f32a-1b30-423f-9cf9-e92c8497f9fa","available_quantity":1,"options":[{"name":"Keyboard","value":"Naruto"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}