Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
IOS eShop and Updated ELTA shipping costs
« previous
next »
Print
Pages: [
1
]
Author
Topic: IOS eShop and Updated ELTA shipping costs (Read 5047 times)
sophocles
Newbie
Posts: 45
IOS eShop and Updated ELTA shipping costs
«
on:
October 09, 2012, 18:46:36 »
Hi all,
I'm about to publish the eShop of the company that I'm employed in and I wanted to check if the ELTA prices are the same as in the original "elta.shipping.php".
As i suspected the prices have changed. Regarding prices for Balkans/Cyprus, Europe and the Rest of the World, it was quite straight forward replacing of them.
When it came to changing the prices for delivery inside Greece, there is a slight change in the way ELTA is doing this. It carries different prices from 0,1kg up to 20kg, and then it charges 0,60€ per kg.
I made some slight modifications on "elta.shipping.php".
I have tested the script and it seems that everything is functioning properly.
It would be nice to have a php coder to check the script and if everything is all right to make it avaliable for everyone or embed it into the eshop package.
The current ELTA price list can be found on
http://www.elta.gr/Portals/0/pdf/pricelist_de_es_ex.pdf
.
Attached you can find the "elta.shipping.php" that has been modified.
«
Last Edit: October 10, 2012, 11:13:33 by cryonics2003
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOS eShop and ELTA shipping costs
«
Reply #1 on:
October 09, 2012, 20:17:11 »
Thanks for the information.
You have wrong the shipping calculation for more than 20kgr.
The 0.60 EUR/kgr refers to the extended weight (over 20), not the total.
$w-20;
$cost = $this->onekgrcost + ($w * $this->stepamount);
The correct is:
$cost = 15.60 + (($w - 20) * $this->stepamount);
I updated IOS Eshop (with different code but the result is the same), thanks again!
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
sophocles
Newbie
Posts: 45
Re: IOS eShop and ELTA shipping costs
«
Reply #2 on:
October 10, 2012, 07:57:23 »
Thank you so much for the correction; everything runs smoothly.
I attach the correct file for anyone that is interested.
Thanks once more datahell for the support.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
IOS eShop and Updated ELTA shipping costs