In this tutorial, we will cover the simple process of linking the services defined within Easypost to your Infigo storefront. We will also learn how to enable and disable specific services, along with applying additional settings such as a price uplift for a particular service.
Once complete, we will simulate placing an order on our storefront, to see the user experience of this process, along with the resulting information passed to Easypost.
Our Easypost plugin supports the ability for Easypost to control the services and the shipping rates that you display to your customers as part of the checkout flow.
The rates that are returned are calculated based on many factors:
The items being ordered and thus the parcel sizes and number of parcels required to fulfill the shipping requirements (see our configuration article to understand the different options available)
The originating address of where you are producing the parcels and the carrier will be collecting them from
The shipping address of where the parcel is being shipped to. This is taken from the shipping address information entered by the customer during the checkout process.
The negotiated rates that you have configured against your carrier accounts that you have linked to in your Easypost account.
The Carrier Accounts screen allows us to link additional carrier accounts to our Easypost account, which we can then pass to Infigo.
If your carrier is not currently supported, Easypost can be contacted directly to try and address this.
These linked accounts can be further edited, if required.
Next, we will learn how to select which services to offer.
Signature
This is a dropdown that allows you to decide if you want to include services to your customers that require a signature. You have 3 options to choose from:
None - No services requiring a signature will be returned
Required - Only services requiring a signature will be shown
Optional - All services will be shown, both requiring and not requiring a signature
Saturday Delivery
Similar to the Signature setting above, this is a drop down that allows you to decide if you want to include services that will deliver on a Saturday. With the same three options as above.
Within our Easypost plugin we provide you with the option to choose which rates you offer to your end customers. Within the General settings section of the plugin there is a setting called 'Rate Type' and here you can choose between 'Rate', 'Retail Rate' and 'List Rate'.
Rate - This is the actual quote rate for this service on that specific carrier account. Usually includes any discounts or pre-arranged negotiated rates.
Retail Rate - The retail rate is the in-store rate given when no account is used
List Rate - This list rate is the non-negotiated rate given when you have an account with the carrier
This allows you to control which rate you want to offer to your end users and, knowing the rates that you will pay the carrier allows you to determine how much profit you want to make on the service.
By default, all services are available for all of your linked carriers. You will be required to work through the list of carriers and manage the services you wish to offer to your clients.
This method is due to the information we receive via the Easypost API.
Enabled for checkout: allows you to decide if this service should be shown to the end customer during the checkout process with the Easypost live rate. (This is also determined if you have Easypost live rates enabled or not)
Enabled for MIS: this determines whether or not you want to allow mapping of an Infigo shipping method to this service. It will not be shown to the customer in the front end.
Friendly Name: Allows you to customise the name of the service that is shown to the end customer
Additional Classes: If you wish to control the styling of each service you can add a custom CSS class name here and it will appended in the DOM, allowing you to control specific styling to specific services.
Order: This is the display order this service will appear in in the checkout.
Additional Shipping Fee type, Additional Shipping Fee Per Parcel, Additional Shipping Fee Per Order: As per the storefront wide setting, we allow for you to add an uplift to the returned rate from Easypost. These settings allow you to control this on a service by service basis. If the uplift will be a fixed amount increase or percentage, an amount that should be applied at a parcel level and an amount that should be applied at an order level.
Service specific options: This should only really be used with advice and support from our Customer Support team.
In order to successfully submit an order using Easypost for shipping, we are required to complete the Vendoe Info section.
This acts as a source for the outgoing parcel, giving Easypost the information it needs to accurately calculate shipping costs.
Note, there are additional settings for Easypost that we have not yet configured. To test the connection with Easypost at this stage, it is best to have a sample product with the following details defined:
Weight (product variant settings)
Dimensions (product variant settings)
Also ensure that you have Easypost enabled as a delivery method in the Delivery Computation area.
With the order placed, we are ready to see how this information has been passed to Easypost
In our example, we have been using the Test environment
This can be expanded to reveal additional information.