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 update Product’s stock related information using SOAP API 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
Hello All, I am writing here a simple but important code snippet for getting all the existing product attributes
I am explaining here the way to display the total quantities ordered in the Product view page. I have used Magento version 126.96.36.199 1) Block file Create a file app/code/local/Mage/Catalog/Block/Product/View/Quantity.php (note the codepool is ‘local’ ) Copy this code in the file and save the file. 2) View File Create a file app/code/design/frontend/default/default/template/catalog/product/view/quantity.phtml I have […]
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 […]
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 […]
In Magento, products are assigned to Website, though we can disable the product in independent store, but this is very lengthy procedure as you need to edit each and every products. So I came up with the solution to restrict the display of categories and products, though if you assign different Root Catalog to different […]
In one of my project, I needed to explicity delete the items from cart after order placed. You can also use this script for making a functionlity for giving an option for empting the cart at once from cart page. Here is the script for the same. Place it in function ‘successAction’ in app\code\local\Mage\Checkout\controllers\OnepageController.php (copy […]
For one of my project I needed to display the total quantities ordered in Products lifetime in product view page. Here is the code Hope this is helpful.