Skip to Content
0
Jun 16 at 03:22 PM

SmartEdit for 1 shop with multiple base stores each with difference product catalog

134 Views Last edit Jun 16 at 04:20 PM 2 rev

Hello,

I have a WCMS site with 4 base stores, each having a different product catalog. I have also logic that lets the user select which base store he wants to see. Selecting a base store sets the related catalog version in session, using

DefaultCMSSiteService.setCurrentCatalogVersion.

This works well, but not in SmartEdit. The CMSSiteFilter calls the method getContextInformationLoader().initializePreviewRequest with every request. This gets the default product catalog of the WCMS site and set its active version in session, overriding my logic above. Therefore, I can not open the PDP in smartedit as a wrong catalog version is referenced.

I wonder why smartedit does not support such a standard scenario of having multiple base stores, eahc with different product catalog!

Any idea how to solve this? BTW, I am on SAP Commerce 2011

Best regards

Rasha