pickrr / magento1
Pickrr Magento1 module for automatic creating/importing of shipment/tracking details in your pickrr account.
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento-module
Requires
- php: ~5.5.0|~5.6.0
- magento-hackathon/magento-composer-installer: *
This package is not auto-updated.
Last update: 2025-01-16 04:54:23 UTC
README
Pickrr Magento 1 module for automatic/manual creation of shipments thorugh Pickrr.
###Installation Instructions:
- Goto Magento's root folder and install it using composer from terminal:
composer require pickrr/magento1:dev-master
and type your magento's root location when asked,
For Ubuntu: /var/www/html/magento
2. Goto Admin panel, logout and then login again.
3. Verify in Magento Admin Panel whether the module is enabled. To check, go to Admin Panel >System>Configuration>Advanced>Advanced>Pickrr_magento2
4. Goto Admin Panel >System>configuration>PickrrExtensions>PickrrMagento1, and enable the automatic shipment option & enter the asked details.
In case of any problems/queries, contact info@pickrr.com
###Usage Instructions (only for manual calls, when automatic shipment mode is not enabled):
####Import helper class:
//import helper class $helper = Mage::helper('pickrr_magento1');
####Create a simple Pickrr Shipment:
Passing $pickup_time and $cod is optional.
Prototype of the function:
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');
It returns the tracking_id from Pickrr.
Usage:
//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.
Prototype of the function:
createOrderShipment($auth_token, $order, $from_name, $from_phone_number, $from_pincode, $from_address, $cod=0.0, $pickup_time='NULL');
Usage:
//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');