Find Jobs
Hire Freelancers

Opencart Modification

£20-40 GBP

W trakcie realizacji
Opublikowano prawie 11 lat temu

£20-40 GBP

Płatne przy odbiorze
I have a modified shipping extension for opencart, at checkout the mod takes a start postcode that is set in the extension's admin panel(normally store postcode) within shipping modules, it then takes the delivery address postcode and makes a call to google to get the distance between both postcodes, the distance is returned by google and then used to work out shipping costs based on the distance. I need this modified so that rather than use the store postcode set in the admin it gets the billing address postcode and uses that as the start point and the delivery address as the end point. I am sure the billing postcode will be stored in a session variable. The fuction to get the distance is below. //If this user wants to calculate by address / city if($this->config->get ( 'use_address_calculation' ) == true) { $store_address = str_replace("\n", ",", $this->config->get ( 'config_address' )); $store_address = str_replace("\r", "", $store_address); $string = trim($store_address). '&destinations=' . trim ( str_replace ( " ", "", $address ['address_1'].','.$address ['city'] )); $sResponse = $this->curl_request ( '[login to view URL]', 'origins=' . str_replace ( " ", "",$store_address) . '&destinations=' . trim ( str_replace ( " ", "", $address ['address_1'].','.$address ['city'] ) ) . '&mode=driving&units=' . $this->config->get ( 'zip_distance_units' ) . '&sensor=false' ); $oJSON = json_decode ( $sResponse ); }else { $sResponse = $this->curl_request ( '[login to view URL]', 'origins=' . str_replace ( " ", "",$this->config->get ( 'zip_distance_origin' )) . '&destinations=' . trim ( str_replace ( " ", "", $address ['postcode'] ) ) . '&mode=driving&units=' . $this->config->get ( 'zip_distance_units' ) . '&sensor=false' ); $oJSON = json_decode ( $sResponse ); }
Identyfikator projektu: 4521787

Informację o projekcie

3 ofert
Zdalny projekt
Aktywny 11 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
Opencart expert here with more than 3 dozen projects under my belt. Lets do it.
£36 GBP w 1 dzień
0,0 (0 opinii)
0,0
0,0
3 freelancerzy składają oferty o średniej wysokości £40 GBP dla tej pracy
Awatar Użytkownika
Ready to start right away Thank you
£42 GBP w 0 dzień
5,0 (184 opinii)
7,2
7,2
Awatar Użytkownika
Here is genuine opencart developer,plz check pmb.
£42 GBP w 3 dni
5,0 (28 opinii)
5,1
5,1

O kliencie

Flaga UNITED KINGDOM
Argyll, United Kingdom
5,0
67
Zweryfikowana metoda płatności
Członek od cze 25, 2007

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.