2017 © Pedro PelĆ”ez
 

magento2-module module-ordercontroller

To implement guest order history feature

image

born/module-ordercontroller

To implement guest order history feature

  • Tuesday, February 21, 2017
  • by jyotiranjan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 20 % Grown

The README.md

magento2-GuestOrderHistory

Decription

Implement guest order history feature with a new controller that takes parameter(s) to query a single order and returns a json with information about order status, total, items (sku, item_id, price) and total invoiced., (*1)

Installation

Composer Package

  1. Go to MagentoĀ® 2 root folder, (*2)

  2. Enter following commands to install module:, (*3)

    composer require jrb/module-ordercontroller dev-guestorderhistory
    

    Wait while dependencies are updated., (*4)

  3. Enter following commands to enable module:, (*5)

    php bin/magento module:enable JRB_OrderController
    php bin/magento setup:upgrade
    php bin/magento cache:clean
    

Manually

  1. Go to MagentoĀ® 2 root folder, (*6)

  2. paste all code in a foler app/code/JRB/OrderController, (*7)

  3. Enter following commands to enable module:, (*8)

    php bin/magento module:enable JRB_OrderController
    php bin/magento setup:upgrade
    php bin/magento cache:clean
    

How to use

by calling rest api, (*9)

end point: rest/V1/guestorder/getGuestOrderHistory/:param, (*10)

param can be 1,2,.. all, (*11)

, (*12)

or by calling simple controller, (*13)

, (*14)

The Versions

21/02 2017

dev-master

9999999-dev

To implement guest order history feature

  Sources   Download

OSL-3.0

by Jyotiranjan Biswal