Hi, Every body
long time no post 🙂
I am recently working on a $this->getLastPageNum()project and I was changing the pagination in order to indicate the total pages by the current collection size
as I knew the functions from product catalogs I wanted to count it myself to use

getLoadedProductCollection()>count

to get the current limit for each products per page and also use the total number of all products

$this->getTotalNum()

and then do the dividing crazy things but there a short easier way that Magneto has to offer and it is only requres one function that do all the stuffs 🙂
this great tool that works in

default/template/page/html/pager.phtml

is

$this->getLastPageNum()

you just need to echo it to make it print on the website

Thanks

359 COMMENTS

  1. I am just writing to make you understand of the cool experience our child went through visiting yuor web blog. She came to find such a lot of pieces, most notably how it is like to have an incredible helping spirit to let many others without problems gain knowledge of a variety of very confusing subject areas. You undoubtedly did more than our own desires. Many thanks for showing those invaluable, dependable, informative as well as cool tips about this topic to Janet.

  2. I enjoy you because of all of your effort on this web site. Betty takes pleasure in getting into internet research and it is easy to understand why. Many of us learn all relating to the powerful ways you deliver practical techniques through the web site and as well strongly encourage response from some other people about this idea then our favorite girl is in fact learning so much. Enjoy the remaining portion of the year. Your carrying out a fabulous job.

  3. I intended to create you that very little observation to say thank you once again for those remarkable tricks you have shown on this page. This is so surprisingly generous of you to convey freely what exactly a lot of folks would’ve made available as an electronic book in making some cash for themselves, even more so considering that you could possibly have tried it in the event you considered necessary. The tips in addition worked like a great way to realize that other people online have a similar dream just as my own to see much more pertaining to this matter. I am certain there are lots of more fun opportunities in the future for individuals who go through your website.

  4. I not to mention my friends were actually digesting the great key points located on your web page while all of a sudden came up with a horrible suspicion I never thanked the web blog owner for them. All of the young men became as a result stimulated to learn them and already have in truth been making the most of these things. Appreciate your being well accommodating and then for finding this kind of cool information most people are really needing to understand about. My very own sincere apologies for not saying thanks to you earlier.

  5. I as well as my buddies happened to be taking note of the excellent guidelines from the website while instantly got an awful suspicion I had not thanked the blog owner for those strategies. My guys were as a consequence very interested to read through them and now have undoubtedly been enjoying these things. Thank you for indeed being indeed thoughtful as well as for making a decision on this form of nice topics most people are really wanting to know about. My sincere regret for not expressing appreciation to you earlier.

  6. I enjoy you because of all your valuable labor on this site. Kim delights in participating in investigation and it is easy to see why. My partner and i know all concerning the lively method you present priceless secrets through the blog and in addition inspire response from others about this area of interest and our own girl is really becoming educated a great deal. Enjoy the remaining portion of the year. Your conducting a very good job.

  7. Needed to write you one very little remark so as to give many thanks over again just for the precious advice you’ve shared here. This has been quite unbelievably generous with you giving unhampered precisely what some people would’ve sold as an ebook to end up making some money for themselves, specifically considering the fact that you could possibly have done it in case you decided. These tactics also worked to become great way to comprehend other people online have a similar zeal really like my personal own to understand way more with reference to this issue. I know there are some more fun situations in the future for many who go through your blog post.

  8. I have to express my thanks to the writer for bailing me out of such a problem. Just after surfing around throughout the the web and getting advice that were not powerful, I was thinking my entire life was over. Being alive minus the approaches to the problems you’ve solved by way of your good short post is a crucial case, as well as the ones that could have negatively affected my career if I had not noticed your blog post. The training and kindness in controlling every aspect was very helpful. I don’t know what I would’ve done if I hadn’t discovered such a solution like this. I am able to at this moment relish my future. Thanks a lot very much for the professional and effective guide. I will not hesitate to suggest your web page to anybody who needs to have tips about this subject matter.

  9. Which of the following amino acids is most likely essential in this patient buy cialis online in usa The findings for the drug, letrozole manufactured by Novartis and sold under the brand name Femara electrified researchers and prompted them to abort the double blind study of 5, 187 women with early stage disease and offer the treatment to the 2, 594 patients who had been receiving a placebo

  10. I actually wanted to jot down a brief comment to be able to thank you for those precious facts you are sharing at this site. My time-consuming internet investigation has at the end been paid with awesome know-how to write about with my friends. I would express that many of us readers are rather blessed to be in a notable site with many special people with very beneficial points. I feel really fortunate to have come across the web site and look forward to really more exciting times reading here. Thank you once more for all the details.

  11. I am only commenting to make you know of the fantastic discovery my wife’s princess had studying your web site. She learned many pieces, which include how it is like to possess an amazing helping style to get certain people effortlessly grasp some multifaceted things. You actually exceeded readers’ expected results. I appreciate you for showing the warm and friendly, trusted, edifying and also cool tips about this topic to Emily.

  12. I wanted to compose a quick note in order to appreciate you for all of the superb advice you are placing on this site. My incredibly long internet search has finally been compensated with reputable facts and techniques to write about with my pals. I ‘d tell you that we readers are very endowed to be in a decent site with very many outstanding people with very beneficial basics. I feel very much grateful to have seen your entire site and look forward to some more fun minutes reading here. Thanks once again for all the details.

  13. I must voice my affection for your generosity supporting those people who should have help on this important area. Your personal commitment to getting the solution across appeared to be extraordinarily useful and have regularly allowed girls just like me to attain their endeavors. Your personal helpful guide signifies this much to me and extremely more to my office colleagues. Best wishes; from all of us.

  14. Thanks for every one of your labor on this blog. My mom enjoys participating in investigations and it’s really simple to grasp why. Many of us know all of the compelling means you provide effective steps through this website and foster response from the others on that theme plus our favorite simple princess is really starting to learn so much. Take advantage of the remaining portion of the year. Your performing a tremendous job.

  15. I simply wanted to write down a quick message so as to express gratitude to you for the unique information you are giving here. My particularly long internet search has at the end been compensated with pleasant know-how to go over with my relatives. I would tell you that we website visitors are quite endowed to be in a fabulous community with many brilliant people with good basics. I feel extremely privileged to have come across the web page and look forward to many more cool minutes reading here. Thanks once again for all the details.

  16. I actually wanted to make a small comment in order to thank you for the awesome techniques you are posting on this website. My extended internet investigation has finally been honored with excellent ideas to share with my classmates and friends. I ‘d point out that many of us website visitors are rather blessed to exist in a good network with many brilliant professionals with interesting hints. I feel extremely privileged to have seen the web pages and look forward to really more pleasurable moments reading here. Thanks a lot again for a lot of things.

  17. I definitely wanted to type a quick message to be able to say thanks to you for all of the lovely tactics you are giving out on this website. My extended internet lookup has at the end of the day been honored with beneficial concept to write about with my relatives. I would claim that most of us website visitors are really fortunate to be in a fine network with very many lovely people with great plans. I feel extremely privileged to have encountered your website and look forward to many more awesome moments reading here. Thank you again for all the details.

  18. Thank you a lot for giving everyone such a terrific chance to read from this site. It can be so superb and also jam-packed with fun for me and my office colleagues to search the blog particularly thrice in one week to read through the newest tips you have. Not to mention, I’m actually pleased concerning the striking suggestions served by you. Certain 2 ideas in this posting are honestly the most suitable we have ever had.

  19. I simply needed to thank you so much all over again. I do not know the things I could possibly have undertaken without the actual solutions documented by you over that topic. Entirely was a alarming matter in my view, nevertheless being able to view a professional tactic you dealt with it made me to leap over delight. I am just happy for this assistance and even have high hopes you realize what an amazing job you are always getting into training the others using your websites. I am certain you have never come across any of us.

  20. My husband and i felt quite lucky that Louis could complete his reports while using the ideas he got through your web site. It is now and again perplexing to just find yourself giving freely secrets which often men and women might have been making money from. Therefore we do know we have got the website owner to be grateful to for this. The entire explanations you have made, the straightforward blog menu, the friendships your site make it easier to engender – it’s all fantastic, and it’s really helping our son in addition to us recognize that the content is amusing, which is exceptionally mandatory. Thanks for all the pieces!

  21. I truly wanted to jot down a word so as to appreciate you for all the marvelous advice you are placing here. My time-consuming internet lookup has finally been paid with beneficial ideas to talk about with my friends and family. I would state that that many of us website visitors actually are undeniably endowed to exist in a very good community with many special individuals with useful strategies. I feel very much fortunate to have come across your entire web site and look forward to many more fun minutes reading here. Thank you again for a lot of things.

  22. I and my friends were actually examining the good ideas from your web site and then developed a terrible suspicion I never expressed respect to the web site owner for them. All of the ladies had been absolutely happy to read them and have now clearly been taking advantage of them. Appreciation for getting so kind and for selecting this sort of notable subject matter millions of individuals are really eager to be informed on. My honest regret for not saying thanks to sooner.

  23. I precisely needed to appreciate you all over again. I am not sure the things I would have achieved in the absence of the entire recommendations revealed by you relating to my industry. It truly was the challenging situation in my circumstances, nevertheless encountering a new skilled way you handled the issue made me to cry over fulfillment. I’m just happier for this work as well as hope you really know what an amazing job you happen to be doing teaching the rest through your webpage. More than likely you’ve never got to know all of us.

  24. I wish to convey my respect for your kindness giving support to folks that have the need for help on that study. Your personal dedication to passing the solution all around had become particularly informative and have without exception helped individuals much like me to attain their pursuits. Your amazing interesting facts implies so much a person like me and much more to my office colleagues. Thanks a ton; from each one of us.

  25. I want to show some appreciation to you just for bailing me out of such a crisis. As a result of exploring through the the net and finding methods that were not productive, I was thinking my life was done. Existing devoid of the solutions to the issues you’ve fixed by means of your main guideline is a serious case, as well as those which may have badly damaged my entire career if I had not discovered the blog. Your actual talents and kindness in maneuvering all the things was priceless. I am not sure what I would’ve done if I hadn’t discovered such a point like this. I can also at this time look ahead to my future. Thanks very much for your professional and amazing guide. I won’t hesitate to suggest your web blog to anybody who should receive direction on this issue.

  26. Thank you for your entire efforts on this website. My niece take interest in making time for investigations and it’s really obvious why. Almost all hear all about the powerful medium you render reliable things on this web site and even increase response from some other people on that theme while our princess has been understanding a whole lot. Have fun with the remaining portion of the new year. You’re performing a good job.

  27. I in addition to my pals were actually digesting the good key points from the website then instantly got a terrible feeling I had not expressed respect to you for those tips. All of the guys became consequently glad to read them and now have surely been enjoying these things. Appreciation for getting really thoughtful and then for considering this sort of very good issues most people are really desirous to understand about. Our own sincere apologies for not expressing gratitude to you sooner.

  28. I just wanted to post a simple remark in order to say thanks to you for all of the unique techniques you are showing at this website. My time consuming internet look up has finally been paid with extremely good strategies to exchange with my relatives. I ‘d admit that many of us readers actually are very blessed to dwell in a remarkable community with so many lovely individuals with very beneficial things. I feel pretty blessed to have come across your entire weblog and look forward to really more enjoyable times reading here. Thanks again for everything.

  29. I really wanted to post a quick note so as to appreciate you for those fabulous steps you are showing on this website. My considerable internet lookup has now been compensated with excellent details to write about with my relatives. I ‘d declare that we readers are undoubtedly endowed to dwell in a really good network with very many brilliant professionals with insightful opinions. I feel somewhat fortunate to have come across your webpage and look forward to plenty of more exciting times reading here. Thank you once again for a lot of things.

  30. I simply desired to thank you so much again. I’m not certain the things I would have taken care of without those tips and hints revealed by you over such problem. It was actually a real difficult setting in my opinion, however , looking at this professional tactic you handled that made me to weep over gladness. Now i’m thankful for this help and even sincerely hope you realize what an amazing job that you’re doing training men and women by way of your web page. I know that you haven’t encountered all of us.

  31. My husband and i ended up being delighted that Louis could complete his investigations using the precious recommendations he was given in your weblog. It is now and again perplexing just to happen to be offering guidelines that many most people have been selling. We grasp we now have the website owner to be grateful to for this. All the explanations you have made, the simple web site navigation, the relationships your site give support to instill – it’s got many extraordinary, and it’s making our son in addition to us know that the article is cool, which is unbelievably fundamental. Thank you for all the pieces!

  32. I and my pals have been studying the excellent advice found on your web page while before long I had an awful feeling I had not expressed respect to you for them. All of the women had been glad to study them and have now in actuality been taking advantage of these things. Many thanks for getting so considerate as well as for figuring out these kinds of smart subject areas most people are really desirous to be aware of. My personal honest apologies for not saying thanks to you sooner.

  33. I want to get across my love for your kind-heartedness supporting persons that should have help on in this field. Your very own commitment to getting the solution all-around had been wonderfully productive and has without exception made many people much like me to achieve their pursuits. The warm and helpful guidelines can mean a lot a person like me and still more to my mates. Best wishes; from everyone of us.

  34. I am writing to make you know what a remarkable encounter my daughter obtained using your site. She learned many issues, most notably how it is like to possess an ideal coaching style to make the mediocre ones very easily know precisely a number of complex subject matter. You actually did more than visitors’ expected results. Many thanks for distributing these priceless, dependable, educational as well as easy tips on your topic to Kate.

  35. I precisely needed to say thanks once again. I do not know the things that I would have worked on without the type of tips shared by you directly on my area. Previously it was a frightening situation in my position, nevertheless looking at your well-written style you treated it took me to leap over happiness. Extremely thankful for the assistance and thus have high hopes you know what a great job your are getting into educating people through your site. More than likely you’ve never come across any of us.

  36. Thanks so much for giving everyone an extremely wonderful opportunity to read from this site. It is usually very great and full of amusement for me and my office co-workers to visit the blog on the least three times in 7 days to find out the newest guides you have got. And definitely, I am usually astounded for the surprising secrets you serve. Some two tips in this article are surely the most suitable I have had.

  37. I enjoy you because of your own work on this web page. Kim delights in making time for investigation and it is obvious why. All of us hear all regarding the powerful means you offer rewarding guidance through the web site and boost response from some other people on the issue then our daughter is in fact being taught so much. Take advantage of the rest of the new year. You’re the one doing a powerful job.

  38. I wish to convey my affection for your kind-heartedness for women who need assistance with this particular niche. Your special dedication to getting the solution around had been exceptionally powerful and have in most cases helped those like me to achieve their aims. Your personal insightful tips and hints means a lot to me and further more to my office workers. Thank you; from everyone of us.

  39. Thanks for your whole work on this web page. My mom take interest in doing investigation and it is simple to grasp why. My spouse and i learn all concerning the lively ways you offer advantageous steps via the website and even encourage contribution from some other people about this point while our own simple princess is certainly studying a lot. Take advantage of the rest of the year. Your conducting a great job.

  40. I want to voice my respect for your kind-heartedness in support of people that absolutely need assistance with this study. Your real commitment to getting the solution all through had been rather invaluable and have in every case permitted others just like me to reach their pursuits. Your entire interesting help means so much a person like me and even further to my peers. Many thanks; from each one of us.

  41. I needed to post you one very small note to finally thank you the moment again over the fantastic pointers you have shown in this case. This is quite pretty generous of people like you to convey freely precisely what most people could possibly have distributed for an e book to make some cash on their own, even more so given that you could have tried it in case you decided. Those pointers in addition acted to be a great way to know that most people have the same interest similar to mine to learn significantly more with regards to this matter. Certainly there are many more fun situations ahead for folks who read carefully your blog.

  42. I want to express my thanks to the writer for rescuing me from this difficulty. As a result of looking out throughout the search engines and meeting ways which were not pleasant, I was thinking my life was over. Living minus the solutions to the difficulties you’ve solved through your entire post is a serious case, and the kind that might have badly affected my entire career if I had not discovered your web page. Your own expertise and kindness in handling all areas was very useful. I don’t know what I would have done if I hadn’t come across such a solution like this. I can also now relish my future. Thank you very much for the reliable and amazing help. I will not be reluctant to endorse your web page to any individual who needs to have guidance about this situation.

  43. I simply desired to thank you very much once more. I am not sure what I could possibly have gone through without the entire ideas contributed by you concerning such area of interest. It became a alarming crisis for me personally, however , noticing your professional fashion you processed the issue made me to leap for fulfillment. Extremely happy for your help and in addition sincerely hope you comprehend what a great job your are providing training some other people with the aid of your web page. I know that you have never met all of us.

  44. I must point out my gratitude for your kind-heartedness for individuals who must have help with this particular issue. Your personal dedication to passing the solution across appeared to be surprisingly informative and has regularly empowered folks just like me to get to their dreams. This important recommendations entails a lot to me and especially to my peers. Regards; from everyone of us.

  45. My spouse and i were really thankful that Albert could deal with his preliminary research through the precious recommendations he came across in your blog. It’s not at all simplistic to just be releasing tactics which often most people have been making money from. And we all do understand we have the blog owner to give thanks to because of that. The entire illustrations you have made, the easy blog navigation, the friendships your site aid to create – it is everything impressive, and it’s making our son in addition to the family reckon that that theme is awesome, which is certainly quite indispensable. Many thanks for everything!

  46. A lot of thanks for all of the work on this website. My daughter really loves getting into investigations and it’s obvious why. A lot of people hear all regarding the compelling mode you produce very useful guidance through this website and in addition improve participation from some others on this area plus my girl is without question learning a lot of things. Enjoy the remaining portion of the new year. You’re the one performing a great job.

  47. I wish to express my thanks to this writer just for bailing me out of this particular dilemma. As a result of scouting through the online world and meeting tips that were not powerful, I believed my entire life was gone. Being alive without the answers to the issues you have sorted out by means of this article content is a serious case, and those which might have adversely damaged my entire career if I hadn’t encountered your website. That expertise and kindness in maneuvering all the things was useful. I’m not sure what I would have done if I hadn’t encountered such a stuff like this. I’m able to at this point relish my future. Thanks a lot very much for your skilled and result oriented guide. I won’t think twice to recommend your web page to anybody who desires guide on this issue.

  48. A lot of thanks for all your hard work on this website. Kim loves managing investigations and it’s really obvious why. A lot of people learn all relating to the dynamic form you produce simple information by means of your website and welcome response from other ones on the subject matter while our own daughter has always been becoming educated a lot. Take pleasure in the rest of the new year. Your performing a really great job.

  49. Sometimes people call diabetes a touch of sugar or borderline diabetes These terms suggest that someone doesn t really have diabetes or has a less serious case, but every case of diabetes is serious buy cialis online 20mg 20 In the present study, a simple, yet strict, definition of sudden death was used

  50. Steroid hormones, considered to be soluble in the phospholipid bilayer, can enter the cell so that the receptors for these hormones are located either in the cytoplasm or the nucleus of the cell nolvadex Upon further history, you discover she has had some increased urinary frequency and constipation as well

  51. But some studies have shown that there may be a link between certain birth defects in babies who are exposed to Provera during the first trimester of pregnancy, Dr cialis viagra combo pack Surgical management in a timely fashion of acute subdural hematoma, epidural hematoma, intracerebral hematoma if indicated

  52. The liquid form of this medication may contain sugar and or alcohol cialis 40 mg The Immortal King glanced at Zhao Ling in a complicated how do i lower my blood sugar naturally manner, and said, You rejected the conditions of the deputy palace master

  53. Wallace JL, et al cialis 10mg Sometimes high blood pressure and itching lightning, sometimes ice water, sometimes fireball, What s what is the treatment for low blood pressure more, once actually what is the treatment for low blood pressure cast a curse on Fatty s vitals

LEAVE A REPLY

Please enter your comment!
Please enter your name here