nestle waters version 2
This is an update of NESTLE WATERS project.
Basically, it consists of a few new modules that add different functionality to the first version of the site.
Base idea of the modules, was to use paragraphs and Features to export them.
I had to create a module for the "global store locator" page; another one for the "product detail" page; another one for "contact us" page and the last one for the "fusepump/where to buy" page. All of these were created as paragraphs, with or without fields, with a .module file where i had to do some preprocess overrides.
For "global store locator" module, i also had to create a new module that imported products from a third party api. The api was created in a badly manner, so the process was difficult. I had to understand first how the api worked (no documentation was provided), then create the Content Type and then do the import of the data that existed in the api.
The "store locator" functionality was defined as a form with dynamic fields based on what the selected node value has as a child. The main problem was that i did not know what is the general name of the field, nor it's values, nor how many of them were there.
Product detail page was actually a landing page, with paragraphs that displayed specific data of the selected product variation.
Contact us page was composed of 3 Drupal "Contact" forms, arranged in a tab way.
Where to buy page was again a paragraph of paragraphs.
Framework/CMS:
Drupal 8
Tags:
php, css, html, jQuery, javascript, mysql, git, ajax, SublimeText, html5, Agile, Scrum, Jira, SourceTree, SEO, Windows, Drupal8, Skype, PSD, AcquiaSiteFactory, Zeplin, Features, ThirdPartyIntegration
URL:
Basically, it consists of a few new modules that add different functionality to the first version of the site.
Base idea of the modules, was to use paragraphs and Features to export them.
I had to create a module for the "global store locator" page; another one for the "product detail" page; another one for "contact us" page and the last one for the "fusepump/where to buy" page. All of these were created as paragraphs, with or without fields, with a .module file where i had to do some preprocess overrides.
For "global store locator" module, i also had to create a new module that imported products from a third party api. The api was created in a badly manner, so the process was difficult. I had to understand first how the api worked (no documentation was provided), then create the Content Type and then do the import of the data that existed in the api.
The "store locator" functionality was defined as a form with dynamic fields based on what the selected node value has as a child. The main problem was that i did not know what is the general name of the field, nor it's values, nor how many of them were there.
Product detail page was actually a landing page, with paragraphs that displayed specific data of the selected product variation.
Contact us page was composed of 3 Drupal "Contact" forms, arranged in a tab way.
Where to buy page was again a paragraph of paragraphs.
Framework/CMS:
Drupal 8
Tags:
php, css, html, jQuery, javascript, mysql, git, ajax, SublimeText, html5, Agile, Scrum, Jira, SourceTree, SEO, Windows, Drupal8, Skype, PSD, AcquiaSiteFactory, Zeplin, Features, ThirdPartyIntegration
URL: