- Our Services
- Our Packages
- About Us
- Contact Us
You can get the current page URL and its parameters (if any) by using getCurrentUrl() method in Magento. Below code will show you how to use it. Consider for example you have this URL:
Remove all empty categories and sub-categories in Magento. When there are empty categories, the website shows an empty page in those categories in frontend. Create a file in the magento root, I will name it removeEmptyCats.php, with following code:Read More
Magento get state name, ID, code from region ID or region code.
Get state code from state id
$region = Mage::getModel('directory/region')->load(12); $state_code = $region->getCode(); //CA
If you want to check if the customer is a guest, registered or just register to the site when they place the order, below script will help you identify that in success.phtml file.Read More
Dreaming of turning into an entrepreneur? going to begin a on-line business?
Beginning a small business or aiming for some thing huge. successful businesses don't have anything to do with the size or platform of your business. it's solely involved with the correct mix of true promoting facts, creative & accomplishable concepts in conjunction with strong vigor!Read More
Magento automatically removes product items from shopping cart page which is out of stock. You may need this feature when the situation arises where the product goes out of stock and that particular product is already there in other customer’s cart who have not yet checked it out. With this script, Magento will auto-check if all the items in the cart are available and in-stock before proceeding for checkout page.Read More