Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
85 stars 9 forks source link

Navigate to order in Shopify POS app goes to non-native order page #168

Open patdx opened 1 year ago

patdx commented 1 year ago

Describe the bug

When using the Shopify App Bridge navigate action to an order, it opens to generic admin version of the order page.

However, as a POS app, it should navigate (or allow the choice of navigation to) the native Shopify POS order page.

To Reproduce

Add a link in your Shopify app that uses a Shopify App Bridge redirect like:

navigate({
  name: "Order",
  resource: {
    id: "{{ORDER_ID_HERE}}",
  },
});

Open the app within Shopify POS app.

Tap on the link.

Observe the order page that is opened.

https://user-images.githubusercontent.com/353863/210043562-e6d95962-f6ef-41d1-acd8-142b284c5156.mov

Expected behaviour

It should open to the actual Shopify POS order page:

Contextual information

Packages and versions

List the relevant packages you’re using, and their versions. For example:

Platform

Additional context

I want to facilitate some order processing like collecting outstanding payment on an order. The Shopify POS order list page is too slow to use in an actual retail situation (according to feedback for this project I am prototyping). So, we would like to instead provide a custom UI showing recent orders that need processing, and open directly to the actual Shopify POS order page, where the staff can process payment by credit card/etc (or process refunds/receipts/etc too).

cupnoodle commented 6 months ago

Hi @patdx , is this issue still occurs? I am interest to implement this navigation on my app as well

patdx commented 6 months ago

Hi @patdx , is this issue still occurs? I am interest to implement this navigation on my app as well

Not sure about the current status, unfortunately we gave up on that feature and I'm not working on that project right now.