Hi,
How do you "remove any sku relation from the catalog" - if I understand correctly so you mean if you "remove/detach" a sku from a category? Do you do it in Catalog UI or Commerce Manager?
The issue sounds like a caching problem to me - so if you remove the relation in one site and the code runs in another site - check if the configuration for events broadcasting is correct.
Regards,
/Q
Hi Quan,
If I am trying to remove the relation in commerce manager and try to verify in my application(different app where sku’s will be shown in dropdown), it is not reflecting. Still I am able to see the sku.
Thanks,
Manjeera T
As I said, your application should have correct configuration for events broadcasting, so the event listeners in Commerce can listen to the events and react (clear the cached data).
As you mentioned "apppool" so I suppose it's a web application. Make sure to enable this in web.config/system.serviceModel
<services> <service name="EPiServer.Events.Remote.EventReplication" behaviorConfiguration="DebugServiceBehaviour"> <endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="customBinding" bindingConfiguration="RemoteEventsBinding" address="soap.udp://239.255.255.19:5000/RemoteEventService" /> </service> </services> <client> <endpoint name="RemoteEventServiceClientEndPoint" address="soap.udp://239.255.255.19:5000/RemoteEventService" binding="customBinding" bindingConfiguration="RemoteEventsBinding" contract="EPiServer.Events.ServiceModel.IEventReplication" /> </client>
Hi Quan,
Iam receiving error after placing this.
Please check the configuration below
<system.serviceModel>
<services>
<service name="EPiServer.Events.Remote.EventReplication" behaviorConfiguration="DebugServiceBehaviour">
<endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="customBinding" bindingConfiguration="RemoteEventsBinding" address="soap.udp://239.255.255.19:5000/RemoteEventService" />
</service>
</services>
<client>
<endpoint name="RemoteEventServiceClientEndPoint" address="soap.udp://239.255.255.19:5000/RemoteEventService" binding="customBinding" bindingConfiguration="RemoteEventsBinding" contract="EPiServer.Events.ServiceModel.IEventReplication" />
</client>
<behaviors>
<serviceBehaviors>
<behavior name="DebugServiceBehaviour">
<serviceDebug includeExceptionDetailInFaults="true" />
<!--TODO: the option should be only in test environment true in the production should be false-->
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="RemoteEventsBinding">
<binaryMessageEncoding />
<udpTransportCustom multicast="True" />
</binding>
</customBinding>
</bindings>
</system.serviceModel>
Thanks,
Manjeera T
I am thinking error might be because of "customBinding".
Please check the configurtaion.
Thanks,
Manjeera T
Hi Team,
I am facing issues in fetching the catalog sku's.
Please find the code below
private static IContentLoader contentLoader = ServiceLocator.Current.GetInstance(); (Guid.Parse(catalogReference.CatalogContentReferenceId)); (catalogRoot );
var catalogRoot = contentLoader.Get
var currencySKUs = contentLoader.GetChildren
The above code is returning the sku's.
But if I remove any sku relation from the catalog, then its is not reflected in the results until I recycle my apppool.
Can you let me if I need to do any configurtaion for this.
CMS version - 7.11
Commerce 7.5
Thanks in advance.
Thanks & Regards,
Manjeera T