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 […]
Tag: develop
Download Windows XP PS2 Home Edition
Windows XP là một dòng hệ điều hành do Microsoft sản xuất dành cho các máy tính cá nhân chạy trên các bộ xử lý […]
Download Windows 98 Second Edition
Windows 98 (tên mã Memphis) là một hệ điều hành giao diện đồ họa được Microsoft giới thiệu vào ngày 25 tháng 6 năm 1998. […]
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 == […]
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. […]
Event change price in cart Magento
In Magento, event been used a lot. Event in Magento is very strong. If you want change price in cart of Magento, but not is […]
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 […]