Home » Archive

Articles in the Magento Category

Magento »

[24 Feb 2016 | No Comment]

Here is a quick tip on how to change/update logo image from Magento backend/admin. You don’t need to login to FTP and upload/replace files. You also don’t need to change the code of any file.
Here is the step-by-step guide to change the logo from backend:

Magento, Magento 2 »

[19 Feb 2016 | No Comment]

This article shows how to create and destroy different types (Checkout, Customer, Catalog) of sessions in Magento 2.
As you can see below, there are different types of session classes present in Magento 2.

Magento, Magento 2 »

[17 Feb 2016 | No Comment]

This article shows how we can get current and base URL in Magento 2.
Below is a block class of my custom module (Chapagain_HelloWorld). I have injected object of StoreManagerInterface & UrlInterface in the constructor of my module’s block class. Both of them can be used to fetch base and current URL. In below class, in function getStoreManagerData(), object of StoreManagerInterface is used to print the base and current url and in function getUrlInterfaceData() function, object of UrlInterface is used to print the base and current url.
app/code/Chapagain/HelloWorld/Block/HelloWorld.php

Magento, Magento 2 »

[12 Feb 2016 | 2 Comments]

This article shows how we can get current category and current product data in Magento 2.
Below is a block class of my custom module (Chapagain_HelloWorld). I have injected object of \Magento\Framework\Registry class in the constructor of my module’s block class.
app/code/Chapagain/HelloWorld/Block/HelloWorld.php

Magento, Magento 2 »

[4 Feb 2016 | No Comment]

In Magento 1, you could simply write your own custom log with the following code:

and it would be saved at MAGENTO_ROOT/var/log/your_log_file.log

Magento »

[22 Jan 2016 | One Comment]

Here is a quick code to delete orders programmatically in Magento. In Magento, there isn’t the facility to delete orders from admin grid. You need to write custom code to delete orders in Magento.
Here is the full code to do so. This code can be saved in a new file in your Magento root folder and then you can run it in browser.

Magento »

[20 Jan 2016 | No Comment]

Here is a quick code to delete customers programmatically in Magento. You can manually delete customers from customer admin grid. But, sometime you might need to do it automatically through code.
Here is the full code to do so. This code can be saved in a new file in your Magento root folder and then you can run it in browser.

Magento, Review »

[18 Jan 2016 | No Comment]

Product Video always asserts the main role to boosting as well as winning any Marketing campaigns. Coming from many years ago, product video is never an out-of-date method of marketing field. As in a lot of great articles of e-Commerce experts, this is the most effective to popularize your products as well as online business. Impressively, the online-sale is witnessing an endless increase of revenue from embedding an actual video on the product page, blog, emails and anywhere as possible.
It is the same when it comes to M-stores. However, how …

Magento, Review »

[6 Jan 2016 | No Comment]

On running a Printing Shop, what you expect for? As any e-commerce business, the last goal might be profit and number of loyal customers who are willing to pay for your products. Unlike other businesses, Printing Shop requires much creation as well as technology sectors for the durable growth. Thus, how to grab the NO.1 position in this field is not simple at all. Take a view of this article to have the answer.

Magento »

[2 Jan 2016 | No Comment]

By default, Magento allows maximum of 200 items to be viewed at a time in admin grid. Admin grid pagination contains maximum of 200 items in a single page.

Magento »

[27 Dec 2015 | No Comment]

Scenario:
I added products to cart. Then did proceed to checkout. I have tried Cash on Delivery and Check / Money Order as Payment method. Everything is fine until the order review section. And then when I click the Place Order button then it gets redirected to Cart page instead of going to Order Success page. The cart items are still there. However, it shows the order is placed when I go to My Orders section.
Solution:

Magento »

[7 Dec 2015 | One Comment]

Scenario:
In Magento Admin form, you have two fields. One is a select field and let the other field be a text field. Now, you want to show/hide the text field based upon the option selected in the select field.
Solution:

Magento, Review »

[18 Nov 2015 | One Comment]

Priceless design is used to bring the unique and exquisite look to your Magento site. Based on Magento platform, these following templates might be your choice when you want to effectively boost more sales and traffic, getting high profit from your web-store. One more special is that they are not only beautiful designs but also functional items. They could be:
1. Magento Printing Theme

Magento, Magento Extension »

[14 Nov 2015 | No Comment]

Facebook LikeBox on Popup and Sidebar is a FREE Magento Extension that allows allows Facebook Like Box to popup on page load and also display the like box on left and right sidebar. You can show your Facebook Page on the popup and sidebar.
This module is compatible with Magento version 1.5 and later (Magento 1.5, 1.6, 1.7, 1.8, 1.9).

Magento, Magento Extension »

[14 Nov 2015 | One Comment]

Google Tag Manager (GTM) is a FREE Magento Extension that allows you to integrate Google Tag Manager to your site. This extension also provides ecommerce transaction tracking feature. You just need to enter your Tag Manager container id in the extension’s configuration settings.
This module is compatible with Magento version 1.5 and later (Magento 1.5, 1.6, 1.7, 1.8, 1.9).