Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WooCommerce with Elasticsearch

WooCommerce with Elasticsearch

# hans-on-materials
https://github.com/amimoto-ami/hans-on-materials/blob/master/howto/elasticommerce_en.md

# Goal of this hands-on:
- AMAZON Elasticsearch Service : Full text search engine
- Replace default search feature with AMAZON Elasticsearch Service
- Collaborate with WooCommerce and AMAZON Elasticsearch Service

More Decks by Amimoto - Flexible Cloud WordPress Hosting

Other Decks in How-to & DIY

Transcript

  1. WooCommerce
    with
    Elasticsearch
    @Amimoto_Ami
    amimoto-ami.com

    View Slide

  2. Architecture

    View Slide

  3. w 3FQMBDFEFGBVMUTFBSDIGFBUVSF

    XJUI&MBTUJDTFBSDI
    w &MBTUJDTFBSDI0QFOTPVSDF

    GVMMUFYUTFBSDIFOHJOF
    w $PMMBCPSBUFXJUI8PP$PNNFSDF

    BOE&MBTUJDTFBSDI
    (PBMPGUIJTIBOETPO
    AMAZON 

    Elasticsearch

    View Slide

  4. Before we start

    View Slide

  5. bit.ly/1SToBzm
    -JTUPGDPNNBOETPOUIJTIBOETPO

    View Slide

  6. Start up AWS Services
    Set up plugins
    Workflow
    Preparation

    View Slide

  7. AMAZON 

    Elasticsearch
    Amazon Elasticsearch Service uses the 

    power of a popular open-source search

    and analytics engine Elasticsearch, 

    to provide your customers a rich 

    search and navigation experience.

    View Slide

  8. Go to Elasticsearch Service

    View Slide

  9. Get started with Amazon Elasticsearch Service

    View Slide

  10. Create a Elasticsearch domain

    View Slide

  11. Configure the cluster

    View Slide

  12. Configure the cluster

    View Slide

  13. Review the settings and set up the access policy

    View Slide

  14. Select an access policy template

    View Slide

  15. Select an access policy template

    View Slide

  16. Save the access policy

    View Slide

  17. Your Elasticsearch domain

    View Slide

  18. https://wordpress.org/plugins/elasticommerce-search-form/

    View Slide

  19. Enable the Elasticommerce Search Form plugin

    View Slide

  20. Setup the Elasticommerce Services

    View Slide

  21. Set the Endpoint and Save

    View Slide

  22. https://wordpress.org/plugins/elasticommerce-related-items/

    View Slide

  23. Enable the Elasticommerce Related Item plugin

    View Slide

  24. Setup the Elasticommerce Services

    View Slide

  25. Setup the Elasticommerce Services

    View Slide

  26. Setup the Elasticommerce Services
    • Add Elasticommerce Related Widgets in your widgets area
    • add escr_related_item(); function in your theme or plguins
    • to get only the data, you can use escr_get_related_item(); function
    To show Related Item List:


    View Slide

  27. http://amimoto-ami.com/slack/
    Questions:

    View Slide

  28. @Amimoto_Ami
    amimoto-ami.com
    THANK YOU!
    WooCommerce
    with
    Elasticsearch

    View Slide