Drupal 8 with Commerce 2.X Product collect extra information

Hello,

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.

Thank you in advance.

Transferring a drupal 8 site to another server

Hello,

I had to move a site drupal 8 on a new server, in addition, I had to change his domain name. (I changed the domain name in the sql database file.)

But I have a problem since I have an error message:

The website encountered an unexpected error. Please try again later.

If I look at the logs of my new server, I have this:

URL redirect

hi,

  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?

Thanks.

Inserting data from a form

Hello, pretty new to drupal and I am running into a problem trying to insert data into my database from a form.

The form itself is generated from js in my theme folder, 

Remove mobile device related meta tags

I need to remove the following metatags for a site which is not suitable for the dumbphone:

Installing Code Sniffer on Drupal8

Hi,

I am trying to install Code Sniffer. The following link is the installation documentation:

https://www.drupal.org/docs/8/modules/code-review-module/installing-coder-sniffer

I am using windows 10. I am following step by step of the installation from the document. There is a part where it says:

On Windows, update your ~/.bashrc file to include:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x