Electric bicycle password lock
${function() {
const variantData = data.variant || {"id":"ab47eebc-c3ce-4325-807d-cbe41142117e","product_id":"a00282b8-f687-4fec-897b-8466a7fcc3c0","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"\u81ea\u884c\u8f66\u5bc6\u7801\u9501-\u9ed1","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3b3dea378c2c2feff83a49dd17a22a8.jpg","path":"a3b3dea378c2c2feff83a49dd17a22a8.jpg","width":800,"height":800,"alt":"Electric bicycle password lock","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39","retail_price":"0","available":true,"url":"\/products\/electric-bicycle-password-lock?variant=ab47eebc-c3ce-4325-807d-cbe41142117e","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
const map = {
B: ``,
C: ``,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist