Articles tagged with: Magento
Magento »
Here is a quick code to get any product’s stock information like quantity (qty), minimum quantity (min_qty), stock availability (is_in_stock), minimum and maximum sale quantity (min_sale_qty and max_sale_qty), etc. First load the product. Product can be loaded in different ways. Here are the two different ways to load any product in Magento:-
Guest Post, Magento »
Magento websites are powered by the open source tool of the same name, which has been specifically designed to build sites that are suited to expanding businesses. Magento’s modular architecture makes it easy for a site (and a business!) to start simple and grow in step with demand, rather than over reaching itself and running [...]
Magento »
A demo store is where there are products but the order done by customer is not processed. If your website is in development mode then it is better to enable demo store notice. Enabling demo store notice in Magento is very simple. You just need to select an option in configuration settings in admin panel.
Magento »
The Robots META Tag is meant to provide users who cannot upload or control the /robots.txt file at their websites, with a last chance to keep their content out of search engine indexes and services.
Magento »
Here is a quick and useful code on getting actual price and special price of any product in Magento. The actual price is the real price assigned to the product and special price is the price after any discount is applied to the product. Loading Product
Magento »
Here is the code to get ratings and reviews for any particular product. Displaying the ratings
Magento »
Ogone is one of the leading European Payment Service Providers with more than 28.000 clients across 40 countries. Ogone is connected through certified links to more than 200 European banks/acquirers that enable handling of international payment methods like Visa, MasterCard, American Express, Diners Club and JCB as well as local ones like iDEAL and Machtigingen [...]
Magento »
This article shows how to reindex Magento Data Programmatically (through code). You can manually reindex data from System -> Index Management. However, this article is concerned how this can be done through code/programming. Currently, there are 9 indexes. They are as under (with their respective key number):-
Magento »
You can manually create CMS Pages in Magento from CMS -> Pages. Similarly, you can create Static Blocks from CMS -> Static Blocks. This article will show how to create CMS pages and Static blocks programmatically from code.
Magento »
If you are developing a module which needs to give access to its content only to logged in user then the preDispatch function will be very useful. This dispatches event before action. Just write the following function in your module’s controller and customer log in is checked before each of your controller action.
Magento »
This article will show you how to get best selling products. You will see how to get overall best selling products as well as best selling products by category and by date time range. Here is the code:-
Magento »
A new secret key is created every time you login to Magento Admin. So, there will be a unique key (32 chars long) for each session of your Magento admin login. This key is appended to the admin URL as http://your-admin-url/key/743c37b1…adf6588/ This is basically added for security reason. In their release note, Magento say that [...]
Magento »
Here is a quick guide on how to change admin url path in Magento. This need to be done for security reason to be safe from hacking/cracking issue. Basically, this is done not to let any general user to access the admin page. Generally, we do have ‘admin‘ as the administrator path for Magento. So, [...]
Magento »
This article will show you how to create shopping cart price rule in Magento through code. Shopping Cart Price Rules are applied when the customer reaches the shopping cart. To create a Shopping Cart Price Rule from Admin Panel, we go to Promotions -> Shopping Cart Price Rules and select Add New Rule.
Magento »
Here, you will see how to create Catalog Price Rule in Magento through code. Catalog Rules are applied on products before they are added to the cart. To create a Catalog Price Rule from Admin Panel, we go to Promotions -> Catalog Price Rules and select Add New Rule.
