Closed pstuifzand closed 1 year ago
On this line https://github.com/dealer4dealer/magento2-substituteorders/blob/009492983be69f4b030a37b0015527134de353f0/Controller/Order/Reorder.php#L143 the error can't be translated, because of the product name in de message. You would need a translation for every product name.
This is the patch we use to fix this.
$errors[] = __("We can\'t add %1 to your shopping cart right now.", $product->getName());
Hi, thank you for pointing this out, we will apply this patch in version 1.0.27. Also in the same file on line 188.
On this line https://github.com/dealer4dealer/magento2-substituteorders/blob/009492983be69f4b030a37b0015527134de353f0/Controller/Order/Reorder.php#L143 the error can't be translated, because of the product name in de message. You would need a translation for every product name.
This is the patch we use to fix this.