magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.49k stars 9.31k forks source link

Checkbox is not visible to Create shipping label #29816

Closed dev-ajaysaini closed 3 years ago

dev-ajaysaini commented 4 years ago

While creating shipment there is no checkbox available in Magento 2.4.0

Preconditions (*)

  1. Magento 2.4.0
  2. Place order with a shipping method which have functionality to create shipping label.

Steps to reproduce (*)

  1. Place an order with simple product
  2. Choose an shipping method which have feature to create shipment label.
  3. Try to create shipping label

Expected result (*)

Checkbox should be visible to select this option. https://prnt.sc/u8xybu

Actual result (*)

https://prnt.sc/u8xxy7


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 4 years ago

Hi @webkul-ajaysaini. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 4 years ago

Hi @krishprakash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

mam08ixo commented 4 years ago

Relevant CSS:

.admin__control-checkbox + label::before

M2.3 markup:

<input id="create_shipping_label" class="admin__control-checkbox" onclick="toggleCreateLabelCheckbox();">
<label for="create_shipping_label"></label>

M2.4 markup:

<input id="create_shipping_label" class="admin__control-checkbox">
<script type="text/javascript"></script>
<label for="create_shipping_label"></label>

Someone moved the onclick JS to a <script> element so that the CSS selector no longer matches.

@webkul-ajaysaini You can still open the packaging popup by clicking the "Create Shipping Label" label text. Can you confirm that the packaging popup itself is also completely broken?

packaging_popup

mam08ixo commented 4 years ago

Looks like MC-29420 (70ede03) broke it and MC-35514 (3c22eef) attempts to fix it. No shipping on Magento 2.4.0, got to wait for a future release.

m2-assistant[bot] commented 3 years ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Bravo commented 3 years ago

Hello @webkul-ajaysaini

Thank you for your report.

This issue is already fixed in 2.4.1 and 2.4-develop Magento versions The Checkbox for Creating Shipping labels is available Selection_030

We are closing this issue. Please feel free to comment, reopen or create a new ticket according to the Issue reporting guidelines