first commit

This commit is contained in:
2024-10-25 14:16:28 +02:00
commit 925276dbb2
33795 changed files with 4780077 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
class Przelewy24zenCardAjaxModuleFrontController extends ModuleFrontController
{
public function initContent()
{
$action = Tools::getValue('action');
if (isset($action) && $action == 'getGrandTotal') {
die(
$this->context->cart->getOrderTotal(true, Cart::ONLY_PRODUCTS_WITHOUT_SHIPPING) -
$this->context->cart->getOrderTotal(true, Cart::ONLY_DISCOUNTS)
);
}
if (isset($action) && $action == 'shippingCosts') {
die($this->context->cart->getOrderTotal(true, Cart::ONLY_SHIPPING));
}
}
}