When defining category the user can display static block, product only or both. I am using a particular template to display the products, I am directing it by using a static block with the following content.

{{block class="vendor\Catalog\Block\Product\ListProduct" name="landingpage" template ="/catalog/category/landing.phtml" }}

The issue is the static block seems to break the sorting of the product. I would like the sort to be by price, when I use product only it works fine. If I use static block or a combination of static bloc and product only the sort does not work in either template, the one produced by static block and the one produced by product only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.