I'm new to Drupal and I'm trying to create a new promotion offer and install it. I've copied the code from here which I found linked from these docs. I've created a OrderItemDiscountToFixed.info.yml and zipped the two files together.
Tengo un sitio ya en Drupal 8 y el cliente quiere un LMS (e-learning) en este, encontré una distribución que se llama "Opigno LMS", todo funciona muy bien, pero ya tengo nodos, taxonomías y demás en el sitio actual, ¿Cómo me recomiendan hacer el paso de esta información a Opigno?.
De antemano, le doy gracias a quien me pueda dar alguna sugerencia o guía y me disculpo si el tema no va en esta seccion.
Muchas gracias.
========
Translation with Google, sorry, my English is not good
I created a custom module for Drupal 8 and Drupal Commerce. It is used to display a link "Accept the conditions of sale" in the purchase funnel during an order.
This link displays a modal window with the rendering of a page.
I have created a "terms and conditions" display mode in my store types. I want the link to show the store's rendered "terms and conditions" entity in a modal window.
So I want to make the entity store instead of showing a page in the modal link.