PrestaShop / hummingbird

77 stars 73 forks source link

Mobile product list changes between one product per "line" and two products per line #564

Closed tswfi closed 9 months ago

tswfi commented 9 months ago

open a category page, defaults to two products side by side

image

use pager to go one page forward and one page back (ajax query replaces content). Now it is one product per page

image

and if you got to page 3 with the paging buttons, you will see one product per line. but if you reload the page completely it will again be two products side by side.

tswfi commented 9 months ago

https://github.com/PrestaShop/hummingbird/blob/986d1a2f7f67bc865774b9500b18051160932ffe/templates/catalog/_partials/productlist.tpl#L5

productClasses are defined differently on full page load and ajax content

tswfi commented 9 months ago

Now which one is "correct" is a great question :D

Hlavtox commented 9 months ago

Correct is two columns ;-)