- Using default theme provided by PrestaShop
- Hosting provider (DreamHost) Server Shared
- PHP Version 7.4.15 (https://gita.bg/phpinfo.php)
- As far to my knowledge All Dependencies satisfied
- I see two errors in advanced parameters/ Information as follows:
Required parameters: Please fix the following error(s)
memory_limit (missing description)
Optional parameters: Please fix the following error(s)
memory_limit (missing description)
Update:
- Memory limit issue resolved
- The issue with the handling charges and product shipping fees still present
Update:
I checked out DHL Shipping module and compared with mine (Econt) and notice mine was missing few things that DHL module got:
$handlingFees = Configuration::get('PS_SHIPPING_HANDLING');
// Adding handling charges
if ($carrier->shipping_handling) {
$priceWithoutTaxes += (float) $handlingFees;
}
// Additional Shipping Cost per product
foreach ($products as $p) {
if (!$p['is_virtual']) {
$priceWithoutTaxes += $p['additional_shipping_cost'] * (int) $p['cart_quantity'];
}
}
I try to add them in my carrier moduel in file econtdelivery.php but this also didn't solve the problem.
If any one got an idea how I can modify the carier moduel by changing its coding It would be greatly appriciated.