EmicoEcommerce / Magento2TweakwiseExport

Magento 2 module for Tweakwise export
Other
1 stars 10 forks source link

Return exit instead of response #22

Closed ah-net closed 5 months ago

ah-net commented 6 months ago

This is an fix for an headers already send error when reading the feed. Some external modules (weltpixel) set cookies to soon/late on tweakwise pages which results in an headers already send error. To prevent this, instead of an response we return an exit after returning the content.

This isn't an good solution for this, but the only one that works in every occasion and doesn't change the streaming of the feed content to the browser.