Jump to content
iupaem

Problems with Shipping Module

Recommended Posts

Hi!

 

I've just created a shipping module in Prestashop. Transport fee is calculated based on the distance between two points, addresses (Google Maps API). 

 

When a client is registered and he has only one address, this tax is calculated in a correct way, but when he introduce his second address, the result is not what I'am expecting.

This is the code ...

 

post-1031900-0-15947500-1435056178_thumb.png

 

What is wrong?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More