Search Results for: git

A simple frontend workflow for Gulp

A simple frontend workflow for Gulp

What is Gulp?

Gulp is a task/build runner which uses Node.js for web development. In this tutorial, I will not explain how to create your Gulp plugin but I will show you how you can create a simple, basic, customized build process for your frontend workflow to ease your job.

Read more

CSS preprocessing in Magento 2

CSS preprocessing in Magento 2

Magento 2 has been out in the wild for some time now. Most developers I know haven’t worked on Magento 2 project yet. However, most of them installed it and played around with it, learning and experimenting.

From the comments on github and social media, and from chats with developers, conclusion is that Magento 2 Frontend has a lot of issues, one being the most important: CSS preprocessing.

Read more

Add qty increment buttons to product page

Add qty increment buttons to product page

As you probably know, Magento is using a plain text field to handle quantity on product page. This is the bulletproof solution – it is simple and covers all needs. But, sometimes, merchants want to use something more appealing, and many of them settle for quantity increment buttons (those + and buttons next to the quantity input field). Adding this kind of behaviour will be the topic of this post.

Read more

Add new console command in Magento 2

Add new console command in Magento 2

Remember that time when you wanted to create a Magento shell or php script to perform some action, but didn’t know where to put it?
Remember the /shell folder in root Magento installation (or root folder, for that matter)?
Remember how it used to have, like, 50 shell and php scripts all mixed up, and you get a headache just by looking at them?
Pepperidge Farm remembers.

Those were good old times, and like all good times, they have now come to pass. There’s a new kid on the block, more powerful and way cooler, and the best part is – it’s integrated into Magento 2.

Read more

Behind the scenes of Inchoo Design team: a talk with Katarina Dijakovic

Behind the scenes of Inchoo Design team: a talk with Katarina Dijakovic

Have you noticed the fresh look on our blog posts? Recently our Inchoo design team has been putting a lot of effort into our featured images, but also working on a great portfolio through various projects along with evolving Inchoo’s identity. Our usability audit is now just one of their services because with the newest addition to the team, Katarina Dijakovic, they’re more versatile than ever.

That’s why we decided to talk to Katarina and learn a bit about what inspires her, what keeps her going and how she found herself in eCommerce.

Here you have an interview with her – about technicalities, design hacks and about what she thinks of design in eCommerce now when there’s a certain mileage in her Inchoo shoes.

Read more

Interactive Bash script for managing themes in Magento 2

Interactive Bash script for managing themes in Magento 2

Do you remember, how many times you did something that was time consuming and/or required certain amount of steps to achieve your goal? After some time you had to repeat the whole process… And again… And again… I am pretty sure you came to an idea, “Wouldn’t it be really useful if I can somehow simplify the process?” Yes, you are correct, the same question troubled me when trying to figure out how the make my life easier when creating a custom theme. Unlike Magento 1, Magento 2 has a different (and more complex) way of setting up themes, so I started developing a Bash script that will make my life easier. Hopefully, yours as well.

Read more

Inchoo’s compatibility extension for Magento 1 and PHP 7

Inchoo’s compatibility extension for Magento 1 and PHP 7

As promised,  we prepared something that will spice up your holidays better than Christmas decorations and mulled wine. In this article you can find our open-source compatibility extension for Magento and PHP 7 (yes, you read that right!) as well as some of the experiences and performance tests.

Read more

Magento 2 Controllers

Magento 2 Controllers

Controllers in Magento 2, like on other PHP MVC frameworks, are important part of Mvc flow. In Magento 2 there are lots of changes in controllers, for example; how they are structured and how they work compared with Magento 1. If you are familiar with Magento 1 controllers, then you know they can have multiple actions (class methods). In Magento 2 controllers have only one method (execute) that will be called by front controller. This article covers controller basics, matching flow, controller types (admin and frontend), changes on existing controllers, instructions to create custom controllers and an example how to create a few controllers.

Read more

Routing in Magento 2

Routing in Magento 2

We can say that routing in Magento is one of the most important parts. Complete application (Magento 2) flow depends on processing URL request and router classes which are responsible for matching and processing that requests. This article covers routers flow in Magento 2 and analyses some routers that come with default installation. Also it will be shown how to create one custom router. It will be mentioned how routers match action (Controller class), and more info about Controllers will be covered in a separated article.

Read more

Shell script for converting configurable to grouped products

Shell script for converting configurable to grouped products

A couple of weeks ago my colleague Attila Fabrik and I had a really complex but interesting task. We had to develop a shell script that converts configurable products to grouped products. Our Magento catalog was special. It contained mostly configurable products and it seemed that using configurable products was a good idea 4 years ago when the shop was set up but the current business conditions were pushing us to look for other, more flexible options.

Read more

Talking Merchant: migrating to Magento 2

Talking Merchant: migrating to Magento 2

Delivering a top notch web shop is never easy.

Factors such as requirements or desires (because, there is a difference!) accompanied with resources, experience and dedication make for the challenge of creation. Choosing the right partner now, thanks to Magento, comes with a new set of factors which should be looked after. All of them are connected with Magento’s new baby – Magento 2.

Since we’ve seen a lot of questions connected with the before mentioned factors (probably due to the fact that Magento officially published the date of Magento 2 release and we are talking about 15th of November now), we’ve decided to tone down the tension with telling you all about “what to expect when you’re expecting”.

Read more

Implementing payment gateway in Magento 2

Implementing payment gateway in Magento 2

This is a revised article originally written in September 2014 when I started to play with Magento 2 for the first time. Since there were a lot of changes in Magento 2, this article also needed some refreshment. We will glance over the backend, and proceed with the development of a simple module. For this task, I picked up the payment gateway API integration. This relatively simple task will help us demonstrate some key changes in Magento 2.

