this should be really simple but I can just not figure it out at the moment – I have searched and can’t find the right helping – maybe it’s my wording of my problem which is the issue – I know this is simple but as I have said I am brain dead at the moment!
this is what I want
Displaying 1 - 7 of 21 items
if there are 21 products in total with 7 per page it needs to say
1 – 7 of 21 on page one
8 – 14 of 21 on page two
15 – 21 of 21 on page three
pretty sure that is the right way to step up? anyway any help would be appreciated! and I can put a bounty on this – although small at least it’s something! thanks
If you know what page you’re on, and the number of entries per page, you can calculate it:
Now, just loop over pages 1 – 3 to see the outputCodepad:
Edit: Using the OP’s variables: