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 […]
Tag: magento
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 […]
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 == […]
Debug sql in Magento
To enable the debug sql in Magento. You let’s open to file: lib/Varien/Db/Adapter/Pdo/Mysql.php In content file Mysql.php. You let’s set value for two variable: protected […]
Update total products and price in cart Magento
After add or remove number products in cart by code. Example: event This code will update total number of products and price in current cart. […]
Update total item and price in cart Magento
After add or remove number products in cart by code. Example: event, etc.. This code will update total number of products and price in current […]
Rewrite url using config.xml in magento
To rewrite url using config.xml file in magento. We are insert below code to tab <global> in etc/config.xml file of you module.
Change price file using with product in Magento
If you want using a other file price.phtml to update price for products. But don’t influence to other products. You can using price other file for […]
Tìm hiểu Currency trong Magento
Tìm hiểu Currency trong Magento. Trong bài này tôi sẽ nói về cách sử dụng Curency trong magento. Magento hỗ trợ hầu hết các loại currency […]