Off road racing motorcycle helmet bicycle speed drop DH full helmet rally off-road helmet
${function() {
const variantData = data.variant || {"id":"3c66988b-918b-4a4a-b885-6fcb7a11ad1c","product_id":"41fb0160-b7a9-468c-a539-a544d40382e7","title":"11-M","weight_unit":"kg","inventory_quantity":10,"sku":"\u9ec4\u7f51\u70b9+601D\u6e56\u84dd\u9540\u5f69","barcode":"","position":1,"option1":"11","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b00e8111ff1906a026419e559d60d35e.jpeg","path":"b00e8111ff1906a026419e559d60d35e.jpeg","width":800,"height":800,"alt":"Off road racing motorcycle helmet bicycle speed drop DH full helmet rally off-road helmet","aspect_ratio":1},"wholesale_price":[{"price":89.99,"min_quantity":1}],"weight":"1.41","compare_at_price":"129","price":"89.99","retail_price":"129","available":true,"url":"\/products\/off-road-racing-motorcycle-helmet-bicycle-speed-drop-dh-full-helmet-rally-off-road-helmet-odhs?variant=3c66988b-918b-4a4a-b885-6fcb7a11ad1c","available_quantity":999999999,"options":[{"name":"Color","value":"11"},{"name":"Size","value":"M"}],"off_ratio":"30","flashsale_info":{"variant_id":"3c66988b-918b-4a4a-b885-6fcb7a11ad1c","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":"89.99","compare_at_price":"","discount_price":"89.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"30","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist