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 several types of store on my site and I want to modify the button Add to cart of all the products associated with the store type online (online is the machine name of my store type).
How to do this ?
The custom module below works and changes the Add to Cart button for products in all store types.
I have updated the development branch (8.x-2.x) of the openstory module with the latest modifications. After that I have created a new tag and updated also the master branch. If I download the tag 2.8 version all good.
I have a problem with the zip option of the 8.x-2.x-dev development version. If I use the composer command to download the project, I can see the latest modifications, the same for the tar.gz option.
I am working on the forms in Drupal. The fields in my forms change every year. some new fields get added and some get removed. The user fills should get the form field based on their selection. What is the best way to implement this functionality? Does Drupal provide multiple versions of form or do I need to design new forms every year? basically, my form contains 50 fields and design them every year is a hectic task to me. can anyone please help me out.