After here, I will guide for you how to export orders with total products in there orders with CSV format by code. Simple, we need […]
Tag: PHP
Magento get payment method name with query
Magento get payment method name with query When payment method in your website was deleted, orders were using there payment method will show to error […]
Magento query get records in table
Here is code query get records in table of Magento. When you need debug or get anything but want not initialize a model and create […]
Magento set limit for products
Below code will call limit products with function getLoadedProductCollection(). Here, I use function setPageSize() and I set a variable is numbers of products need to […]
Magento get info newsletter subscribe
You want get info newsletter subscribe of account logged, you can check that account have subscribed or not. Below is code get info subscribe of […]
Magento get all children category follow store and parent category
Magento support use with more other websites and other stores. To work with category in each stores, in this post, I will guide for you […]
Config RSS Feeds trong magento
RSS được dùng phổ biến để chia sẻ những tiêu đề thông tin mới nhất hay toàn bộ nội dung của nó, và ngay cả các tập […]
Set condition add item action Magento
Set condition add item action Magento Trong Magento, để thêm một file css hay js vào một handle nào đó chúng ta cỏ thể gọi trong […]
Xuống dòng trong editor wordpress
Xuống dòng trong editor wordpress Khi post bài trong wordpress chúng ta thường gặp tình trạng trình editor của wordpress không lưu những dòng trắng […]
Kiểm tra home page trong Magento
Để kiểm tra home page trong Magento ta sử dụng đoạn code sau: $routeHome = Mage::app()->getFrontController()->getRequest()->getRouteName(); $actionHome = Mage::app()->getFrontController()->getRequest()->getActionName(); if($routeHome == ‘cms’ && $actionHome == […]