magento-hackathon/MageHackathonM2

Name: MageHackathonM2

Owner: FireGento e. V. - Hackathons

Description: mage-hackathon.de in m2

Created: 2016-07-03 07:34:47.0

Updated: 2017-02-11 10:30:00.0

Pushed: 2017-05-20 12:56:18.0

Homepage: null

Size: 121

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mage-hackathon.de on Magento 2

The idea is to port the current mage-hackathon.de in M2 and to make some usability improvements.

What it should be

Event is a normal product with attributes. Events have no pictures.

The main menu is built of categories, one of which displays events, the rest contain CMS blocks. The only filter on category page allows to show either passed or upcoming events.

Nice idea would be to create an attribute with a custom renderer, which allowes to show maps (google or osm).

Modules to develop: List of things to improve Cool ideas Used themes and modules:
Installation

'composer install'

Data Migration:

Install magento data migration tool

composer require magento/data-migration-tool:2.1.6 for magento2 2.1.6

Put config.xmland map.xml to vendor/magento/data-migration-tool/etc/ce-to-ce/1.8.1.0 folder

Put class-map.xml , map-eav.xml and eav-attribute-groups.xml to vendor/magento/data-migration-tool/etc/ce-to-ce folder

For local test

Create your DB-Dump from your old shop.

Add following

RT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`, `attribute_model`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`)
ES
(121, 4, ?enable_googlecheckout?, NULL, NULL, ?int?, NULL, NULL, ?select?, ?Is Product Available for Purchase with Google Checkout?, NULL, ?eav/entity_attribute_source_boolean?, 0, 0, ?1?, 0, NULL);

Import DB

Now the migration

Change <source> and ` in your config.xml

On console:

bin/magento migrate:data vendor/magento/data-migration-tool/etc/ce-to-ce/1.8.1.0/config.xml

bin/magento migrate:settings vendor/magento/data-migration-tool/etc/ce-to-ce/1.8.1.0/config.xml

Maybe you have to remove some eav_attribute.attribute_id entries


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.