dotmailer / dotmailer-magento2-extension

The official Dotdigital for Magento2 extension
https://dotdigital.com/integrations/magento
MIT License
48 stars 63 forks source link

Issue with Redirect to Cart in Cart Abandonment Email #532

Closed perryholden closed 5 years ago

perryholden commented 5 years ago

As a registered customer, when trying to access your cart from an abandoned cart email, after being directed to the login page, rather than going to your cart, you are instead redirected to the customer account page. Please note that this is not related to the configuration option, "Redirect Customer to Account Dashboard after Logging in."

Preconditions

  1. Magento Commerce 2.2.6
  2. PHP 7.1.22
  3. MySQL Ver 14.14
  4. Dotmailer (any version)

Steps to reproduce

  1. Ensure that the configuration option "Redirect Customer to Account Dashboard after Logging in" is set to "No"
  2. Trigger an abandoned cart email from a logged-in user's quote.
    • Login as a user
    • Add items to your cart
    • Important: Logout of the customer account
  3. After you receive an abandoned cart email, click on the link in the email: "Take Me To My Basket"
  4. Login as the same customer when prompted.

Expected result

Actual result

Additional Details

sta1r commented 5 years ago

@dewayneholden Thank you for this bug report - good spot.

We've committed a fix per your suggestion, which will be merged to master in an upcoming release.