PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, June 30, 2022

[FIXED] How do I make my shopify app a rates provider?

 June 30, 2022     shopify, shopify-app     No comments   

Issue

I'm making an app for my shopify store, and I'm searching how to make my app display on the store settings as a rate provider but can't find any information regarding this.

Here is a picture of where I'd like my app to show

To clarify a bit on how to get to the above and what I'm talking about.

  • Head over to Shopify Settings > Shipping & Delivery
  • Click on Manage Rates
  • Select the appropriate Shipping Zone, click on Add Rates

Thanks in advance


Solution

The easiest way to be a carrier in a store is to be an App that installs itself as a custom carrier service. When you do that, the store (Shopify) will send every checkout payload (origin, destination, items) to your App, where you can figure out an appropriate rate and return that to the customer.

So your App means any customer will see your carrier and rates for their checkout. The merchant will see your carrier service in the admin, and they can turn it on/off from their desire as they please.

This is primitive, but it works.



Answered By - David Lazar
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing