opencart pagination displaying 20 instead of 15 -


I wrote a code to mark the page in the model, the query is correct, which is returning 15 lines but when we If you come to see it, then it is displaying 20 records and showing it on the page "1 to 15 (1 page)"

Please help me where I made a mistake was.

Why are you adding your code but there is an option available in admin

System -> Settings -> Options -> Default Items per Page (Catalog)

The options you want.

Thanks


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -