EmicoEcommerce / Magento2Tweakwise-archived

Magento 2 module for Tweakwise integration
Other
9 stars 25 forks source link

Product Empty When Page Exceed #8

Closed binohartoko closed 7 years ago

binohartoko commented 7 years ago

In the category page, product list is empty when a page is exceed the total page. Even this is logically correct but this can be confusing for customer. And also this behavior is different from default Magento.

When page is exceed the total page, it should be corrected by go to the last page

Environment

Steps to reproduce

  1. Go to a category page with pagination in it (has multiple pages)
  2. Make sure the page size option is not the biggest
  3. Go to the last page
  4. Set the page size option bigger

Actual result

Expected result

List the expected results as a bullet list of expectations

Fgruntjes commented 7 years ago

We solved this with triggering a 302 redirect, this is a bit cleaner then original magento where you would theoretically create duplicated content.