Shopify

  1. Login to your Shopify Account.

  2. Create your Shopify store.

  3. On your Shopify store, go to “Settings” menu which can be seen at the lower left side bar. Then click on the “Shipping” settings.

     

  4. Once in the “Shipping Settings” page, click “Manage rates” in the Shipping profiles.

     

  5. On the “Shipping to” section, click the “Add rate” button to setup a shipping method. Once clicked it, a modal will appear.

     

  6. On the “Add Rate” Modal, make sure that “Set up your own rates” is selected. Input the “Rate name” and “Cost” of shipping (e.g. ‘Standard Shipping’  &  ‘₱100.00’) . Click on “Done” and “Save”.

     

  7. On the left side menu, go to “Products” to setup your store products.

     

  8. Click on the “Add product”.

     

  9. Set up your Product title and description.

     

  10. On the “Pricing” section, input the “Price” and “Quantity” for the product and then click on “Save”.

     

  11. On store settings, choose for Checkout.

     

  12. On Form options of Checkout, select “Required” on Shipping address phone number then hit Save.

     

  13. Open a new tab and in the address bar, enter the following:

https://solutions.fleet.ph:5002/shopify?shop={shop}

{shop} = name of your shop for e.g (sample-store.myshopify.com)

12. You will be redirected to this installation prompt.

13. Click on the “Install unlisted app”.

14. You will be redirected to another page which will require you to input the following:

  • {email}* - user email login on the Deliveries PH

  • {password}* - matched password to login on the Deliveries PH

Note: Password should use in login is API credentials.

Note: Session will expire once you did not login for 10 mins.

15. After logging in, you will be directed to the “Pickup Details” page where you have to fill up all the required fields (fields marked with asterisk).

16. Click on the “Next” button and you will be redirected to the “Shipping Method and Preferred Partner” page. 

17. In the “Shipping Method” field, paste the shipping name you’ve entered on step #6. For additional row, you may click on the “+” icon.

Note: “Shipping name” should be exactly the same as the shipping name in your Shopify account. 

18. In the “Service Type” column, two options are available: On-Demand and Scheduled.

  • On-Demand - this option will auto-populate pickup and delivery time columns for “Requested Pickup/Delivery date and time”.

    • Requested Pickup Date/Time - Within 30 mins of order creation

    • Requested Delivery Date/Time - Delivery today after the order creation

       

  • Scheduled - a modal will be displayed once you clicked the text field for “Requested Pickup / Delivery date and time”.

    • Options for the “Requested Pickup Date/Time” for “Scheduled”:

      • Complete within – you can adjust the minutes of the expected pickup time that you for the item/s to be picked up within the minutes entered. 

      • Complete today before – you can adjust the time and expect the items to be picked up on or before the time entered in the expected delivery time. 

      • Complete today anytime – expected pickup time will automatically be at 11:59 PM. Item/s will be picked up within the day.  

      • Complete tomorrow before – item/s will be picked up the next day. Expect item/s to arrive on or before the time entered in the expected pickup time.

      • Complete tomorrow anytime – expected pickup time will automatically be 11:59 PM. Item/s will be picked up anytime the next day. 

      • Complete within the next – this option requires you to input number of day/s and time for the items to be picked up.  

    • Options for the “Requested Delivery Date/Time (after pickup)”:

      • Complete within – you can adjust the minutes of the expected delivery time that you prefer for the item/s to be delivered within the minutes entered. 

      • Complete today before – you can adjust the time and expect the items to be delivered on or before the time entered in the expected delivery time. 

      • Complete today anytime – expected delivery time will automatically be 11:59pm. Item/s will be delivered within the day.  

      • Complete tomorrow before – item/s will be delivered the next day. Expect item/s to arrive on or before the time entered in the expected delivery time.

      • Complete tomorrow anytime – expected delivery time will automatically be 11:59pm. Item/s will be delivered anytime the next day. 

      • Complete within the next – this option requires you to input number of day/s and the time for the items to be delivered.

19. Setup the “Preferred Partner” per Shipping Method.

  • For On-Demand service type - “Post as Draft” will only be available for preferred partner.

     

  • For Scheduled service type - will display both “Post as Draft” and list of partners with no required metafields on your DPH account.

20. Setup Create Upon per Shipping Method. This column will be your option when a post will be created on Deliveries PH app. You have two options: Checkout and Fulfilled.

  • Checkout - When option is selected, it will create a post on DPH upon checkout on the shop/store.

  • Fulfilled - When option is selected, it will create a post on DPH upon fulfillment of the order on the shop/store.

21. Setup Hub per Shipping Method. This will display all hubs that you have in your DPH web app.

22. Setup Product Size per Shipping Method. This will display all product sizes based on your preferred partner.

23. Click “Save & Exit” button.

24. After saving, you will now see that the Deliveries PH App is listed as one of your installed apps

 

  1. Once the app is installed, go back to the “Products”, and select for item/s that you want to use the “Deliveries - Fulfillment Service” with.

     

  2. On product/s' “Inventory” section, select the “Deliveries - Fulfillment Service” for the ‘Inventory managed by and input value for the “SKU (Stock Keeping Unit)”. Then click “Save” to apply the changes.

      

  3. Next, go to https://staging.deliveries.ph

  4. Login to your “Deliveries PH” account. On your Deliveries PH account, click on the "Settings" menu which is located in the lower left sidebar.

7. On the “Settings”, click the “Triggers” option.

8. On the ‘Triggers’ page, click on the “My Post” tab and click on the “Add New Trigger” button.

9. A modal will appear. In the ‘Trigger Type’, select the “HTTP POST”.

10. A section for “Trigger Upon” will be displayed. Select “Done” on the drop down list.

11. Add your prefer “Title” for this trigger (e.g. Shopify)

12. On Headers, input “Content-type” as Key and “application/json” as Value.

13. On POST, enter: https://solutions.fleet.ph:5002/update/fulfillment

14.  Then select Body and enter these details:

{ "orderId": "{metaFields.orderId}", "refNo": "{refNo}.parseInt", "store": "sample-store.myshopify.com" }

15.  Once done, hit “Save”.

16. You will see on “Done Tab” the trigger you created.

 

 

  1. If you wish to edit/update your pickup details and shipping method, copy the link below and paste it to your address bar. It will redirect you to the Deliveries PH Shopify Application login page.

2. Make sure that the Deliveries PH Application is already installed before accessing the link provided in #1. If the application is not yet installed, this page will be prompted:

3. Please input your Deliveries PH login credentials.

4. Once logged in, you will be redirected to Step 1. This page is for you to edit/update you Pickup details. Details are populated based from your last info saved. Once you’re done finalizing all your details, click “Next”.

5. Step 2 is for you to edit your Shipping Method and Preferred Partner. All details are populated based from your last saved.

6. Once you click Save & Exit, you will be redirected to your store Apps.