I am new at drupal 8 and commerce 2.x. I am trying to create a product, when added to the cart it must collect extra information from the user. for example: if a t-shirt is selected then the user should be asked to upload an image or fill out a text field to be printed on the t-shirt. I have been looking around on how to do this and I have not found anything. Has anyone done something like this? Can this be done? Any help will be appreciated.
I've got a question. I have a "notification" node. I created List (integer) field with 2 options - whether the system (in the immigration office) is currently working or not working.
1 | working
2 | not working
For simplicity, the manager simply goes to the page of this node and switches the value of the field.
But I need to add to the value a corresponding icon, which intuitively without the text would inform the person about the same thing.
What is the easiest way to add the icons to the options in List (integer) field?
I have a site on Drupal 8.7 and I need to add an image that is hosted in my sub theme. It works with the code below but I want to apply the style with the machine name diaporama_lg_50 :
Although Drupal 9 comes out next year about this time, I had a quick chance to look at what code is deprecated in some modules and installed 'Upgrade status' module on one of my Drupal 8 development sites. After testing a few dozen custom modules, I had only a single line of code to update for Drupal 9.
Since 9 is really just about code deprecation, it should be very straight forward to get stuff ready.