Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
How to check which shopping cart rules are applied to product?
In magento if we need to check, if any shopping cart rule is applied to the product or not.
To do so we can perform it in a test file in our root folder.
lets perform the same, create a file test.php in root folder and write the below code:
...
How to get Bundel items from the bundel product in magento?
In Magento, if we are required to check the items of Bundle product for some purpose, then we can do it by following way:
For the same purpose lets check the below code:
< ?php
$product = new Mage_Catalog_Model_Product();
$pr...
How to change the Order total in PDF and Add our custom field in magento?
In magento sometimes we are required to apply our own custom fee charges to reflect them when we generate the PDF from invoice in admin panel.
Lets see how we can do it:
1. Create a module with namespace as Custom and module as Fee.
...
How to change the Product Price at the time of adding it to cart in Magento?
In Magento sometimes we are required to apply our own custom price on the products while adding to the cart.
To do so we can work upon the event checkout_cart_product_add_after.
Lets see how we can do it:
1. Create a module...
How to apply Custom Discount in magento
In magento sometimes we are requiered to apply our own discount on the cart total section.
To do so we can work upon the event sales_quote_collect_totals_after.
Lets see how we can do it:
1. Create a module with namespace as Custom a...
How to change any attribute value of product in magento
In magento sometimes we are required to change the attribute values of the products.
To do so we can work upon the event catalog_product_load_after.
Lets see how we can do it:
1. Create a module with namespace as Custom and module as...