SlideShare a Scribd company logo
1 of 68
Download to read offline
MULTINATIONAL & MULTILINGUAL
REUSABLE E-COMMERCE	

PLATFORM
CASE STUDY
MaximeTopolov, @mtopolov	

CTO & Co-Founder of @Adyax
Arthur Murauskas, 	

Associate Director & Drupal Architect @Adyax
OBJECTIVES
http://www.guerlain.com/int/en-int
http://www.makeupforever.com/us/en-us
An e-commerce site connected to SAP 	

with rich editorial content, 	

managing multiple countries and languages,	

where each country is independent, 	

where the content must be validated by France
except some...
Fluid front-end, that must work with IE6...
Guerlain
Make Up For Ever
An e-commerce ready site that will be connected
to Biz-Talk with rich editorial content, 	

managing multiple countries and languages,	

where each country is independent, 	

where the content must be validated by France
easy, right?
Full responsive with IE7 support
LOTS of huge HD images
KEY NUMBERS
2,500
16
25
2ERP, INCLUDING SAP
COUNTRIES, INCLUDING CHINA
LANGUAGES, 	

INCLUDING JAPANESE
PRODUCT REFERENCES
70
12
15
15,000 MAN HOURS
MONTHS OF DEVELOPMENT
PEOPLE
TEMPLATES 57CONTENTTYPES
BASICTECHNIQUES
Main features
A single Drupal instance for all the sites.
Site launch is progressive, country by country.
Export and import of content in Excel format.
Certain sites will be e-commerce, others won’t.
Robust translation and publication workflow with alerts.
COUNTRIES & LANGUAGES
CANADA
FRANCE
SPAIN
CHINA
FR2 EN
FR3
ES
CN
SWITZERLAND FR1 IT DE
Country Country code Language Language code
International in EN int English en
France fr French fr
US us English US en-us
UK uk English UK en-uk
Middle-East me English Middle East en-me
China cn Chinese zh
Hong Kong hk Chinese zh-hk
English en-hk
Spain es Spain es
Canada ca Canadian French fr-ca
Canadian English en-ca
Russia ru Russian ru
Korea ko Korean kr
Taiwan tw Simplified Chinese zh-tw
Japan jp Japanese ja
Brazil br Brazilian Portuguese pt
Italy it Italian it
Germany ge German de
Management of languages based on several very
standard Drupal modules:
Localization Client (i10n_client)
TranslationTemplate Extractor (potx)
EntityTranslation (entity_translation)
Why entity_translation?
It’s logical :)
There are no “duplicate” translation nodes
Entity translation is in D8 Core
Not all the fields should be translated
Three features were essential:
1
2
3
A ‘central’ country where all original
content is first created
Possibility of copying all content of
one language to another
Notification of countries in case of
modification of any content in the
‘central’ country
Each country can be identified either by its
domain (guerlain.co.uk), or by a URL key
(guerlain.com/fr)
OK, but what is a country?
Each country has specific settings, admin users
The Domain Access module (domain) offers
this feature on a platter.
Copy and pre-fill translations from source
Copy structure: menu, taxonomy, etc
EN-EN
EN-US EN-CA FR-FR
FR-BE
No revisions (btw, entity_translation do not
support them). Country editors are responsible
and have two versions at their disposal (draft &
published)
Content workflow
When we say “content translation gets published”, it means:	

• Original language / Central: content is available for the
Countries' local translations;	

• Country local languages: content translation is available online
for the website users.
Translation workflow
Problem 1: customisation of forms (contact us,
newsletter) according to countries.
Problem 2: difficulties with interface translation
Take-home message:
Building the best possible, scalable multilanguage-
multicountry perfect solution, with overrides,
notifications, permissions and complex workflow
works fine but IS NOT USED.	

!
Client wants less features and a simple workflow,
even if it requires more manual work from their
contributors.
GEOLOCATION
Guerlain.com/es Guerlain.com/fr
CDN
VARNISH
NGNIX
Guerlain.comJS
MaxMind
IMPORT / EXPORT of content
Import of Products & SKUs with their Media
Import of Categories
Import of Stores
The Excel 97 - Excel 2003 Binary file format (BIFF8)
We tried many formats to support XLS, one that
works with common PHP libs in most of cases is :
Feeds used to import data.
SKUs as well as products could have multiple
photos, so we also have: 	

!
A ZIP archive with media organized into folders
product/product-ID/xxxxx.jpeg	

