Jump to content

Custom shipping method with REST API


gaminn

Recommended Posts

Hi,

I would like to implement a custom shipping method for my Prestashop 8. Currently the shipping costs are displayed based on the static shipping cost tables defined in prestashop administration. However, at checkout I would like to display one more shipping service with dynamic shipping costs based on REST API request to a third party website. The request includes address, weight and dimensions of the package and it returns shipping costs and delivery time.

How can I implement that? Or is there a similar module which I can just modify to do what I want?

Link to comment
Share on other sites

I hoped that there is a similar shipping costs module already which already loads shipping costs from somewhere and displays it on checkout page. I would just modify it to send the rest api request to my 3rd party service. I know some basics of PHP/HTML

I already asked 3rd party service - they don't have a module for Prestashop.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...