Edit function buy_list_extract_products