Closed tdeuling closed 1 month ago
I can recreate the problem but the solution does not work. The problem is that a translated product uses a overlay. This means that the uid
is still is the one of the original product. As a result the orderByField
method of the ProductRepository
will never return anything as it has products with the original UIDs but as other parameter gets the UIDs of the translated products:
https://github.com/extcode/cart_products/blob/b69441b57c4f981cd1e59d6d70e61beaff55c7bd/Classes/Domain/Repository/Product/ProductRepository.php#L92-L110
I will make a PR.
Closing this in favour of #206
Change repository method in order to get a result for translated products in teaser plugin.