Skip to content
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

Call of Product and CMS Channel in parallel not possible #328

Open
DKO-dS opened this issue Jun 28, 2021 · 1 comment
Open

Call of Product and CMS Channel in parallel not possible #328

DKO-dS opened this issue Jun 28, 2021 · 1 comment

Comments

@DKO-dS
Copy link

DKO-dS commented Jun 28, 2021

  • FACT-Finder-Web-Components Magento2-Module version (see composer.json):
    ->omikron/magento2-factfinder
    "version 1.6.5
    -> omikron/magento2-factfinder-ng"
    "version": "1.1.3
    -> Update of both modules planned when both are compatible to new web components version

  • Magento edition and version: 2.4.0 Commerce

  • PHP version: 7.4

  • Expected behavior:
    After configuring the separate CMS channel and importing the cms data feed into Factfinder backoffice the module send requests for the product and cms channel and the shop receives for both channel a respond.
    The respond is expected for search suggest box and search result page.

  • Actual behavior:
    After configuring the separate CMS channel and importing the cms data feed into Factfinder backoffice the module sends only one request for the product feed. The cms channel configuration is ignored in search suggest box and search result page.
    The hint of the documentation does not work. (https://github.com/FACT-Finder-Web-Components/demos/blob/release/4.x/parallel-channel/index.html)

  • Steps to reproduce:
    -- configure the channel
    -- image
    -- import the cms data feed
    -- open the shop frontend with browser console active to check the network responds
    -- enter search value of the cms data feed
    -> no result of cms channel

@a-laurowski
Copy link
Contributor

Hi @DKO-dS
Did you enable the Proxy in order to merge response from both channels?
Web Components will always send requests only to product channel. If you have chosen separate channel for the CMS, then you need to enable proxy, because the second request to the CMS channel is send on server side and response is merged.
https://github.com/FACT-Finder-Web-Components/magento2-module/tree/master#using-separate-channel

In fact this solution is deprecated and we recommend using single channel and in version 2 of the module we removed it entirely. The PD department is able to add supplementary feeds to the one channel. This approach is more efficient and it does not require to maintain another channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants