Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tswfi opened this issue Nov 28, 2023 · 3 comments · Fixed by #566
Closed

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

tswfi opened this issue Nov 28, 2023 · 3 comments · Fixed by #566

Comments

@tswfi
Copy link
Contributor

tswfi commented Nov 28, 2023

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
Copy link
Contributor Author

tswfi commented Nov 28, 2023

{capture assign="productClasses"}{if !empty($productClass)}{$productClass}{else}col-xs-6 col-xl-4{/if}{/capture}

productClasses are defined differently on full page load and ajax content

@tswfi
Copy link
Contributor Author

tswfi commented Nov 28, 2023

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

@Hlavtox
Copy link
Contributor

Hlavtox commented Nov 28, 2023

Correct is two columns ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants