Last active
March 14, 2017 08:31
-
-
Save tunght13488/d6cc921d19a8ea653aef4804080fd46a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// https://magento.stackexchange.com/questions/159346/magento-2-add-custom-extesion-html-file-in-shipping-method-block | |
// http://oyenetwork.com/articles/magento2-devliery-date-module-creation-from-scratch/ | |
public function getShippingData($quoteId) | |
{ | |
return [ | |
[ | |
'calendar_type' => 'ONLINE', | |
'date' => '22/03/2016', | |
'delivery_slot' => '11AM-3PM,3PM-7PM,7PM-9PM', | |
'guid' => 'ITEM', | |
'item_no' => 'IP035098', | |
'sequence_no' => '0', | |
'zone' => 'ALL', | |
], | |
[ | |
'calendar_type' => 'ONLINE', | |
'date' => '23/03/2016', | |
'delivery_slot' => '11AM-3PM,3PM-7PM,7PM-9PM', | |
'guid' => 'ITEM', | |
'item_no' => 'IP035098', | |
'sequence_no' => '0', | |
'zone' => 'ALL', | |
], | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment