You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a mechanism for IProductFeedGeneratrorService implementations to declare the format they generate. Use this format declaration to return the correct output within ProductFeedController.
Copy file name to clipboardExpand all lines: src/Umbraco.Commerce.ProductFeeds.Core/Features/FeedGenerators/Application/IProductFeedGeneratorService.cs
Copy file name to clipboardExpand all lines: src/Umbraco.Commerce.ProductFeeds.Core/Features/FeedGenerators/Implementations/GoogleMerchantCenterFeedService.cs
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ public class GoogleMerchantCenterFeedService : IProductFeedGeneratorService
40
40
41
41
publicstringDisplayName=>"Google Merchant Center Feed";
42
42
43
+
publicFeedFormatFormat=>FeedFormat.Xml;
44
+
43
45
publicGoogleMerchantCenterFeedService(
44
46
ILogger<GoogleMerchantCenterFeedService>logger,
45
47
ICurrencyServicecurrencyService,
@@ -62,7 +64,7 @@ public GoogleMerchantCenterFeedService(
0 commit comments