Find Jobs
Hire Freelancers

PrestaShop module that triggers on each new order

€30-250 EUR

Zamknięte
Opublikowano ponad 8 lat temu

€30-250 EUR

Płatne przy odbiorze
This trigger is related to all values in Carrier and Store module. Attached 2 screenshots of where all related data is. General description Our PrestaShop is a multistore of a food delivery store. We delivery very fast, in less than 30 minutes each order, on scooter or bicycle. Our carriers can handle 2 or 3 orders on each delivery trip, so we need some intelligence to assign orders automatically to next available carrier. First thing we need is to add a "carrier" selector on AdminOrders controller, where it allows to link this order manually to any available carrier of this multi-store. Details: We need to execute some actions every 5 seconds; if there is an order with status "Order accepted" (status ID 2), then: 1- Store all values of module "Carriers and stores" in a text log file, like this: date;time;carrier_id;carrier_name;carrier_status;carrier_vehicle;idle_time;commute_time;max_orders_per_carrier;current;delivery_time;pending_orders;this_store_current_waiting_time;open_close_status;max_reply_time;max_statusnew_time 2- // Check if a carrier is available and if that carrier has room to carry another order If (carrier_1_status = waiting or returning) and carrier_pending_orders < max_orders_per_carrier then // We need to link carrier ID to order ID - assign carrier ID to Order // We increase this carrier delivery time; each carrier needs like 20 minutes to delivery an order. But if he is carrying an order already then his next order will be delivered later. So we increase his current delivery_time by adding the value carrier_commute_time (the time it usually takes for a carrier to delivery a single order) - carrier_delivery_time = +carrier_commute_time // If carrier has been waiting for too long, maybe he is disconnected. Then we have to send him a wake up signal, a message so he gets notified and can be back to work. If carrier is available for next order, then we send order details to him (each order has a detail box, check attached) and we put order to status 18 so our warehouse starts preparing it - if this_carrier_idle_time < (minutes from last order was delivered) then send "wake up" message to Carrier else set order status to new (status id = 18) and (send order_details to carrier 1) // Each store can have more than one carrier. If first carrier was busy, then we check next one availability 3- if 2 wasn't possible try next carrier 4-Store all values in log again like step 1
Identyfikator projektu: 8993098

Informację o projekcie

7 ofert
Zdalny projekt
Aktywny 8 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
7 freelancerzy składają oferty o średniej wysokości €269 EUR dla tej pracy
Awatar Użytkownika
Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joomla, Os-commerce,vBulletin , Zen cart-Drupal , android and IOS , I can create and deliver the project as per the information.I have skilled, expert programmers I'm very excited to assist you in making your Sites successful – please feel free to contact me directly to discuss this position further. Thanks
€195 EUR w 8 dni
4,7 (540 opinii)
8,4
8,4
Awatar Użytkownika
Hi, I am interested for the offer.I am among the top 3 Prestashop developer in Freelancer.com . Lets discuss more in details. Thanks Showcase Projects: https://www.freelancer.com/projects/php/XML-product-import-feed.html https://www.freelancer.com/projects/php/Create-Custom-Prestashop-Module.html https://www.freelancer.com/projects/Prestashop/Looking-for-Prestashop-Expert-develop.html https://www.freelancer.com/projects/PHP-eCommerce/Prestashop-module-development.html https://www.freelancer.com/projects/PHP-MySQL/Calculation-module-for-prestashop.html https://www.freelancer.com/projects/Prestashop/Prestashop-orders-via-API-webservice.html https://www.freelancer.com/projects/PHP-Software-Architecture/Write-prestashop-module.html http://www.freelancer.com/projects/PHP-Software-Architecture/Create-module-prestashop-for-sync.html https://www.freelancer.com/projects/PHP-MySQL/Import-module-for-Prestashop-order.html http://www.freelancer.com/projects/PHP-Prestashop/Prestashop-module-keep-products-stock.html https://www.freelancer.com/projects/PHP-MySQL/modify-multi-seller-vendor-module.6365538.html https://www.freelancer.com/projects/PHP-eCommerce/Prestashop-module-development.html https://www.freelancer.com/projects/eShipper-module-for-Prestashop-Repost.html
€200 EUR w 7 dni
4,9 (378 opinii)
7,4
7,4
Awatar Użytkownika
NOTE: everything needs to be discussed and negotiated first. the default terms are placed to ensure such discussion takes place before job is awarded. In pursuance to "Milestone Payments" as in Freelancer terms and conditions, first milestone payment needs to be deposited on Freelancer within a day, ibapi is awarded the project, failing which the awarding of the project by the seller will be deemed void and the offer by ibapi will be deemed to have been retracted. not be accepted by ibapi. first milestone becomes payable after requirement analysis is done. requirement analysis is "Contract-style requirement lists" as defined under "Requirements_analysis" in wikipedia. Explanation: this is essentially an upfront payment. first milestone deposited before job is accepted and paid after requirement analysis as explained in message board.
€236 EUR w 4 dni
4,9 (152 opinii)
7,2
7,2
Awatar Użytkownika
hi, we are able to complete this work with its innovative ideas and excellent customer service. we will make some different to your expectation. we are available via Skype, phone and e-mail and are always open for discussion of progress, issues, functionality changes etc I'll be glad to continue our discussion and hope to talk to you soon. waiting for your prompt reply. i have read your requirement and i will do that real quickly if u want to any query or question then come on chat on freelancer.com Thanks Nammy Makwana Creativeitech
€200 EUR w 7 dni
5,0 (162 opinii)
7,0
7,0

O kliencie

Flaga SPAIN
Sant Joan Despi, Spain
4,9
50
Zweryfikowana metoda płatności
Członek od maj 31, 2010

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.