Skip to content

Back in stock alert email not translatable #10997

Closed
@mike-happy

Description

@mike-happy

Preconditions

  1. Magento CE 2.1.9
  2. Products are set up.
  3. Stock is set up.
  4. Magento2translations (nl_NL) language package is installed and enabled.

Steps to reproduce

  1. Set the stock of a product on 0 and out of stock in the admin.
  2. Create a customer login in the frontend
  3. Navigate to the product that is out of stock
  4. Click on the link "Notify me when this product is in stock". ("Informeer mij wanneer dit product op voorraad is" in dutch)

Expected result

  1. Receive the email in Dutch, because the language package contains the right translations.

Actual result

  1. Receive the email in English.

screen shot 2017-09-15 at 09 04 21

The email is send through the cron, so it is only send at night. (Which makes debugging extra difficult)

The actual text is in magento/module-product-alert/view/frontend/templates/email/price.phtml

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.1.xThe issue has been reproduced on latest 2.1 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions