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 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.
We put website information (domain url) of an online store in database. On the website, we will display /visit/store.
When visitor click "/visit/store", system should read url from "online store" Content type and then do a redirect. Any code example to implement this feature?