Advanced users can set the delivery times for objects at the product and variant level using metafields and metaobjects.
Arrival times are described using the Delivery Profile metaobject, created when you first install the app. A delivery profile allows you to specify options such as the transit time, processing time, shipping days, etc.
Arrives By manages different delivery profiles for you automatically using custom rules, but if you need more fine-grained control (down to the variant) or have many products to manage you can use metafields as well.
We recommend this for advanced users only because it requires creating a new metafield definitions and you need to get the naming for everything just right in order for it to work properly.
Create new metafield definitions
From your store admin, navigate to Settings > Custom data. Select either products or variants depending on your use case.
Press "Add definition"
Fill in the definition as such
Field | Value |
Name | Your choice but we recommend "Delivery Profile" |
*Very important* Namespace and key | *Must be exactly this* arrivesby.delivery_profile |
Description | Optional |
Select type | Metaobject Reference: Delivery profile One entry |
When you're finished it should look like this:
Save the definition and you're done with part 1.
Attach delivery profiles
Navigate to a product or variant depending on which you added the definition to. You should see a metafields object with a name corresponding to the name field in the definition you just created.
Select that and then select "Add a new entry". You will see a list of existing delivery profiles available to select. If you've already created a delivery profile with the properties you want then you can select it here instead creating a new entry every time.
Create a delivery profile. Make sure that you include all business days.
Here's an example of a delivery profile for a 3 week processing time plus an additional 4-5 days of shipping.
โ
After saving the delivery profile you're done. You can add the same delivery profile to multiple products/variants or create new ones as needed.