Screw and Rubber for Folding Base
${function() {
const variantData = data.variant || {"id":"35423929-e2ba-4d20-bf0c-f89140e5cebc","product_id":"f0b4f604-84ab-4735-b4d4-2debb4c88957","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"\u6298\u53e0\u5e95\u5ea7\u87ba\u4e1d\u548c\u6a61\u80f6","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"15.98","retail_price":"0","available":true,"url":"\/products\/screw-and-rubber-for-folding-base?variant=35423929-e2ba-4d20-bf0c-f89140e5cebc","available_quantity":999999999,"options":[],"off_ratio":"0","flashsale_info":{"variant_id":"35423929-e2ba-4d20-bf0c-f89140e5cebc","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":"15.98","compare_at_price":"","discount_price":"15.98","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":1};
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('')}
`;
}()}
Product was out of stock.
Product does not exist