Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have setup the project. The project I got from someone.
I have a react website and it is connected with headleass drupal. When I try to login the tokens are generated but the website stuck. When I see the logs in the drupal I get these error below.
I'm using Drupal commerce + commerce API modules in decoupled Drupal project. When doing the checkout frontend (in Angular) will call some third-party APIs and get some discounts for each order items. I need to update those discount details in Drupal DB.
I tried this with /jsonapi/checkout/{order_uuid} API like below. But this does not update anything in the DB.
I have built a Drupal web form and would like to display specific text fields in the form with prepopulated values so they are predefined for users when completing the form.
The default values I need to display are dependent on the previous question in the form so I would need some code like - {if field C contains ‘AB’, display ‘123’ or if field C contains CD, display ‘456}
However there doesn’t seem to be an operator option for ‘contains’ in Drupal webforms?