To display the geographic map a key is necessary for the use of the Google API Follow these steps to get a key: Go to the API Console – Google Cloud Platform. Identify yourself or create an account with Google. Select a project or create a new one if you wish. Click on ‘Activate APIs and Services’ at the top left and select the Maps Javascript API API. If you checked the address verification also check the Geocoding API If…
Tag Archives: shipment
Why a google map key?
To verify that an address is in a sector with a radius, the module needs to know the precise distance from the center and for this it needs the GPS position. Google provides a javascript API which allows the module to obtain this position with the postal address. The use of this API is free through $200 of credit offered per month, which largely covers the needs of the module. However in order to check the usage google requests to…
How to access the mobile application for delivery ?
The mobile application is free, it is not a native application: it does not need to be installed on the smartphone. For the demo you can access it with your web browser by loading the address: https://test.labulle.net/myowndeliveries/demo/modules/myowndeliveries/roundtrip?fc=module&module=myowndeliveries&controller=roundtrip testtest password For your shop replace test.labulle.net/myowndeliveries/demo with the address of your shop. It is important to connect in https: // to allow the location of the smartphone.
Limit delivery to certain products
This is possible with the PRO version. There are two ways to do this: – Assign different transportations directly in the products and create deliverers for each of these transporters. In this case if we have products from several carriers, Prestashop will create a multiple shipment and we will have an order and a delivery by deliveryman involved. – Create several deliverers with category restrictions on the same PS transporter. In this case we have the possibility of blocking orders…
Add a hook in CMS pages
Prestashop CMS pages are useful, but lack the possibility of adding modules to any of them, specifically. Let’s see how to enhance these pages and create custom hooks for them! Creating a custom hook for CMS pages Locate your cms.tpl inside the module’s folder, and open it up in any code editor. We first need to decide where to put our module, if before the cms content, or after it. Whichever position you choose , the important section of the…