Woocommerce custom order status algorithm
- or -
Post a project like this1551
€60(approx. $64)
- Posted:
- Proposals: 8
- Remote
- #2658311
- Awarded
✪ Top Web & Mobile - Laravel | WordPress | WooCommerce | AngularJS | VueJS | Android | iOS | APIs | NodeJS | Blockchain | Cloud Expert
Al Ain
Full Stack Developer| POS System Expert | Hybrid Mobile Application Developer | Web APP Developer | Graphic Designer | UI/UX
Chandigarh
Python | React| WordPress | Shopify | Laravel | Mongo Atlas | MySQL | Angular | AWS (Lambda, S3 Bucket, EC2, SES, DynamoDB) | React | Node JS | Banner Design | SEO | Digital Marketing
Kolkata
Web Project Leader & Tech-Savvy Digital Marketer | WordPress Custom Website | Woocommerce Products
Singapore
Shopify Wizard | Shopify Plus | CRO Expert| Ecommerce Strategist | Wordpress Developer
Nagpur
169608625002363463741165245227753713486904123377836669
Description
Experience Level: Entry
Estimated project duration: 1 - 2 weeks
My store is a Woocommerce rental store. For the shipment, we need two custom algorithms, which change the order status based on DHL API-Events. We have already integrated the official DHL Woocommerce plugin and the trackship plugin (works just for the shipment to the customer). We already have an cronjob, which changes the order status one day before the end of rental period and on the end of the rental period itself. You can use that as reference.
(First Milestone 7 $)
For the existing algorithm (mentioned above), please realize a status email to our address. This status mail should ever send out, when the cronjob does one change successfully. It should contain the following information (about the order): The start/end date of the rented period, the actual delivery date, name of the customer, rented piece. It should later easily possible to deactivate this function. For the beginning, it will be very nice to control the correct function of the script. These Status-Mail should also send from the cronjobs below.
(Secound Milestone 20 $)
Pre-Requirement: The order status is "Bestellung heute zurücksenden".
a. As soon as the customer ships the package using the attached return label back to us, change the status to "Rücksendung erfolgreich eingeliefert" (return successful send). That should be triggered via the DHL API, when the package is scanned the first time. We already have DHL API-Access. You have to extract the Return Shipment number from the DHL Woocommerce Plugin. These cronjob should check every 5 minutes.
b. If the return package isn't sent out by the customer at the day after the end of the rental period, change the order status to "Rücksendung überfällig" (return overdue). That should also triggered via the DHL API, when the package has no shipment status after the day of return. The algorithm should stop at this point (point a will no be executed anymore).
Please let this job run every 5 minutes.
(Third Milestone 33 $)
1. Check through the actual tracking information (provided by the trackship plugin or via DHL API) if a order is delivered before or after the rental period begins. That algorithm should only work, when the order status is "Bestellung versendet" (order send).
a. If it is delivered before or on the date of the rental period beginning, change the order status to "Ausgeliehen" (lend out). These status should just occur, when the package is successful given to the customer, not when the package is, for example, sent to a post office (check the status via DHL-API).
b. If the package is delivered before or on the date of the rental period beginning and it is deliverd to a DHL post office or packstation machine (check the status via DHL-API), change the status on the first day of the rental period to "Ausgeliehen (Paket in DHL Filiale/Packstation abholen)" (lend out - pick up at store/machine). This status serves, equivalent to the status "Ausgeliehen" (lend out), as the beginning of the rental period.
Just for clarification: If the package arrives before or after the agreed delivery date, the rental time period remains the same.
c. If a rental period has begun and the package isn´t delivered (the package isn´t in the status "shipped/send to store/packstation" at DHL-API):
ii. Change the order status to "Ankunft verzögert sich" (shipment is delayed).
• change the status to back to "Ausgeliehen" (lend out) or "Ausgeliehen (Paket in DHL Filiale/Packstation abholen)" (lend out - pick up at store/machine), depending on the actual shipping information provided by DHL. This should only be the case if the package arrives at the customer within the rental period.
iii. If the rental period is over without delivery, set the status "Fehlgeschlagen" (failed). That should be on the last day of the rental period. That Status "Fehlgeschlagen" should just occur, when the order status was before "Versand verzögert sich" (shipment is delayed).
Please let this job run every hour.
----
There is no specific deadline, but a completion within the next weeks will be very nice. Please send me a time estimation for each milestone.
Please only send an offer, when you have enough knowledge to fulfill all requirements exactly.
Kind regards
(First Milestone 7 $)
For the existing algorithm (mentioned above), please realize a status email to our address. This status mail should ever send out, when the cronjob does one change successfully. It should contain the following information (about the order): The start/end date of the rented period, the actual delivery date, name of the customer, rented piece. It should later easily possible to deactivate this function. For the beginning, it will be very nice to control the correct function of the script. These Status-Mail should also send from the cronjobs below.
(Secound Milestone 20 $)
Pre-Requirement: The order status is "Bestellung heute zurücksenden".
a. As soon as the customer ships the package using the attached return label back to us, change the status to "Rücksendung erfolgreich eingeliefert" (return successful send). That should be triggered via the DHL API, when the package is scanned the first time. We already have DHL API-Access. You have to extract the Return Shipment number from the DHL Woocommerce Plugin. These cronjob should check every 5 minutes.
b. If the return package isn't sent out by the customer at the day after the end of the rental period, change the order status to "Rücksendung überfällig" (return overdue). That should also triggered via the DHL API, when the package has no shipment status after the day of return. The algorithm should stop at this point (point a will no be executed anymore).
Please let this job run every 5 minutes.
(Third Milestone 33 $)
1. Check through the actual tracking information (provided by the trackship plugin or via DHL API) if a order is delivered before or after the rental period begins. That algorithm should only work, when the order status is "Bestellung versendet" (order send).
a. If it is delivered before or on the date of the rental period beginning, change the order status to "Ausgeliehen" (lend out). These status should just occur, when the package is successful given to the customer, not when the package is, for example, sent to a post office (check the status via DHL-API).
b. If the package is delivered before or on the date of the rental period beginning and it is deliverd to a DHL post office or packstation machine (check the status via DHL-API), change the status on the first day of the rental period to "Ausgeliehen (Paket in DHL Filiale/Packstation abholen)" (lend out - pick up at store/machine). This status serves, equivalent to the status "Ausgeliehen" (lend out), as the beginning of the rental period.
Just for clarification: If the package arrives before or after the agreed delivery date, the rental time period remains the same.
c. If a rental period has begun and the package isn´t delivered (the package isn´t in the status "shipped/send to store/packstation" at DHL-API):
ii. Change the order status to "Ankunft verzögert sich" (shipment is delayed).
• change the status to back to "Ausgeliehen" (lend out) or "Ausgeliehen (Paket in DHL Filiale/Packstation abholen)" (lend out - pick up at store/machine), depending on the actual shipping information provided by DHL. This should only be the case if the package arrives at the customer within the rental period.
iii. If the rental period is over without delivery, set the status "Fehlgeschlagen" (failed). That should be on the last day of the rental period. That Status "Fehlgeschlagen" should just occur, when the order status was before "Versand verzögert sich" (shipment is delayed).
Please let this job run every hour.
----
There is no specific deadline, but a completion within the next weeks will be very nice. Please send me a time estimation for each milestone.
Please only send an offer, when you have enough knowledge to fulfill all requirements exactly.
Kind regards
Corvin S.
100% (29)Projects Completed
15
Freelancers worked with
12
Projects awarded
42%
Last project
19 Jul 2022
Germany
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies