-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Hi!
We are using your plugin at my company. Thank you for this plugin; it works like a charm 🌟!
Currently, we are using this plugin to generate our sitemap, and then write it to a bucket via Flysystem. However, the generated path includes the channel name, which is not relevant to us since we only have one channel on our Sylius setup, and this is unlikely to change in the future.
The following line in the GenerateSitemapCommand class is causing an issue:
$path = $this->path($channel, \sprintf('%s.xml', $provider->getName()));This isn't a major problem, just a matter of perfectionism. On our bucket, we now have a directory with the channel name, which isn't optimal and can even be quite misleading.
At the moment, we don't see any easy fixes, aside from overriding the entire GenerateSitemapCommand class. Since the executeChannel function is private, we can't easily override it.
I'm not sure what the best solution for this problem is. Do you have any suggestions?
Thank you in advance for your response, and once again, thank you for this great plugin!