2017 © Pedro Peláez
 

magento2-module magento2

Pickrr Magento 2 module for automatic creating/importing of shipment/tracking details in your pickrr account.

image

pickrr/magento2

Pickrr Magento 2 module for automatic creating/importing of shipment/tracking details in your pickrr account.

  • Wednesday, July 13, 2016
  • by satyamgupta
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Pickrr Shipment Extension for Magento

Pickrr Magento 2 module for automatic/manual creation of shipments thorugh Pickrr., (*1)

Installation Instructions:

  1. Extract the zip file in the the <root_of_Magento2>/app/code
    OR
    Goto Magento's root folder and install it using composer from terminal:, (*2)

    composer require pickrr/magento2:dev-master
    
  2. Goto root folder of magento in terminal, and run:, (*3)

    bin/magento module:enable Pickrr_Magento2
    bin/magento setup:upgrade
    
    
  3. Verify in Magento Admin Panel whether the module is enabled. To check, go to Admin Panel >Stores>Configuration>Advanced>Advanced>Pickrr_magento2
  4. Goto Admin Panel >Stores>configuration>PickrrExtensions>PickrrMagento2, and enable the automatic shipment option & enter the asked details.

In case of any problems/queries, contact info@pickrr.com, (*4)


Usage Instructions (only for manual calls, when automatic shipment mode is not enabled):

Import helper class:

//import helper class

Pickrr\Magento2\Helper\ExportShipment $helper;

Create a simple Pickrr Shipment:

Passing $pickup_time and $cod is optional., (*5)

Prototype of the function:, (*6)

createShipment($auth_token, $item_name, $from_name, $from_phone_number, $from_pincode, $from_address, $to_name, $to_phone_number, $to_pincode, $to_address, $cod=0.0, $pickup_time='NULL', $order_id = 'NULL');

It returns the tracking_id from Pickrr., (*7)

Usage:, (*8)

//Create shipment using order

$auth_key =  'Your Auth Key';

$helper->createOrderShipment($auth_key, "Item's Name", "Merchant/Sender's Name", "Merchant/Sender's Phone", 'Pickup Address Pin', 'Pickup Address', 300.0, '2016-06-17 17:00');

Create Shipment using order:

This will also create shipment and associate it with the passed order. The client/customer's address, item's name and order's id will be extracted from order., (*9)

Prototype of the function:, (*10)

createOrderShipment($auth_token, $order, $from_name, $from_phone_number, $from_pincode, $from_address, $cod=0.0, $pickup_time='NULL');

Usage:, (*11)

//Create shipment using order

$auth_key =  'Your Auth Key';
$order = $objectManager->get('Magento\Sales\Model\Order')->loadByIncrementId('100000094');

$helper->createOrderShipment($auth_key, $order, "Merchant/Sender's Name", "Merchant/Sender's Phone", 'Pickup Address Pin', 'Pickup Address', 300.0, '2016-06-17 17:00');

The Versions

13/07 2016

dev-master

9999999-dev http://www.pickrr.com

Pickrr Magento 2 module for automatic creating/importing of shipment/tracking details in your pickrr account.

  Sources   Download

MIT

The Requires

  • php ~5.5.0|~5.6.0

 

by Satyam

shipping tracking magento2 magento shipments pickrr shipments import