Skip to content

Edit items link on multishipping goes to wrong route #7257

@MaN4thes3t

Description

@MaN4thes3t

Preconditions

  1. Developer mode, ubuntu, php 7
  2. Magento 2.1

Steps to reproduce

  1. Add item to cart
  2. Select checkout with multi shipping addresses
  3. Click to go to shipping
  4. Click to edit items icon

Expected result

  1. Should go to /checkout/cart page

Actual result
Goes to 404 page (/multishipping/cart).

[Screenshot, logs]
Issue in file vendor/magento/module-multishipping/Block/Checkout/Billing/Items.php in getVirtualProductEditUrl(). Should be:
public function getVirtualProductEditUrl()
{
return $this->getUrl('checkout/cart');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions