apps icon indicating copy to clipboard operation
apps copied to clipboard

Saleor App: Cannot select product when store uses multi-channel

Open SudoCat opened this issue 2 years ago • 2 comments

Describe the bug When installing the Saleor app, and connecting it to a store with more than one channel, product lookups fail. The request returns the error: "More than one channel exists. Specify which channel to use."

To Reproduce Steps to reproduce the behavior:

  1. Create a content type named "product"
  2. Add a short text field named "saleor product" to content type "product"
  3. Install Saleor app from marketplace
  4. Set the store API URL field to https://demo.saleor.io/graphql/
  5. In the section labelled Assign to fields, tick the checkbox for the short text field "saleor product" on content type "product"
  6. Navigate to the Content section, and create a new "product"
  7. Click the button labelled "select a product" next to the "saleor product" field
  8. See the error message "There was an error fetching the product list."

Expected behavior At a bare minimum, a default channel should be used. This could be specified via the Configuration page. Preferably, you should be able to either:

  • assign a channel to a locale for multi-channel multi-lingual sites
  • select a channel when searching for products

Screenshots image image

Desktop:

  • OS: OSX
  • Browser: Firefox
  • Version: Latest

SudoCat avatar Mar 15 '23 10:03 SudoCat

Hey @SudoCat

we are working at Saleor on new Contentful integration. Its simply called "CMS App" and it will connect a few platforms, including CMS.

The app will be a part of Saleor Cloud App Store soon, but every our app is open source. You can find apps here

The Contentful/CMS app source is here

lkostrowski avatar Mar 20 '23 13:03 lkostrowski

Hello @SudoCat, thanks for the detailed ticket information. I've logged a ticket referencing this GH issue to investigate the issue from our end. We'll update back here regardless of what action we end up taking.

mgoudy91 avatar Mar 21 '23 20:03 mgoudy91