chamilo / prestashopchamilo

prestashop module
Other
0 stars 0 forks source link

Prestashop - Chamilo

Instructions to install

Prerequisites

PrestaShop 1.6.1.4 at least (make sure e-mail sending works)
Chamilo 1.10.x (with courses created) 
  1. Install the PrestaShop - Chamilo module

    • Download the PrestaShop - Chamilo module
    • Make sure that the zip filename is prestashopchamilo.zip
    • Follow the standard steps to install a module in PrestaShop.
    • The module will appear in the "Others" tab.
    • Click on "Install".
  2. Configure the module

    After installation, you'll see a form with the following params to fill:

    • Chamilo URL: Public URL of the Chamilo portal (with a slash at the end). Example http://stable.chamilo.com/
    • Chamilo Security key: Alphanumerical value. You'll find it in Chamilo's main/inc/conf/configuration.php file
    • Chamilo encrypted method: sha1 or md5. Get the value in Chamilo's main/inc/conf/configuration.php file
    • Your public IP : Public IP of the server on which PrestaShop is installed (it is part of the authentication key, so Chamilo requires it)

    After saving the params, you'll find the list of courses extracted from the Chamilo portal on the same page. This means the module has been configured correctly. Make sure your Chamilo has courses created.

    If you want to edit those values again go to the Module page, click on "Other" tab then -> "Chamilo" -> "Configure"

  3. Set a product up for sale

    a. In PrestaShop, login as admin and go to "Catalog" -> "Product" -> "Add a new product". b. Complete the form and click the "Save" button. c. On the same form, click on "Features". Make sure these are the product parameters and not the system's. d. A list of params appears: Height, Width, ... and CHAMILO_CODE e. Add the Chamilo course code there. This way, the product will be linked to the corresponding Chamilo course.

  4. Test

    Test as a customer user in PrestaShop and try to buy a product that you have configured with the CHAMILO_CODE setting. The Chamilo module will send e-mails when the order has been confirmed.

  5. Accept the payment

    As admin, go to "Orders" and select the order you just created. Select "Accept payments" and click on the "Change" button. At this point, the module will send the order to Chamilo to create an user account and the corresponding subscription to the ordered course.

  6. The End Congrats! You can now sell your Chamilo courses using Chamilo.

Important to know:

=== SPANISH ===

Instrucciones para instalar el plugin PrestaShop-Chamilo

Requisitos

  1. Instalar el módulo PrestaShop - Chamilo

    • Siga los pasos standard para instalar un módulo en PS
    • Asegurarse que el archivo tenga el nombre prestashopchamilo.zip
    • Subir el archivo zip y hacer click en instalar.
  2. Configurar el módulo

    Haga click en "Otros módulos" -> "Chamilo" -> "Configurar". Vera un formulario con los siguientes parámetros a rellenar:

    • Chamilo URL : URL pública del portal Chamilo (con un slash final)
    • Chamilo Security key : Valor alfa numérico. Se encuentra en el archivo main/inc/conf/configuration.php
    • Chamilo encrypted method : sha1 o md5, Revisar este valor en el archivo main/inc/conf/configuration.php de chamilo
    • Your public IP : Ip pública del servidor donde se encuentra instalado PrestaShop

    Luego de grabar los parámetros, encontrará en la misma página la lista de cursos extraidos desde el portal Chamilo. Esto quiere decir que el módulo ha sido bien configurado. Asegúrese de que Chamilo tenga cursos creados.

  3. Configurar un producto

    a. En PS logearse como admin e ir a "Catálogo" -> "Añadir un nuevo producto". b. Complete el formulario y haga click en "Salvar y guardar". c. En el mismo formulario haga click en "Carácterísticas" Asegúrese que son las "Carácterísticas" del producto y NO del sistema. d. Aparecerá entonces una lista de carácteristicas: Alto, Ancho .. y CHAMILO_CODE e. Colocar el código del curso de Chamilo en este lugar. De esta manera se relaciona un producto de PrestaShop con un curso de Chamilo.

  4. Prueba Haga un prueba con un usuario cliente en PrestaShop e intente comprar un producto que tenga configurada una característica CHAMILO_CODE. El Módulo Chamilo enviará los emails cuando el Pedido haya sido confirmado.

  5. Aceptar el pago

    Como admin dirígase a "Pedidos" y seleccione el pedido recientemente creado. Seleccionar "Pago aceptamos" y haga click en el botón "cambiar". Es en este momento el módulo envía la orden a Chamilo para crear una cuenta de usuario y la subscripción del mismo al curso comprado.

  6. Fin

    Felicitaciones ahora puede vender sus cursos de Chamilo usando PrestaShop

Importante de saber: