Skip to content

Commit

Permalink
Supporting Prestashop 8.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-mykhailenko committed Feb 23, 2023
1 parent 09bbe5e commit 6e61858
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Boost your ROI and increase your merchant revenue with the Mailjet v3 all-in-one
## Plug-in Key Info

* Plug-in languages: English, French, German, Spanish
* PrestaShop Compatibility: PrestaShop v1.5.0 - v1.7.5
* PrestaShop Compatibility: PrestaShop v1.5.0 - v8.0.x
* PHP Compatibility: requires PHP 5.5 or newer
* Mailjet Compatibility: Mailjet account
* Support: https://app.mailjet.com/support/ticket
Expand Down Expand Up @@ -65,6 +65,10 @@ Happy emailing!


## Changelog
= 3.6.0 =
* Support version 8.0.x
* Code cleanup

= 3.5.2 =
* Correct config file for PS version 1.7.*
* Code cleanup
Expand Down
4 changes: 2 additions & 2 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<module>
<name>mailjet</name>
<displayName><![CDATA[Mailjet]]></displayName>
<version><![CDATA[3.5.2]]></version>
<version><![CDATA[3.6.0]]></version>
<description><![CDATA[Create contact lists and client segment groups, drag-n-drop newsletters, define client re-engagement triggers, follow and analyze all email user interaction, minimize negative user engagement events(blocked, unsubs and spam) and optimise deliverability and revenue generation. Get started today with 6000 free emails per month.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[advertising_marketing]]></tab>
<is_configurable>1</is_configurable>
<need_instance>1</need_instance>
</module>
</module>
2 changes: 1 addition & 1 deletion mailjet.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function __construct()
$this->displayName = 'Mailjet';
$this->description = $this->l('Create contact lists and client segment groups, drag-n-drop newsletters, define client re-engagement triggers, follow and analyze all email user interaction, minimize negative user engagement events(blocked, unsubs and spam) and optimise deliverability and revenue generation. Get started today with 6000 free emails per month.');
$this->author = 'PrestaShop';
$this->version = '3.5.2';
$this->version = '3.6.0';
$this->module_key = 'c81a68225f14a65239de29ee6b78d87b';
$this->tab = 'advertising_marketing';

Expand Down
36 changes: 36 additions & 0 deletions upgrade/Upgrade-3.6.0.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/**
* 2007-2019 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <[email protected]>
* @copyright 2007-2019 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

if (!defined('_PS_VERSION_')) {
exit;
}

require_once(_PS_MODULE_DIR_ . 'mailjet/mailjet.php');

function upgrade_module_3_6_0($object)
{
return true;
}

0 comments on commit 6e61858

Please sign in to comment.