Get payment method of quote in Magento
Hello All, Please check the below script that will help you find the payment method information set in Magento quote
Hello All, Please check the below script that will help you find the payment method information set in Magento quote
Hello All, I am writing here a script that will help you generate random coupon codes using Magento’s existing modules Hope this is helpful
Hello All, I am writing here a script for getting all the child products of the required parent product id Hope this is useful
We the Magento developers work mostly with data collections. For accessing the data we use ‘foreach’ to iterate over collection. What if we need only the first or last item from the collection, Magento gives an alternate way to do this. If you your Collection data as XML, There’s a method for that also If […]
Many times need arises to limit collection for say pagination or for any customization. I am listing here an example which shows how to limit the collection. I have used the Product Model below.
For a module I was working on in one of my project, I needed to display a select box, with optgroup, Magento has inbuilt function for this. Kindly go through this post Select Box in Magento of mine for understanding how to generate select box before reading forward. For option group you need to pass […]
There is an Event-Observer methodology used in Magento, Magento has been programmed to raise events in crucial areas of the flow. We can use these events for our requirement. I am describing here a way to use it. An example would be the event ‘checkout_onepage_controller_success_action’ (this has been use by me at many instances) which […]
I am writing here a code snipet for fetching the name (alias) used to access admin end, which is set to ‘admin’ by default Below code for creating an admin URL
In one of my post I explained the basics of SOAP API, please refer Magento SOAP API before proceeding further I am listing here the methods to create Categories and Products using SOAP API 1) Category a) Category Creation b) Category deletion 2) Product a) Product Creation b) Product Updation b) Product Deletion 3) Assigning […]
These days I am working on Payment Module. I am writing here the code which is useful and related to Payment module 1) To fetch the existing Payment Methods There is a payment module helper file existing in default Magento, which is really very helpful. Path – app/code/core/Mage/Payment/Helper/Data.php 2) To fetch only enable Payment Methods […]