or sku/sku-ID/xxxxx.jpeg
ERP INTEGRATION
Orders,Clients
SKUs,Stock,	

OrderStatus
XML	

SOAP
Working with SAP is not complicated, but
laborious. One order can be 5000 lines of
XML
We have created a tool to send an XML
command to SAP, directly from the Drupal
back-office	

!
In addition, we have put into place a log of
each communication (to & from) SAP that is
visible from the objects concerned
(command, user, SKU)
SSL
!
Setup of the Secure Pages
module	

!
Creation of the sub-domain
wws	

!
SSL = User Data (Cart, My-
Account)	

CDN
VARNISH
NGNIX
DRUPAL
Secure Pages
Secure vs insecure / http vs https 	

!
Start development with activating all https
support. Define https urls at the very
beginning! Do think about cross-site scripting
and AJAX if urls differ. Secured cookies.	

!
Idea: start thinking secure from the beginning
of every project.
SMOOTH FRONT-END
OOOOOPTIMIZATIONS
CDN
VARNISH
NGNIX
DRUPAL
ESI
BLOCS JS
STATIC.GUERLAIN.COM
MEMCACHE
ENTITY CACHE VIEWS CACHE
Never underestimate performance tuning. 	

!
Start first Sprint by activating all performance
related modules - memcache, entity-cache,
adv-agg,Varnish/purge, etc. 	

!
Test your deliveries with all those that have
been activated, measure load/server responses
starting from Sprint 1, force your teams to
develop in a performance-oriented way.	

!
Idea: Ecommerce is performance-oriented
development.
From re-use to platform
makeupforever.com
Countries, Languages, Multi-site system:
Re-use of modules	

!
Import/Export,Workflow: partial re-use	

!
ERP: connectors to SAP or JDEdwards
may be partially exchanged	

!
Same platform: features may be
exchanged
WHY DRUPAL?
Open Source, with the largest community in the
world = no lock down	

!
20,000 existing and modules = maintainable	

!
Robust and tested: 13 years,White House,The
Economist, BBC,Warner…	

!
Flexible: How to’s, UGC, video sections,
personalization, engraving, community, academy,
mini-sites…
Number one (or two ;)
Drupal Shop in EMEA
Thanks !You can
download slides of
this presentation	

on slideshare !
OR
Throw us
rotten
tomates !
@Adyax

More Related Content

Similar to Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC Camp 2014

E-commerce in Action
E-commerce in ActionE-commerce in Action
E-commerce in ActionExove
 
CharlesSweetResume06155122015
CharlesSweetResume06155122015CharlesSweetResume06155122015
CharlesSweetResume06155122015Charlie Sweet
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management systemYesu Raj
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management systemYesu Raj
 
Making Money with Adobe AIR
Making Money with Adobe AIRMaking Money with Adobe AIR
Making Money with Adobe AIRAlmog Koren
 
10 Advantages of Modern DXPs
10 Advantages of Modern DXPs10 Advantages of Modern DXPs
10 Advantages of Modern DXPsLinda Martin
 
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...darwinodb
 
commercetools Dialog Day 2013 - SPHERE.IO Oktoberfest Event
commercetools Dialog Day 2013 - SPHERE.IO Oktoberfest Eventcommercetools Dialog Day 2013 - SPHERE.IO Oktoberfest Event
commercetools Dialog Day 2013 - SPHERE.IO Oktoberfest EventDirk Hoerig
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipehernanibf
 
AnswerModules ModuleSuite
AnswerModules ModuleSuiteAnswerModules ModuleSuite
AnswerModules ModuleSuiteAnswerModules
 
AnDevCon: Introduction to Darwino
AnDevCon: Introduction to DarwinoAnDevCon: Introduction to Darwino
AnDevCon: Introduction to DarwinoPhilippe Riand
 
Promo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience WebinarPromo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience WebinarMicky Metts
 
E commerce p1 edit
E commerce p1 editE commerce p1 edit
E commerce p1 editmmm2k
 
Extending the Value of Content in Enterprise Systems with Web Content Management
Extending the Value of Content in Enterprise Systems with Web Content ManagementExtending the Value of Content in Enterprise Systems with Web Content Management
Extending the Value of Content in Enterprise Systems with Web Content ManagementScott Abel
 
MCA 6th Sem Project Report
MCA 6th Sem Project ReportMCA 6th Sem Project Report
MCA 6th Sem Project ReportPRADEEP GUPTA
 
