Latest Blogs
Cloud Computing
Arpatech Website
Jan 07, 2025
Application Modernization Strategies: 5 Best Practices Explained
Read More...
Simple Steps On How To Display Products From A Specific...
In our last tutorial, we learned to display customized category listing in Magento. So, today we will focus on the easiest way to display products from a specific category on your website’s Homepage or any other page.
As we all know Magento is a powerful e-commerce platform that provides a sustainable solution to the e-commerce merchants. But, at times we get confused about what to display on the Homepage of our store in order to maximize our conversions and increase sales. So, we end up cluttering the page and buyer get confused with too much information overload. You might want to display a specific category that is in demand or range of specific products that your user would most likely purchase. So, let’s get started with the process:
From your Admin panel, navigate to Catalog-> Manage Categories
Select the category you want to list on the Homepage and note down the category ID.
Next, navigate to CMs->Pages
Select the page in which you would like to display the products from a category. For this tutorial we will choose Homepage.
Select content and click on Show/Hide Editor
Write the following code:
{{block type="catalog/category_list" column_count="4" category_id="4" template="catalog/product/list.phtml"}}
The column_count here restricts the number of columns to be displayed. While category_id is used to get the specific category through its id.
Now navigate to Systems->permissions->Blocks
Click on ‘Add new block’
Now enter the block name. In our case, it is catalog/ category_list
Select “Yes” from drop-down box IsAllowed and save the block.
Now products from specific category will be listed on the home page. You can see this by going to the front-end of your store.
So, today we have learned the easiest way to show products from specific Category in Magento. If you have any query, feel free to comment below:
Arpatech Website
Oct 31, 2016
“Don’t Get Discouraged If You Fail. You Only Tr...
Sean Breeden is a Magento Certified Developer and Developer Plus. He is currently working at Jamersan as a Magento Developer, and has a vast experience working in different organizations in senior and leading positions. He was awarded the “StackOverflow Magento Badge” which is a sheer proof that he is a super-active member in Magento community. So, we contacted him and got in touch with him to know more about what he’s up to nowadays. So, read along and let’s find out:
Arpatech: Sean, you have a vast experience of the development side. From 2006 to 2016 you were working in InteractOne as Senior Developer. How was your experience with InteractOne? What challenges did you face in these years? How did you start your career with Magento? Share some interesting experiences and some challenging times of your career with our readers.
Sean: Like any developer in any agency, my experiences in the decade that I was with InteractOne had its ups and downs. I always tried to be helpful to developers who were just starting out and provided support to everyone whenever it was needed. I’d like to think that I taught as much as I learned over the years. Even though I have moved on, I do wish them all the best.
I got started with Magento on the recommendation from a friend when it was still in beta. After spending some time evaluating Magento as a possible alternative to our current e-commerce solutions, I brought it to the attention to our VP. It was very frustrating trying to work with Magento at first but as time went on, it became more familiar. Now, I love it and can’t imagine not working with it every day.
The most difficult challenge early on was getting clients to make the jump to Magento. Few people had heard of it and were skeptical about making the switch. It seemed that e-commerce was in a state of flux in the mid-2000s with a lot of companies attempting to make a great online shopping package but no one had anything that was secure and affordable. There were the usual expensive giants out there and there was also no shortage of smaller, loosely maintained packages. No one stepped up to the plate the way Magento did. I knew it was the way to go and I’ve never regretted my decision to specialize in it.
My first professional project with Magento was a site that needed a brand’s page with images that linked to detail pages. Figuring out how to write my first Magento grid and uploader was challenging so it took a few weeks to complete the project. It’s something I could do in less than an hour now. Looking back to the beginning it amazes me how far it’s all progressed in a relatively short period of time.
Since then I have worked on projects ranging from very small businesses to Fortune 500 companies.
Arpatech: Currently you are working in Jamersan as Senior Developer, What are the common queries you faced during your work? When did you realize that you have a passion for programming?
Sean: Jamersan’s team has some of the most talented people I’ve ever had the pleasure of working with. It’s a fast-paced environment with an emphasis on continuing education. Our boss, TJ, wants us to be the best and makes sure that we have the tools we need to reach that goal.
Every day presents new and interesting challenges. The types of tasks I work on range from small code tweaks to creating in-depth custom modules to meet the client’s requirements. I enjoy figuring out the best Magento-friendly approach to solving problems. It’s very rewarding to finish a task then commit a well-formed module. Getting positive feedback from everyone after watching my code go from concept to production is a great feeling.
The earliest memory I have of wanting to be a programmer was when I started tinkering in Basic on a TI-99/4A when I was 11. Soon after, I wrote a blackjack program and a non-player character generator for Dungeons & Dragons in Basic on a Commodore Vic-20. Later on, I spent many days typing out the Basic programs from Compute magazine on my Commodore 64. It was around that time that I knew that programming was something that I never wanted to stop doing.
Arpatech: Nowadays, Magento is a very popular e-commerce platform. What are some useful features in Magento 1x for developers? Share some tips for newbies who want to get started with Magento?
Sean: There are some built-in developer tools in Magento that are good to know. Under System -> Configuration -> Advanced, there’s a section named “Developer” that has the Template & Block Hints feature. That’s a pretty commonly used built-in feature but there are third-party utilities that make troubleshooting Magento a lot easier.
The oldest and most useful utility I would recommend for Magento developers is CommerceBug by Alan Storm. He recently released CommerceBug 3 which has support for Magento 1 and 2.
Another good tool that’s educational and useful is Chris Manger’s Enhanced Developer Tools Extension. It has a lot of really useful features for Magento developers and people who want to learn about Magento. When a developer types in a word that’s in a block, then it provides the block’s name, class, template file, layout XML file, and other miscellaneous information.
n98-magerun is another must-have for any serious Magento developer. The magerun.net site describes it as “a huge set of well-tested command line commands which save hours of work time.” That’s it in a nutshell. There are versions for Magento 1 and Magento 2.
The most important advice I can give to someone starting out with Magento is to choose a good IDE. I highly recommend phpStorm with the Magicento plug-in. If you’ve never tried phpStorm then what are you waiting for?
Arpatech: In 2014 you were awarded StackOverflow Magento Badge, How do you feel about achieving these awards? What was your reaction when you were nominated :)?
Sean: StackOverflow is great and I try to participate as much as time allows. Achieving the Magento badge means that my answers have helped a lot of people.
According to StackOverflow, my answers have reached ~456,000 users. I’ve had co-workers and other developers tell me that they were looking for an answer to a problem and my name came up from SO during their search. Programmers everywhere use it regularly to find answers to their problems. To be able to get help from talented people like Ben Marks, Vinai Kopp, Marius Strajeru and too many others to name, makes StackOverflow and Magento StackExchange an incredibly valuable resource.
Arpatech: Sean, You have multiple Magento certificates (MCSS, MCD+, MCD). What’s your recommended learning platform for Magento certification? What are the advantages of being a certified Magento Solution Specialist and Developer Plus?
Sean: I learned a lot by filling in the study guide outline provided by Magento for the MCD exam. I don’t think it’s a good idea to get a certification just for the sake of having it. A certification should be something that happens organically as a programmer’s skill level improves.
In March of 2011, I was able to attend Magento U led by Ben Marks and Vinai Kopp. I learned more in that week that the previous years of working with Magento.
I took the beta MCD certification at Innovate in 2011 and failed in it. I tried again in 2012 and missed it by 3 questions. I’m a horrible test taker and tend to blank out during tests. After that failed attempt, I spent every spare minute of the next three months studying. By the time I re-tried I passed by a very comfortable margin. Don’t get discouraged if you fail. You only truly fail if you give up!
The main advantage of having any Magento certification is that it helps confirm that I’m familiar with the platform. The MCD+ demonstrates that I understand the back-end/coding side of Magento Enterprise and the MCSS lets people know that I’m familiar with the Magento admin and that I know how to use Magento to meet a client’s business needs.
Arpatech: Extensions are very useful. Which extensions do you recommend for speeding up Magento 1.x? Or do you recommend coding your own extensions? Share some useful tips for those developers who want to build their own extension.
Sean: Mirasvit’s FPC extension is a great full page caching module for speeding up Magento 1. Of course, simply following best coding practices is crucial to keep a Magento store running quickly. When a client has speed complaints from a site and they’re on a decent web host then chances are they have some improperly coded features bogging things down.
More recently I’ve been working with Google PageSpeed. It’s an amazing server component but it takes some server admin experience to get everything working properly. I have been very impressed by the results of a finely-tuned PageSpeed configuration.
I recommend coding your own extensions whenever possible. Purchasing extensions can be a huge time-saver as long as it’s high-quality and has ongoing support. It can be overkill if the goal is to add a minor change to the site.
Arpatech: How do you see Magento in the coming years with Magento 2? How can merchants improve their sales with Magento 2? What further features are you excited to see in Magento 2? If you get a chance to include some features in Magento 2, what would be those features? What are your expectations for Magento 2 in 2016?
Sean: Considering that there’s still sites running older e-commerce platforms that pre-date Magento, I don’t expect Magento 1 to go away at it’s prescribed end-of-life. It wouldn’t surprise me to see someone fork it to continue improving the platform after Magento officially stops supporting it.
Any developers that think Magento 2 is like “starting over” need to remember that the Magento developers have taken all of the lessons learned throughout the course of building Magento 1 and incorporated them into 2.
I’m still learning Magento 2 but it’s all really clicking into place for me. I like it very much! I look forward to being as engrossed in Magento 2 as I currently am in Magento 1.
Merchants can expect better performance and scalability with Magento 2. It has a more contemporary feel to it and is built with responsive design in mind from the beginning. A faster site with multiple browsers and mobile device support means that a Magento 2 site can reach a larger audience with faster page load times which will result in higher conversions.
Arpatech: You were an attendee of Magento Imagine 2015. In your opinion, what are the advantages of attending the Magento conferences like Magento Imagine, Meet Magento, Mage Titans for amateurs who want to involve themselves in the Magento Community? Share some of your interesting moments from Imagine with our readers.
Sean: Magento goes all out at their conferences. They’re a lot of fun and even someone who has just started learning Magento can benefit from the experience. Being able to attend lectures hosted by the top people in the community is awesome.
It would be impossible to pick a specific moment that stands out because the entire event is amazing!
I always learn a lot, whether by watching a presentation by a Magento master or chatting with other attendees throughout the day. I always leave feeling like the costs to attend were well worth it.
Arpatech: Sean, Which conferences you are going to attend in the future? In 2011 you made a big Magento group “Magento Certified Developers” on Facebook. So, how has your experience been so far with the community members? Which social platforms are you using to stay connected with the Magento community?
Sean: I’m planning on attending Magento Imagine in 2017. I look forward to seeing what’s in Magento 2’s future first-hand, straight from the mouths of the developers and other giants in this industry.
I started the Facebook group in 2011 before the MCD certification was released. The goal was to create a social media forum that was focused on helping people find resources to learn about Magento. There’s close to 3,000 members now and no spam allowed. I will only approve posts that contribute something to the community.
I love the Magento community. I don’t think there’s another group out there more willing to help it’s members and freely share knowledge for the overall good.
Arpatech: So, Sean, let’s put Magento aside and talk about your personal interests. How you spend your time besides work? Do you like Sports? What’s your favourite place and how many international trips have you taken so far?
Sean: I’m not really a sports fan. I enjoy what I do so much that a lot of the time it doesn’t feel like work, so my work and hobbies sometimes overlap. In my free time, I follow augmented and virtual reality closely. I’m very excited to see the technology finally start to catch up with the VR dreams of thirty years ago.
My favorite place is where I live right now here in Port Orange, Florida. We were slammed pretty hard by Hurricane Matthew but luckily my area was spared a lot of the devastation that people close by experienced. My fence was blown away and we had some superficial damage but that’s obviously nothing compared to what others have lost. I was very fortunate but it’s bittersweet to be relieved about that since so many lost their lives and homes.
I don’t travel a lot but I visited the UK (London) for six months in 2010. It was interesting to see how life is in another country. One of the major highlights was when my wife and I went to see Stonehenge on an after-hours tour where they allowed a small group of us to walk inside the circle of stones for an hour.
Arpatech: The Magento Community is huge. There are always some individuals who stand out in the crowd. Name some peoples that inspired and influenced you in the Magento world and inspire you with their work?
Sean: I tend to listen to everything that Ben Marks and Vinai Kopp have to say about Magento. I enjoy Vinai’s Mage2Kata series and would like to see more developers do similar things.
I worked directly with Ryan Street for a while and have learned a lot from him. He’s a very talented individual!
Alan Storm always gives back to the Magento community with his blogs and is very helpful. I have the highest respect for those that have taken the time to give back like he does.
A few months ago Alan Storm asked a question about Magento 2 on Twitter. I responded by posting “It makes me nervous when you have to ask Magento questions. You usually are the one with the answers.” He replied, “I have the answers because I ask the questions.” That stuck with me. I’ve never been afraid to say “I don’t know” and seeing a talented programmer like Alan Storm ask others for help has been motivating me to ask a lot more of my own questions.
Arpatech Website
Oct 28, 2016
“It’s easy and fun to lead a team while you are...
Tim Bezhashvyly is a Magento certified developer with over 17 years of PHP and 7 years of Magento development experience. He is a reputable Software Engineer and Senior Magento Developer at 21sportsgroup. Tim possess great information regarding PHP and Magento and is an active member of Magento community. He also loves writing community extensions, publishing articles and speaking in conferences. Today, we got a chance to talk to him.
Arpatech: Tim, you have vast experience of more than 17 years in PHP development, how did you start you career with PHP? Did you face any problems at initial stage of your career? How did you overcome them?
Tim: Depends on definition of career. I started programming way before I was legally allowed to be professionally employed. I guess I was 12 when I started with Basic, then Pascal, Turbo Pascal, Delphi and ActionScript. At university we had a boring course of C++. On the 3rd grade of study, I started working for an agency providing a support of an SAP-like system. So this was my first “professional” experience. This company had quite a crappy website so they have decided that I had to rebuild it. By that time I was already fine with HTML and CSS and to complete the picture I started learning Perl. However this was the time decay of Perl begun and rise of PHP. So the decision was obvious.
Arpatech: Tim, you are certified Magento Developer with over 7 years of experience, you lead Magento team of 21sportsgroup. Please share your experience with Magento as a team lead.
Tim: When I’m asked about Magento, I love to quote my friend and colleague Fabian Blechschmidt: “When you start working with Magento you don’t get a thing and you hate it [Magento]. Then you start understanding something and you feel good. This short period of time you adore and praise Magento. Unfortunately this ends when you realize the problems of Magento design and the limitations it puts on you. Love ends here, and where love ends disgust starts.
It’s easy and fun to lead a team while you are in the second phase. You are excited and seeding your excitement around. It is hard however to promote Magento once you understand it is not just ignoring good practices but even prevents you from applying them. The main pain point here is a test driven development and unit testing in general.
Arpatech: Our audience is eager to know what issues you usually face as a developer. Please tell about some best practices a developer must follow.
Tim: As I already mentioned testing it very hard with Magento. And passing tests is the first principle of Kent Beck’s 4 rules of simple design. It’s also hard with Magento to keep up with (Uncle) Bob Martin’s SOLID principles as just a notion of protected methods is killing an idea of Open Closed Principle. Other principles are still possible to apply but when the framework itself in not following them it feels like fighting windmills.
Magento 2.x was a great opportunity of turning things into a right direction but unfortunately this chance was not used.
Please don’t get me wrong, I still think Magento is a viable piece of software. At least there’s no better alternative on the market yet. I just feel like all the love around it is a bit exaggerated.
Arpatech: Tim, you have contributed in Magento Community by writing community extension. Can you suggest a quick guide to newbie developer of Magento?
Tim: This is very easy if you would like to do it quick and dirty. In the beginning it even feels like Magento itself invites you to hack into the core classes by allowing just to copy them into a local scope and modify them there.
It’s getting tricky when you try to write extensions according to programming principles mentioned above. In my opinion the only possible way here is to write module as a standalone PHP library and then make a thin layer which will connect it to Magento. This will give you an opportunity to start with tests, keep your own structure and so on. This connectivity layer will definitely be ugly but at least you will keep those bad things isolated. When you can not solve the problem, control it.
Regarding tutorials of this approach the first thing that comes to mind is the presentation by Vinai Kopp at Mage Titans back in 2014.
Arpatech: Let’s get back to your company, 21sportsgroup. What is the best project you have worked on so far? Did you face any difficulty in managing it? If yes, how did you overcome it?
Tim: The main project is a company web shop based on Magento Enterprise Edition. The difficulties we faced were balance between server response time and data consistency. With Magento full page cache enabled data immediately became outdated and without cache the performance degradation was overwhelming.
Unfortunately this is the problem most Magento-based shops of enterprise level are facing.
After trying various things and advising with other specialists and consulting companies the decision has been made to replace Magento catalog completely. This is how Lizards & Pumpkins community project has been born.
Arpatech: Tim you are an enthusiastic developer, how do you manage to stay updated with the community? Which platform you generally use for sharing knowledge and getting in touch with the community?
Tim: For getting Magento news online I’m using Twitter. You will get my recommendation of people to follow in the next section.
Besides of Twitter I would definitely recommend to meet community online. Here Thomas Fleck, Thomas Goletz and other members of Meet Magento Association made a great work of organizing series of regular events all around the globe. There are also regular Magento Unconferences in Germany and now also in Netherlands. I love those even more.
Arpatech: You are an active member in Magento Community and have a good circle of friends and colleagues. Can you name some enthusiastic who you personally follow? Please tell our readers about the best way to interact with the community?
Tim: Definitely follow Vinai Kopp and Ben Marks. If you want lots of Magento love and unicorns mind following Phil Jackson and Kalen Jordan. For some healthy portion of criticism I recommend following Cyrill Schumacher.
Among others: Sylvain Raye, Anna Voelkl, David Manners, Bastian Ike, James Cowie, Fabrizio Branca and Fabian Blechschmidt (but you will have to filter out his non-programming tweets).
Sorry to whom I forgot, I love you all.
Arpatech: There are many good sources of learning and getting started with Magento. Can you suggest a newbie developer on how to start learning Magento. Is there any good source you would like to share with them?
Tim: Get Grokking Magento book by Vinai Kopp.
Arpatech: Let’s talk something out of your professional career. How do you spend your free time? Do you love any sports, traveling, reading books or just a peaceful sleep 🙂
Tim: I’m writing poems, playing in a punk band, acting in movies and participating gay orgies. Unfortunately I’m a same boring geek as most of you.
Arpatech Website
Oct 21, 2016
Design
Art
AI
Development
Apps