All Collections
Rates
Integrating Advanced Shipping Rules
Integrating Advanced Shipping Rules
Jelizaveta avatar
Written by Jelizaveta
Updated today

We recommend using apps like Advanced Shipping Rules when you need more complex delivery and shipping rates, like product-based rates, zipcode based rates or any other more advanced scenarios.

If you would like Advanced Shipping Rules rates to show only when your customers select delivery or shipping in our widget, then we would recommend integrating Advanced Shipping Rules within the Rates tab of Zapiet - Pickup + Delivery.

Advanced Shipping Rules can be used for your delivery and/or shipping rates.

Integration steps will be slightly different, depending on the Zapiet - Pickup + Delivery rates version that you're using:


Requirements

  • In order to use third-party app's rates, Shopify requires you to have Carrier service API enabled. Read more in our Carrier service API article.


Enable Advanced Shipping Rules with Zapiet - Pickup + Delivery rates

Ensure that Advanced Shipping Rules is added to your Shopify shipping profile.

Advanced Shipping Rules for shipping rates

If you are only using Advanced Shipping Rules for shipping rates, then you do not need to add any service codes. All rates generated by Advanced Shipping Rules will be considered shipping rates by default.


Advanced Shipping Rules for delivery or pickup rates

Requirements

  • To edit service codes in Advanced Shipping Rules you must be on the Pro plan or higher in the Advanced Shipping Rules app.

If you are using Advanced Shipping Rules to generate delivery or pickup rates, you will need to add service codes to your rates, so Zapiet - Pickup + Delivery can filter the rates correctly. Any rates without a service code will show to your customers who select shipping in the Zapiet widget.

If you would like to use the same rate for both delivery and shipping, you need to duplicate it and add spd-delivery to one rate and spd-shipping to another rate. If you add both delivery codes to one rate, for example spd-delivery,spd-shipping it will not work.

If you offer multiple rates for delivery, you will need to add a numerical value at the end of each delivery code.

Delivery rate

Delivery code

Local Delivery

spd-delivery1

Free Delivery

spd-delivery2

Next-day Delivery

spd-delivery3

  1. In Advanced Shipping Rules, click Settings.

  2. In Custom Service Codes, click Enable Custom Service Codes.

  3. Click Product groups, and next to the group you want to edit, click Edit Rates.

  4. Next to the rate you want to edit, click Edit.

  5. Edit the service code to include spd-delivery if you would like to show this rate for delivery, spd-pickup to show this rate for pickup and spd-shipping to show this rate for shipping. If you're adding multiple delivery, pickup or shipping rates, you will need to number the service codes.

  6. Click Save.

  7. Repeat for all rates and all product groups.

  8. Click Blended rates, and next to the rate you want to edit, click Edit.

  9. Edit the service code to include spd-delivery if you would like to show this rate for delivery, spd-pickup to show this rate for pickup and spd-shipping to show this rate for shipping. If you're adding multiple delivery, pickup or shipping rates, you will need to number the service codes.

  10. Click Save Rate Title.

  11. Repeat for all blended rates.

Your Advanced Shipping Rules rates should now be generating—you can now test them.

  • If the service code includes spd-delivery, these rates will show when your customers select delivery in the widget.

  • If the service code includes spd-shipping, these rates will show when your customers select shipping in the widget.

  • If the service code includes spd-pickup, these rates will show when your customers select pickup in the widget.


Rates with Carrier Service API

In order to integrate Advanced Shipping Rules with Zapiet - Pickup + Delivery, you will need to find your unique API key.

  1. In the Advanced Shipping Rules app, click Settings.

  2. Copy the API key.

  3. In Zapiet - Pickup + Delivery, click Rates.

  4. Depending on whether you'd like Advanced Shipping Rules to provide rates for delivery or shipping, go to the Delivery or Shipping section and click Advanced Options.

  5. Find Advanced Shipping Rules and click Add Carrier.

  6. Paste your Advanced Shipping Rules API key and tick Enable Advanced Shipping Rules rates.

  7. If needed, add handling fees and click Save.

Your Advanced Shipping Rules rates should be generated through Zapiet - Pickup + Delivery now—you can now test them.

  • If you've integrated it in the delivery section, they will show when your customers select delivery in the widget.

  • If you've integrated it in the shipping section, they will show when your customers select shipping in the widget.


Disable Zapiet - Pickup + Delivery rates with Carrier Service API

If you are using Advanced Shipping Rules rates only, we recommend disabling delivery rates by Zapiet - Pickup + Delivery, and/or removing any shipping zones in Zapiet - Pickup + Delivery shipping section.

Only Advanced Shipping Rules should be added as a carrier within Zapiet - Pickup + Delivery.

Disable Delivery rates

  1. In Zapiet - Pickup + Delivery, click Rates.

  2. In the Delivery section, click Disable delivery rates.

  3. Confirm to disable rates.

  4. Click Save.

Your Zapiet - Pickup + Delivery rates are disabled now, and the only rates generated for delivery will be coming from Advanced Shipping Rules.


Disable Shipping rates

  1. In Zapiet - Pickup + Delivery, click Rates.

  2. In the Shipping section, click Edit next to your shipping zone.

  3. Click Delete zone.

  4. Confirm to delete this shipping zone.

Your Zapiet - Pickup + Delivery shipping rates are deleted now, and the only rates generated for shipping will be coming from Advanced Shipping Rules.


Prevent duplicate rates

When your Advanced Shipping Rules rates are generated through Zapiet - Pickup + Delivery, we recommend removing Advanced Shipping Rules as the carrier from Shopify shipping and delivery settings.

  1. In Shopify Settings, click Shipping and Delivery, then click General shipping profile.

    Screenshot+2023-08-19+at+10.20.53+AM.png (2560×1024)

  2. Delete Advanced Shipping Rules as a carrier if it's added to your domestic shipping zone.

  3. Click Save.

    Only Zapiet - Pickup + Delivery should be added as a carrier under your domestic shipping zone. Then, our app can control which rates to show at checkout, depending on the checkout method selected in our widget.


Disable Advanced Shipping Rules

  1. In Zapiet - Pickup + Delivery, click Rates.

  2. Depending on where you've integrated it, find Advanced Shipping Rules under the delivery and/or shipping section, then click Edit.

  3. Untick Enable Advanced Shipping Rules rates, then click Save.

  4. Click Save.

Advanced Shipping Rules rates will no longer appear when selecting delivery or shipping in our app.

Make sure to add your delivery and shipping rates within our app or Shopify, to make sure your customers can check out. You can take a look at our Rates setup guide for more information.


Troubleshooting

If you're not seeing Advanced Shipping Rules rates:

  • Check if the correct API key is added

  • If you're in test mode with Advanced Shipping Rules, make sure you're following their instructions for testing

  • Contact Advanced Shipping Rules support team at [email protected] to make sure the rates are set up correctly in their app. You can also contact them, if you have any questions about the app's functionality.

Did this answer your question?