JOYOR Universal mobile phone holder for electric scooter is suitable for all series
${function() {
const variantData = data.variant || {"id":"1911ecec-5b75-4655-9d3c-a9550675b0a4","product_id":"f77ebcae-f572-460b-8b99-27f8e6252945","title":"yellow","weight_unit":"kg","inventory_quantity":3997,"sku":"\u9ec4-\u624b\u673a\u652f\u67b6","barcode":"","position":2,"option1":"yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca385884fff6bcbbd757203c8beb1c7f.jpeg","path":"ca385884fff6bcbbd757203c8beb1c7f.jpeg","width":800,"height":616,"alt":"JOYOR Universal mobile phone holder for electric scooter is suitable for all series","aspect_ratio":1.2987012987012987},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.98","retail_price":"49.99","available":true,"url":"\/products\/universal-mobile-phone-holder-for-electric-scooter-is-suitable-for-all-series?variant=1911ecec-5b75-4655-9d3c-a9550675b0a4","available_quantity":999999999,"options":[{"name":"color","value":"yellow"}],"off_ratio":"40","flashsale_info":{"variant_id":"1911ecec-5b75-4655-9d3c-a9550675b0a4","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"29.98","compare_at_price":"","discount_price":"29.98","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"40","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":120};
const saveType = "percentage";
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