How to get parameters of page in view

Surely a product's serial number should be an attribute of product and not something you've conjured up in the view? That said if pages is your paginator, something like pages.current_page.offset tells you how many have been skipped.

Fred

One option you might consider is to provide some context. Not everyone here reads the web forum, so we have no clue what exactly is not working for you.