JOYOR Universal mobile phone holder for electric scooter is suitable for all series
${function() {
const variantData = data.variant || {"id":"df6a3135-adaf-4043-9a60-2e7a20e90a04","product_id":"f77ebcae-f572-460b-8b99-27f8e6252945","title":"black","weight_unit":"kg","inventory_quantity":3979,"sku":"\u9ed1-\u624b\u673a\u652f\u67b6","barcode":"","position":3,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e50114609dc04e96ed8134c14596311.jpeg","path":"9e50114609dc04e96ed8134c14596311.jpeg","width":800,"height":800,"alt":"JOYOR Universal mobile phone holder for electric scooter is suitable for all series","aspect_ratio":1},"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=df6a3135-adaf-4043-9a60-2e7a20e90a04","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":"40","flashsale_info":{"variant_id":"df6a3135-adaf-4043-9a60-2e7a20e90a04","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":121};
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