exoscale at the CloudStack User Group London - June 26th 2014
exoscale at the CloudStack User Group London - June 26th 2014exoscale at the CloudStack User Group London - June 26th 2014
exoscale at the CloudStack User Group London - June 26th 2014Antoine COETSIER
 

Similar to Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC Camp 2014 (20)

E-commerce in Action
E-commerce in ActionE-commerce in Action
E-commerce in Action
 
CharlesSweetResume06155122015
CharlesSweetResume06155122015CharlesSweetResume06155122015
CharlesSweetResume06155122015
 
TRWResume-10-2016
TRWResume-10-2016TRWResume-10-2016
TRWResume-10-2016
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
 
Making Money with Adobe AIR
Making Money with Adobe AIRMaking Money with Adobe AIR
Making Money with Adobe AIR
 
10 Advantages of Modern DXPs
10 Advantages of Modern DXPs10 Advantages of Modern DXPs
10 Advantages of Modern DXPs
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
HimaBindu
HimaBinduHimaBindu
HimaBindu
 
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
 
commercetools Dialog Day 2013 - SPHERE.IO Oktoberfest Event
commercetools Dialog Day 2013 - SPHERE.IO Oktoberfest Eventcommercetools Dialog Day 2013 - SPHERE.IO Oktoberfest Event
commercetools Dialog Day 2013 - SPHERE.IO Oktoberfest Event
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipe
 
AnswerModules ModuleSuite
AnswerModules ModuleSuiteAnswerModules ModuleSuite
AnswerModules ModuleSuite
 
AnDevCon: Introduction to Darwino
AnDevCon: Introduction to DarwinoAnDevCon: Introduction to Darwino
AnDevCon: Introduction to Darwino
 
Promo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience WebinarPromo Voip Drupal Hands On Experience Webinar
Promo Voip Drupal Hands On Experience Webinar
 
E commerce p1 edit
E commerce p1 editE commerce p1 edit
E commerce p1 edit
 
Extending the Value of Content in Enterprise Systems with Web Content Management
Extending the Value of Content in Enterprise Systems with Web Content ManagementExtending the Value of Content in Enterprise Systems with Web Content Management
Extending the Value of Content in Enterprise Systems with Web Content Management
 
Hotel management
Hotel managementHotel management
Hotel management
 
MCA 6th Sem Project Report
MCA 6th Sem Project ReportMCA 6th Sem Project Report
MCA 6th Sem Project Report
 
exoscale at the CloudStack User Group London - June 26th 2014
exoscale at the CloudStack User Group London - June 26th 2014exoscale at the CloudStack User Group London - June 26th 2014
exoscale at the CloudStack User Group London - June 26th 2014
 

Recently uploaded

20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdfMatthew Sinclair
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasDigicorns Technologies
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptxAsmae Rabhi
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"growthgrids
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsMonica Sydney
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样ayvbos
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolinonuriaiuzzolino1
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsMonica Sydney
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.krishnachandrapal52
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftAanSulistiyo
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxgalaxypingy
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoilmeghakumariji156
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdfMatthew Sinclair
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 

Recently uploaded (20)

