Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create package and shipping label #4

Closed
shashikant-wagh opened this issue Nov 5, 2017 · 3 comments
Closed

Create package and shipping label #4

shashikant-wagh opened this issue Nov 5, 2017 · 3 comments
Labels

Comments

@shashikant-wagh
Copy link

Hi,

Checked this module and its really awesome, although I have a question if I want to create shipping label and package how should do this using this code.

@srenon srenon added the question label Nov 5, 2017
@srenon
Copy link
Contributor

srenon commented Nov 5, 2017

@LV2Code ... Please provide more information on what you are trying to do

@shashikant-wagh
Copy link
Author

I want to create package at submit shipment page from the products in order, I have tried many things so far without any luck.

If you can share some light on it, it will be really helpful.

Thanks

@srenon
Copy link
Contributor

srenon commented Mar 28, 2018

@LV2Code ... Take a look at Magento/Shipping/Model/Carrier/AbstractCarrier.php

Returning true from one of this function should address your issue. Let me know which one and I will add it.

  /**
 * Check if carrier has shipping tracking option available
 *
 * @return bool
 */
public function isTrackingAvailable()
{
    return false;
}

/**
 * Check if carrier has shipping label option available
 *
 * @return bool
 */
public function isShippingLabelsAvailable()
{
    return false;
}

@srenon srenon closed this as completed Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants