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.
Hi all,
I’m encountering errors related to missing libraries in Drupal: Commerce Price requires the commerceguys/intl library.
Address requires the commerceguys/addressing library.
In composer.json, I have:
"commerceguys/addressing": "dev-master",
"commerceguys/intl": "^dev-master"
I've run composer update and cleared the cache, but the issue persists. Any other steps to fix this?
I have successfully added several fields to the product page in the admin panel, but I cannot save the values to use them in the future. What do I need to do?
$form_state->getFormObject()->getEntity() does not work in Drupal 7, similarly to $form_state->setValue() and $form_state->getValue().
What should I add to the code for this to work? How i can save values from this select fields?