20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolino
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 

Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC Camp 2014

  • 1. MULTINATIONAL & MULTILINGUAL REUSABLE E-COMMERCE PLATFORM CASE STUDY
  • 2. MaximeTopolov, @mtopolov CTO & Co-Founder of @Adyax Arthur Murauskas, Associate Director & Drupal Architect @Adyax
  • 6. An e-commerce site connected to SAP with rich editorial content, managing multiple countries and languages, where each country is independent, where the content must be validated by France except some... Fluid front-end, that must work with IE6... Guerlain
  • 7. Make Up For Ever An e-commerce ready site that will be connected to Biz-Talk with rich editorial content, managing multiple countries and languages, where each country is independent, where the content must be validated by France easy, right? Full responsive with IE7 support LOTS of huge HD images
  • 9. 2,500 16 25 2ERP, INCLUDING SAP COUNTRIES, INCLUDING CHINA LANGUAGES, INCLUDING JAPANESE PRODUCT REFERENCES
  • 10. 70 12 15 15,000 MAN HOURS MONTHS OF DEVELOPMENT PEOPLE TEMPLATES 57CONTENTTYPES
  • 12.
  • 13. Main features A single Drupal instance for all the sites. Site launch is progressive, country by country. Export and import of content in Excel format. Certain sites will be e-commerce, others won’t. Robust translation and publication workflow with alerts.
  • 14.
  • 17. Country Country code Language Language code International in EN int English en France fr French fr US us English US en-us UK uk English UK en-uk Middle-East me English Middle East en-me China cn Chinese zh Hong Kong hk Chinese zh-hk English en-hk Spain es Spain es Canada ca Canadian French fr-ca Canadian English en-ca Russia ru Russian ru Korea ko Korean kr Taiwan tw Simplified Chinese zh-tw Japan jp Japanese ja Brazil br Brazilian Portuguese pt Italy it Italian it Germany ge German de
  • 18. Management of languages based on several very standard Drupal modules: Localization Client (i10n_client) TranslationTemplate Extractor (potx) EntityTranslation (entity_translation)
  • 19. Why entity_translation? It’s logical :) There are no “duplicate” translation nodes Entity translation is in D8 Core Not all the fields should be translated
  • 20.
  • 21. Three features were essential: 1 2 3 A ‘central’ country where all original content is first created Possibility of copying all content of one language to another Notification of countries in case of modification of any content in the ‘central’ country
  • 22. Each country can be identified either by its domain (guerlain.co.uk), or by a URL key (guerlain.com/fr) OK, but what is a country? Each country has specific settings, admin users
  • 23. The Domain Access module (domain) offers this feature on a platter.
  • 24. Copy and pre-fill translations from source Copy structure: menu, taxonomy, etc
  • 25.
  • 26.
  • 28.
  • 29. No revisions (btw, entity_translation do not support them). Country editors are responsible and have two versions at their disposal (draft & published)
  • 30.
  • 32. When we say “content translation gets published”, it means: • Original language / Central: content is available for the Countries' local translations; • Country local languages: content translation is available online for the website users. Translation workflow
  • 33. Problem 1: customisation of forms (contact us, newsletter) according to countries. Problem 2: difficulties with interface translation
  • 34. Take-home message: Building the best possible, scalable multilanguage- multicountry perfect solution, with overrides, notifications, permissions and complex workflow works fine but IS NOT USED. ! Client wants less features and a simple workflow, even if it requires more manual work from their contributors.
  • 37.
  • 38. IMPORT / EXPORT of content
  • 39. Import of Products & SKUs with their Media Import of Categories Import of Stores
  • 40. The Excel 97 - Excel 2003 Binary file format (BIFF8) We tried many formats to support XLS, one that works with common PHP libs in most of cases is : Feeds used to import data.
  • 41.
  • 42.
  • 43. SKUs as well as products could have multiple photos, so we also have: ! A ZIP archive with media organized into folders product/product-ID/xxxxx.jpeg or sku/sku-ID/xxxxx.jpeg
  • 44.
  • 45.
  • 48. Working with SAP is not complicated, but laborious. One order can be 5000 lines of XML
  • 49. We have created a tool to send an XML command to SAP, directly from the Drupal back-office ! In addition, we have put into place a log of each communication (to & from) SAP that is visible from the objects concerned (command, user, SKU)
  • 50.
  • 51.
  • 52. SSL
  • 53. ! Setup of the Secure Pages module ! Creation of the sub-domain wws ! SSL = User Data (Cart, My- Account) CDN VARNISH NGNIX DRUPAL Secure Pages
  • 54. Secure vs insecure / http vs https ! Start development with activating all https support. Define https urls at the very beginning! Do think about cross-site scripting and AJAX if urls differ. Secured cookies. ! Idea: start thinking secure from the beginning of every project.
  • 56.
  • 57.
  • 58.
  • 59.
  • 62. Never underestimate performance tuning. ! Start first Sprint by activating all performance related modules - memcache, entity-cache, adv-agg,Varnish/purge, etc. ! Test your deliveries with all those that have been activated, measure load/server responses starting from Sprint 1, force your teams to develop in a performance-oriented way. ! Idea: Ecommerce is performance-oriented development.
  • 63. From re-use to platform makeupforever.com
  • 64. Countries, Languages, Multi-site system: Re-use of modules ! Import/Export,Workflow: partial re-use ! ERP: connectors to SAP or JDEdwards may be partially exchanged ! Same platform: features may be exchanged
  • 66. Open Source, with the largest community in the world = no lock down ! 20,000 existing and modules = maintainable ! Robust and tested: 13 years,White House,The Economist, BBC,Warner… ! Flexible: How to’s, UGC, video sections, personalization, engraving, community, academy, mini-sites…
  • 67. Number one (or two ;) Drupal Shop in EMEA
  • 68. Thanks !You can download slides of this presentation on slideshare ! OR Throw us rotten tomates ! @Adyax