first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
class OrderCarrier extends OrderCarrierCore
{
/*
* module: x13allegro
* date: 2021-05-28 23:22:28
* version: 6.4.1
*/
public function sendInTransitEmail($order)
{
$allegro = _PS_MODULE_DIR_ . 'x13allegro/x13allegro.php';
if (file_exists($allegro)) {
require_once ($allegro);
if (Module::isEnabled('x13allegro')
&& XAllegroForm::orderExists($order->id)
&& !(bool)XAllegroConfiguration::get('ORDER_SEND_CUSTOMER_MAIL')
) {
return true;
}
}
return parent::sendInTransitEmail($order);
}
}