Skip to content

Commit

Permalink
EMA-154 - Event trigger if not default template has been choosen for …
Browse files Browse the repository at this point in the history
…g… (#67)

Co-authored-by: Sanyi <sandor.deli-szabo@itgcommerce.com>
  • Loading branch information
szsanyi and Sanyi authored Nov 19, 2024
1 parent 97cfd94 commit a123f23
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release notes:
==============

2.0.14
-------
* Fix
* Fixing email trigger, if not default template has been choosen for guests orders not triggered

2.0.13
-------
* Fix
Expand Down
2 changes: 1 addition & 1 deletion Events/SenderBuilderPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ private function parseVars(string $key, AbstractModel $object, array &$data): vo
*/
private function saveEvent(int $websiteId, int $storeId, string $type, int $entityId, array $data): void
{
$data = $this->json->serialize($data);
$data = json_encode($data, JSON_INVALID_UTF8_IGNORE);

$eventModel = $this->eventFactory
->create()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"php": ">7.0.1"
},
"type": "magento2-module",
"version": "2.0.13",
"version": "2.0.14",
"autoload": {
"files": [
"registration.php"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Emartech_Emarsys" setup_version="2.0.13">
<module name="Emartech_Emarsys" setup_version="2.0.14">
<sequence>
<module name="Magento_Catalog" />
<module name="Magento_Inventory" />
Expand Down

0 comments on commit a123f23

Please sign in to comment.