When sending transaction test mails like "New Pickup Order" we get the following error in the mail: Error filtering template: The product that was requested doesn't exist. Verify the product and try again.

This happened after we deletes some products.

How can it be, that this affects sending test mails?

Any any idea how to fix this?

Thanks Aldo

  • If you are trying to get the product that was deleted, then magento won't be able to find it. How is the product data being accessed in the template? – wesleywmd Dec 11 '19 at 16:10
  • I use the standard Magento template. In it there is this placeholder: {{layout handle="sales_email_order_items" order=$order}} – ab_lu Dec 11 '19 at 18:52

Ok, while sending test mails, Magento uses the last order to fetch demo content. As we deleted some products the mail template could not fetch this data. We installed an extension to delete orders, after that all working fine again, as this orders did not contain deleted products.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.