SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
Import & synch content
with Feeds and Comerce
Commerce Drupalcamp, Switzerland 2-3-4, 2011
About me
●   Drupal developer at
    Commerce Guys
●   Active member of Spanish
    and Catalan Drupal
    Community                  Pedro Cambra
    @pcambra
Feeds module
Feeds is a module that allows to import and
synchronize content into Drupal using a
pluggable system.
With feeds you can import really diverse
sources (XML, RSS, CSV, etc) into nodes,
users, terms, etc.
Feeds advantages
●   Flexible.
●   Extendable.
●   Strong UI.
●   Periodic imports.
●   Exportable.
Feeds' components
    Feeds splits its functionallity into three basic
    components:
●   Fetcher – Gets the content from the source.
●   Parser – Parses raw content into arrays.
●   Processor – Target entities get greated and
    field mappings assigned.

                          Reference: feeds cheatsheet for developers.
Commerce Entities and Fields

  Product      Price          Order


  Product
 reference   Line item     Line item   Customer profile
                           reference      reference



 (Node)        Payment             Customer
             transaction            profile
Display vs Product

 Drupal Commerce introduces a new entity type
 called Product to store specific product data as
SKU, price, etc and links it to Product Displays
which are nodes that are actually displayed to the
                      user.
Commerce Feeds

Commerce Feeds plugs into Feeds module to
provide a way to import both products and
customer profiles and also provides a mapper
for product prices and another for product
references.
¡Lets see some examples!
Feeds Tamper
Feeds tamper module provides a plugin for feeds
     so users and developers can modify data
            imported before it gets saved.
 You can add operations such as replacements,
filters, array explodes/implodes using the UI that
               feeds tamper provides.
¡Lets see some examples!
Feeds API

    Feeds module also provides some tools for
   developers, you can declare new fetchers or
processors, and also hook before data is saved or
             parsed using feeds API.
   More info at the Developers Guide to Feeds.
Commerce Migrate
Commerce Migrate is a really powerful alternative
to the Feeds approach to import data but using
Migrate module.
It provides all the tools required to import
commerce entities and fields and also a
submodule for importing Ubercart 6.x or 7.x into
Commerce.
Resources
●   http://www.drupalcommerce.org
●   http://www.drupal.org/project/commerce
●   http://www.drupal.org/project/commerce_kickstart
●   http://twitter.com/drupalcommerce
●   http://www.commerceguys.com/resources
Thanks!

Más contenido relacionado

Similar a Import and synchronize Drupal commerce content using Commerce feeds

Fabian Rousselot - Filemaker Portfolio
Fabian Rousselot - Filemaker PortfolioFabian Rousselot - Filemaker Portfolio
Fabian Rousselot - Filemaker Portfolio
Fabian Rousselot
 
Medi Cube Digital Tools Presentation
Medi Cube Digital Tools PresentationMedi Cube Digital Tools Presentation
Medi Cube Digital Tools Presentation
URENIO Research Unit
 
Best Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to DrupalBest Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to Drupal
Acquia
 

Similar a Import and synchronize Drupal commerce content using Commerce feeds (20)

E-Bazaar
E-BazaarE-Bazaar
E-Bazaar
 
Fabian Rousselot - Filemaker Portfolio
Fabian Rousselot - Filemaker PortfolioFabian Rousselot - Filemaker Portfolio
Fabian Rousselot - Filemaker Portfolio
 
Drupal Commerce, DrupalCamp Colorado 2010
Drupal Commerce, DrupalCamp Colorado 2010Drupal Commerce, DrupalCamp Colorado 2010
Drupal Commerce, DrupalCamp Colorado 2010
 
SAP BI/BW
SAP BI/BWSAP BI/BW
SAP BI/BW
 
ECommerce Solutions
ECommerce SolutionsECommerce Solutions
ECommerce Solutions
 
Sql business intelligence
Sql business intelligenceSql business intelligence
Sql business intelligence
 
Portal Presention
Portal PresentionPortal Presention
Portal Presention
 
Smart form
Smart formSmart form
Smart form
 
bi-publisher.pptx
bi-publisher.pptxbi-publisher.pptx
bi-publisher.pptx
 
Medi Cube Digital Tools Presentation
Medi Cube Digital Tools PresentationMedi Cube Digital Tools Presentation
Medi Cube Digital Tools Presentation
 
Whitepaper SITEFORUM v6.0
Whitepaper SITEFORUM v6.0Whitepaper SITEFORUM v6.0
Whitepaper SITEFORUM v6.0
 
What's Drupal?
What's Drupal? What's Drupal?
What's Drupal?
 
Business Optix - what we do
Business Optix - what we doBusiness Optix - what we do
Business Optix - what we do
 
Reporting - Printed (Pdf) Reports
Reporting - Printed (Pdf) ReportsReporting - Printed (Pdf) Reports
Reporting - Printed (Pdf) Reports
 
Best Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to DrupalBest Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to Drupal
 
Spring 15
Spring 15Spring 15
Spring 15
 
Best Practices and Tips on Migrating a Legacy-Based CMS to Drupal
Best Practices and Tips on Migrating a Legacy-Based CMS to DrupalBest Practices and Tips on Migrating a Legacy-Based CMS to Drupal
Best Practices and Tips on Migrating a Legacy-Based CMS to Drupal
 
Xcelsius tips and tricks for your Enterprise
Xcelsius tips and tricks for your EnterpriseXcelsius tips and tricks for your Enterprise
Xcelsius tips and tricks for your Enterprise
 
What's Drupal_ .ppt
What's Drupal_ .pptWhat's Drupal_ .ppt
What's Drupal_ .ppt
 
Report on mall automation
Report on mall automationReport on mall automation
Report on mall automation
 

Más de Pedro Cambra

Further Resources - Drupal training
Further Resources - Drupal trainingFurther Resources - Drupal training
Further Resources - Drupal training
Pedro Cambra
 
Contributions: what they are and how to find them
Contributions: what they are and how to find themContributions: what they are and how to find them
Contributions: what they are and how to find them
Pedro Cambra
 
Distribuciones drupal
Distribuciones drupalDistribuciones drupal
Distribuciones drupal
Pedro Cambra
 
Comercio electrónico con drupal
Comercio electrónico con drupalComercio electrónico con drupal
Comercio electrónico con drupal
Pedro Cambra
 
Presentacion Drupal Ccrtv
Presentacion Drupal CcrtvPresentacion Drupal Ccrtv
Presentacion Drupal Ccrtv
Pedro Cambra
 

Más de Pedro Cambra (17)

Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupal
 
Further Resources - Drupal training
Further Resources - Drupal trainingFurther Resources - Drupal training
Further Resources - Drupal training
 
Contributions: what they are and how to find them
Contributions: what they are and how to find themContributions: what they are and how to find them
Contributions: what they are and how to find them
 
Drupal Themes
Drupal ThemesDrupal Themes
Drupal Themes
 
Drupal Commerce: Presente y futuro del comercio electrónico con Drupal
Drupal Commerce: Presente y futuro del comercio electrónico con DrupalDrupal Commerce: Presente y futuro del comercio electrónico con Drupal
Drupal Commerce: Presente y futuro del comercio electrónico con Drupal
 
Drupal Commerce: A perfect match for your e-commerce needs
Drupal Commerce: A perfect match for your e-commerce needsDrupal Commerce: A perfect match for your e-commerce needs
Drupal Commerce: A perfect match for your e-commerce needs
 
Drupal commerce
Drupal commerceDrupal commerce
Drupal commerce
 
Drupal7 para desarrolladores
Drupal7 para desarrolladoresDrupal7 para desarrolladores
Drupal7 para desarrolladores
 
Distribuciones drupal
Distribuciones drupalDistribuciones drupal
Distribuciones drupal
 
Drupal 7 a través Drupal Commerce
Drupal 7 a través Drupal CommerceDrupal 7 a través Drupal Commerce
Drupal 7 a través Drupal Commerce
 
DrupalCommerce Lisbon presentation
DrupalCommerce Lisbon presentationDrupalCommerce Lisbon presentation
DrupalCommerce Lisbon presentation
 
Drupal commerce
Drupal commerceDrupal commerce
Drupal commerce
 
Introduccion técnica a Drupal
Introduccion técnica a DrupalIntroduccion técnica a Drupal
Introduccion técnica a Drupal
 
Introducción general a Drupal
Introducción general a DrupalIntroducción general a Drupal
Introducción general a Drupal
 
Programacion basica de módulos
Programacion basica de módulosProgramacion basica de módulos
Programacion basica de módulos
 
Comercio electrónico con drupal
Comercio electrónico con drupalComercio electrónico con drupal
Comercio electrónico con drupal
 
Presentacion Drupal Ccrtv
Presentacion Drupal CcrtvPresentacion Drupal Ccrtv
Presentacion Drupal Ccrtv
 

Último

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Import and synchronize Drupal commerce content using Commerce feeds

  • 1. Import & synch content with Feeds and Comerce Commerce Drupalcamp, Switzerland 2-3-4, 2011
  • 2. About me ● Drupal developer at Commerce Guys ● Active member of Spanish and Catalan Drupal Community Pedro Cambra @pcambra
  • 3. Feeds module Feeds is a module that allows to import and synchronize content into Drupal using a pluggable system. With feeds you can import really diverse sources (XML, RSS, CSV, etc) into nodes, users, terms, etc.
  • 4. Feeds advantages ● Flexible. ● Extendable. ● Strong UI. ● Periodic imports. ● Exportable.
  • 5. Feeds' components Feeds splits its functionallity into three basic components: ● Fetcher – Gets the content from the source. ● Parser – Parses raw content into arrays. ● Processor – Target entities get greated and field mappings assigned. Reference: feeds cheatsheet for developers.
  • 6. Commerce Entities and Fields Product Price Order Product reference Line item Line item Customer profile reference reference (Node) Payment Customer transaction profile
  • 7. Display vs Product Drupal Commerce introduces a new entity type called Product to store specific product data as SKU, price, etc and links it to Product Displays which are nodes that are actually displayed to the user.
  • 8. Commerce Feeds Commerce Feeds plugs into Feeds module to provide a way to import both products and customer profiles and also provides a mapper for product prices and another for product references.
  • 9. ¡Lets see some examples!
  • 10. Feeds Tamper Feeds tamper module provides a plugin for feeds so users and developers can modify data imported before it gets saved. You can add operations such as replacements, filters, array explodes/implodes using the UI that feeds tamper provides.
  • 11. ¡Lets see some examples!
  • 12. Feeds API Feeds module also provides some tools for developers, you can declare new fetchers or processors, and also hook before data is saved or parsed using feeds API. More info at the Developers Guide to Feeds.
  • 13. Commerce Migrate Commerce Migrate is a really powerful alternative to the Feeds approach to import data but using Migrate module. It provides all the tools required to import commerce entities and fields and also a submodule for importing Ubercart 6.x or 7.x into Commerce.
  • 14. Resources ● http://www.drupalcommerce.org ● http://www.drupal.org/project/commerce ● http://www.drupal.org/project/commerce_kickstart ● http://twitter.com/drupalcommerce ● http://www.commerceguys.com/resources