Open iMiMWeis opened 2 years ago
I am a colleague of @iMiMWeis
This happens for our shop also prior the update to the 6.4.10.0 which is not yet officially supported by Manu Theme.
It happens in Shopware 6.4.6.1, Manu Theme 2.0.3
We assume this is due to customzation to the theme.
It is happing on the main shop page where is no such .sorting
input
Adding
if (this._sortBtn) {
return;
}
after
Would probably help, but I am not sure if this breaks something else? Shall we make a pull request?
Hello all, we will take care about this bug very soon and release a new fixed version. Thanks for the patience.
@Niklasliedtke great, thanks :-)
I had mentioned this sometime already before in issue #5 and it was closed by @Niklasliedtke Thanks @amenk for bringing this issue back up and for the quick fix - will give it a try.
Edit: in my case, this issue referres to the file \shopware6-manu-theme\src\Resources\app\storefront\dist\storefront\js\dmf-manu-theme.js and (this._sortBtn = document.querySelector(".sorting"))
I make a pull requests @Niklasliedtke or is there another / better fix?
We are getting the following JS error: