SAMEBIKE Original Controller
Delivery within 7-15 working days
${function() {
const variantData = data.variant || {"id":"0740c33a-69a9-4a2f-9172-3ceb754a59d8","product_id":"fe22df62-0908-43ff-8ddc-cda1ebca109f","title":"20LVXD30","weight_unit":"kg","inventory_quantity":110,"sku":"\u63a7\u5236\u5668","barcode":"","position":1,"option1":"20LVXD30","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":59,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"59","retail_price":"0","available":true,"url":"\/products\/samebike-original-controller?variant=0740c33a-69a9-4a2f-9172-3ceb754a59d8","available_quantity":999999999,"options":[{"name":"\u6807\u9898","value":"20LVXD30"}],"off_ratio":0,"flashsale_info":[],"sales":33};
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