-
Notifications
You must be signed in to change notification settings - Fork 9.4k
REST Api product Catalog Not Responding to Changes In Store View #4806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Mark--can you check for expected behavior and file an issue if needed? |
Seems like all prodcuts in the "Root Category" of the store are returned in the rest api. No filtering is done based on the product configuration. I don't know what the expected behavior would be for this. But it might be logical if the same products are shown on the front-end as in the REST api. |
Internal issue is MAGETWO-63667. Also, related GH ticket: #8121 |
any update on this bug? |
there is patch available for this ? |
This has been fixed in the develop branch |
Where can i see patch or commit. |
Hi @misha-kotov, I hate to underline the obvious, but if the bug was discovered on 2.1.x and then reportedly "fixed", it is commonly expected to see that fix in the closest patch (2.1.x) release. To be honest, I don't see how is "fixed in the develop branch" an acceptable resolution to an acknowledged bug. Until the fix is officially released, a lot of the users are still struggling with it. Could you please at least include a short piece of information that will explain to an ordinary merchant, how he\she can benefit from such s fix?
Keeping the issue open until the fix appears in a 2.1.x release is also a feasible option. |
Hi @korostii , @pareshe Alternatively, you can ask the person closing the ticket to provide you the commits (arguably easier, but you'll need to wait for them to get back to you). In this case they are the following: Note: adding Hope this helps. |
@magento-engcom-team I don't see these fixes in 2.2. Is a backport necessary? |
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @Ctucker9233 this issue not reproducible on 2.2-develop branch. |
Hello,
Me and my company are developing an Angular site for a client that communicates with Magento2 over Magento's build in REST api.
One of the requirements of the site is that there are multiple locals, that have slightly different catalogs of products. In this case we have a US store and EU store that have very similar but different products.
I'm using the API endpoint
{{API_URL}}/rest/{{STORE_VIEW_CODE}}/V1/products
With some extra searchCriteria
The problem is when I change the "{{STORE_VIEW_CODE}}" from one store view code to another, I see absolutely no difference in the payloads even though based on my configuration I should see different results. I've even confirmed that my store view changes are indeed applying by using the Luma front-end on my Magento2 install.
This is slightly hard to explain so here's a a gif of the behaviour.
http://i.imgur.com/gBUObKX.gifv
As you can see from the GIF the "Websites" configuration of the product seems to have NO effect on the returning catalog call.
I would expect to see that turning off the product in specific store views would remove the product from the REST api call.
The text was updated successfully, but these errors were encountered: