Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello, i have a question about the sku map in redis. Why is this subscriber \Spryker\Zed\ProductReso

Options
UPAKFGUH5
UPAKFGUH5 Posts: 20 🧑🏻‍🚀 - Cadet

Hello, i have a question about the sku map in redis. Why is this subscriber
\Spryker\Zed\ProductResourceAliasStorage\Communication\Plugin\Event\Subscriber\ProductResourceAliasStorageEventSubscriber
not added to the collection in the event dependency provider in the demo shop? The map is still in redis. Thanks for help

Comments

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 🧑🏻‍🚀 - Cadet
    Options

    Hello Christoph!

    ProductResourceAliasStorage package is not the only place the sku map is coming from. It uses the old way of creating mapping redis records. In fact the demoshops will for sure not use it anymore.

    There is an alternative way that newer modules are using that does not require a separate subscriber, the mapping entries will get synced when the redis entry that it points to is synced.

    My best guess would be - a module that adds <parameter name="mappings" value="sku:id_product_abstract"/> does that for you.