Delivery Services Fedex/USPS
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 28
- Joined: 21 May 2019, 09:52
Delivery Services Fedex/USPS
I want to implement Fedex and USPS delivery services, but I want to add delivery charges based on products dimensions and weight and should be calculated w.r.t. delivery address. But I am getting only fixed service charges.
Should I use any third party api to get charges or any other way?
Thanks
Harpal Singh
Should I use any third party api to get charges or any other way?
Thanks
Harpal Singh
Re: Delivery Services Fedex/USPS
You should implement a service decorator that adds the shipping costs in the calcPrice() method depending of the products in the basket and their dimensions/weight. If the rules for Fedex/UPS shipping costs are quite simple, you can implement them locally but we would recommend to use the Fedex/UPS APIs to get the real costs. This is also save if they change their prices.
If you implement decorators using the API, we would love to integrate your pull request
If you implement decorators using the API, we would love to integrate your pull request
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star