More precisely, we will be focusing on implementation of Stripe payment gateway. Even though Stripe has a rich set of features, here we will be focusing only on most basic functionalities to get you started with Magento 2 extension development.

Read more

CeBIT 2015 expo – a review by Inchoo

CeBIT 2015 expo – a review by Inchoo

One event that gathers people with common interest in computers, electronics and information technology, the world’s leading event for IT and digitalization where companies and organizations demonstrate their technologies and products; event where lectures and talks are held and new IT trends defined – you are already guessing, I’m talking about CeBIT 2015.

Read more

Creating EAV based model(s) in Magento

Creating EAV based model(s) in Magento

Magento EAV (Entity Attribute Value) data model is used to get flexibility for your data, but it brings more complexity than relation table model. If you need data model that will have flexible attributes which can be dynamically added, for example from Magento admin panel, then EAV is the best solution for you. If using EAV, you don’t need to change table structure for every new attribute like you do on flat tables (creating new colums).

Read more

“Internship helped me in choosing my career.” – experience of 3 interns at Inchoo

Lucija, Hrvoje and Magdalena - interns at Inchoo

Last couple of months, some new faces were at Inchoo. That were our interns Lucija, Hrvoje and Magdalena.

Lucija Glavas is at 2nd year of Computer Science, Hrvoje Jukic is year away from his Process Computing Master’s degree and Magdalena Kules is in her 3rd year of Information Sciences. At first glance their education maybe looks alike, but trust us, it’s not.

Read more

Magento without an IDE? Say hello to Sublime!

Magento without an IDE? Say hello to Sublime!

We are all aware of the Magento codebase size and its complexity. That is one of the reasons most people use full-fledged IDEs for Magento programming. Most answers regarding the “what IDE should I be using for Magento?” or “what is the best Magento development environment?” include big boys like Eclipse, NetBeans and PhpStorm. Since you’ve already read the title, you may be wondering: “what can a text editor like Sublime Text offer me for my Magento development?”. Vanilla installation? Not much, but with the help of a few plugins, well… Keep reading and you just may be in for a treat.

Read more

Custom shipping method in Magento

Custom shipping method in Magento

In this article, I will demonstrate how to write custom shipping in Magento, or to be more precise, two of them: standard shipping and express shipping, which is only available if none of your cart items exceeds specified weight threshold. Lets start by explaining how Magento handles shipping, and what would be needed to achieve our goal.

Read more

Out of the box Form Validation in Magento

Form Validation in Magento

Magento uses Prototype library to manage form validation. This comes in handy, because all you need to do when writing custom form is to assign a valid class names to your input fields, and pass the form id to VarienForm object.

Read more

Show product thumbnail in grids

Show product thumbnail in grids

Editing products and changing their position in categories can be quite a task. This is especially true when you have a large number of products to edit or arrange, and some of them are very similar.

Sure, you could differentiate them by SKU, ID, price, or something else. But wouldn’t it be great if you had a thumbnail of each product in grid?

Read more

Custom category menu navigation in Magento

Custom category menu navigation in Magento

Magento has its top menu reserved for category navigation. It’s pretty solid for displaying categories, even when there is a large number of them.

What some of the clients want is a vertical (sidebar) category menu, so they can display sibling categories of a category their customers are exploring.

In this article we’ll cover the creation of a full vertical menu. We’ll go 3 levels deep: category, subcategory, and sub-subcategory. You can always expand on this, but I believe 3 levels are more than enough for most stores.

Read more

Meet with Inchoo at Magento Imagine 2014!

Meet with Inchoo at Imagine

1,700+ merchants, partners, developers, digital industry experts and open source enthusiasts from more than 35 countries are hitting off to Las Vegas for three days of networking, collaboration and cutting-edge sessions between May 12th and 14th. What brings them together? Magento Imagine, of course!

Read more

OMGcommerce is over, check out the key takeaways!

OMGcommerce is over, check out the key takeaways!

OMGcommerce – Southeastern Europe’s biggest e-commerce conference is behind us. Magento, Google, Paymill, Zee & Co, Erste Bank, Escape, Mondo, Inchoo and many others, had a tough task, to talk about e-commerce best practices coming from different industries and to visitors from various countries that have diverse e-commerce regulations.

Read more

Advanced search in Magento and how to use it in your own way

Advanced search in Magento and how to use it in your own way

Magento’s default catalog search can be a powerful tool. It’s versatility is something every customer can appreciate.

One of the coolest features of the built-in advanced search is the ability to search by attributes assigned to a product. But what if your client’s plans for search are a bit different, and advanced search is too cluttered for his or her needs?

Let’s say your client wants his customers to be able to search by brand or SKU, with all other fields removed from the search, and wishes for custom URL for each one of those search types.

Read more

Filter order grid by multiple ID’s

Filter order grid by multiple ID’s

We all know how great Magento grids can be – there is no alternative when it comes to displaying data in a efficient manner.

Our clients sometimes (almost always) have specific requirements when it comes to Magento. One of them had a request to be able to filter the order grid by multiple order ID’s.

This can be useful if you have a number of orders you’d like to track – filtering them one by one can be tedious and time-consuming task.

Read more

Display product’s rating beyond the review page

Display product’s rating beyond the review page

Reviews are another one of numerous excellent features in Magento. Usage of reviews can increase visitors’ trust in your brand, which, in return boosts your sales by a significant amount.

Sometimes there is a need for showing star ratings outside the products’ review page. That’s what I’ll be addressing with this article.

Read more