Recent Post

All Pages

Like Us On Facebook

About

Gallery

Thứ Năm, 23 tháng 10, 2014

Magento - Cái nhìn tổng quan về Magento

Cấu trúc thượng tầng của MagentoNền tảng xây dựng nên Magento Cấu trúc MVC của MagentoMagento, cũng như nhiều nền tảng ứng dụng khác, được xây dựng trên một bộ khung phát triển phần mềm chuẩn. Bộ khung...
Read more ...

Code - Model class trong Magento

$headBlock->setTitle($title);$product = $this->getProduct();            $title = $product->getMetaTitle();$currentCategory = Mage::registry('current_category');setDescription(Mage::helper('core/string')//...
Read more ...

Layout - Trình tự load layout trong Magento

Đọc cái này:http://magebase.com/magento-tutorials/digging-deeper-into-magentos-layout-xml-part-...
Read more ...

Template - Mối quan hệ giữa Block - Template - Layout trong Magento

Tham khảo Link sauhttp://alanstorm.com/layouts_blocks_and_templat...
Read more ...

Products - Thêm thông tin mã hàng SKU vào trang product trong Magento

Mở file template cho trang products tại app/design/frontend/default/your-theme/template/catalog/product/view.phtmlNgay sau đoạn code:<div class="product-name"><h1><?php echo $_helper->productAttribute($_product,...
Read more ...

Magento - Khuyết điểm lớn nhất của một website dựa trên nền tảng Magento là gì ?

Trả lời:Theo kinh nghiệm của bản thân tôi cũng như nhiều bạn bè trong giới lập trình web thì khuyết điểm lớn nhất của Magento chính là "Website Magento thường chạy chậm" so với các Framework...
Read more ...

Magento - Những yêu cầu của một website thương mại điện tử chuyên nghiệp là gì ?

Trả lời: Phải có những tính năng cơ bản của Magento xem thêm chi tiết.Phải có khả năng đáp ứng ổn định trên mọi trình duyệt web khác nhau như Chrome, Firefox, Safari, Opera, Internet Explorer,...
Read more ...

Magento - Vì sao chọn Magento làm website bán hàng ?

Trả lời: Magento đã là sự lựa chọn của nhiều website bán hàng hàng đầu thế giới như ebay.com, amazon.com, ở Việt Nam như lazada.vn... Magento chính là sự lựa chọn hàng đầu cho một cuộc chơi thượng...
Read more ...

Thứ Hai, 22 tháng 9, 2014

Static block - Thêm trực tiếp một Static Block vào một file template .phtml trong Magento

Thêm Static Block thông qua Identifier trực tiếp vào templates (.phtml)<?php echo $this->getLayout() ->createBlock('cms/block') ->setBlockId('your_block_id')->toHtml(); ?> Code...
Read more ...

Static Block - Cách chèn một static block vào CMS page trong Magento

Tạo Static Block: CMS => Static Blocks => Add New Block.Ví dụ Block mới tạo có Identifier là: your_block_idChèn Static Block vào một trang CMS Pages:{{block type="cms/block" block_id...
Read more ...

Google Sitemap - Cách tạo google sitemap cho một store view trong magento

Magento tích hợp sẵn tính năng tạo sitemap cho một Store View bất kỳ. Sitemap là một file có phần mở rộng .xml, mục đích của việc tạo sitemap là giúp cho bộ máy tìm kiếm (ví dụ google, yahoo, bing ..vv....
Read more ...

Thứ Ba, 16 tháng 9, 2014

Static Block - Gọi một Static block và đặt vào một trang CMS page trong magento

Trong phần content của một trang CMS page bất kỳ. Gọi một Static block thông qua Identifier của nó theo cú pháp sau đây:{{block type="cms/block" block_id="block_identifier"}}Muốn xác định Block Identifier:Bước...
Read more ...

Thứ Hai, 8 tháng 9, 2014

Products - Các loại sản phẩm ( Product Type ) trong Magento

Magento hỗ trợ tạo nhiều loại sản phẩm khác nhau.Đăng nhập vào phần quản trị Admin ( Backend Magento ).Truy cập menu quản lý sản phẩm Catalog => Manage products.Trong cửa sổ mới hiện ra...
Read more ...

Products - Các bước tạo Downloadable Product trong Magento

Viết sau....
Read more ...

Products - Các bước tạo Bundle Product trong Magento

Viết sau....
Read more ...

Products - Các bước tạo Virtual Product trong Magento

Viết sau....
Read more ...

Products - Các bước tạo Configurable Product trong Magento

Viết sau....
Read more ...

Products - Các bước tạo Grouped Product trong Magento

Viết sau ....
Read more ...

Products - Các bước tạo Simple Product trong Magento

Viết sau....
Read more ...

Extentions - Ajax Image Uploaded dễ dàng upload hình ảnh sản phẩm trong Magento

Cấu trúc file và  thư mục của Extention này:/app/   /app/code/   /app/code/local/   /app/code/local/Amasty/   /app/code/local/Amasty/Base/   /app/code/local/Amasty/Base/Block/ ...
Read more ...

Extentions - Advanced Custom Options tuỳ chỉnh thuộc tính Attribute mở rộng cho sản phẩm trong Magento

Hỗ trợ Magento 1.4.x, 1.5.x, 1.6.x đến 1.7.xCấu trúc file và thư mục của extention này:/app//app/code//app/code/local//app/code/local/MageWorx//app/code/local/MageWorx/Adminhtml//app/code/local/MageWorx/Adminhtml/Block//app/code/local/MageWorx/Adminhtml/Block/Customoptions//app/code/local/MageWorx/Adminhtml/Block/Customoptions/Abstract.php...
Read more ...

Thứ Bảy, 6 tháng 9, 2014

Custom options - Tất cả các loại option tuỳ chỉnh trong Product của Magento

Truy cập Custom Options trong Magento như sau:- Vào Backend Magento- Menu Catalog => Manage Product => Chọn một product bất kỳ trong danh sách- Trong trang chình sửa cho Product vừa chọn, nhìn...
Read more ...

Thứ Sáu, 5 tháng 9, 2014

Currency - Đổi đơn vị tiền tệ từ "đ" thành "VNĐ" trong Magento

Để thay đổi ký hiệu ( symbol ) cho các đơn vị tiền tệ trong Magento. Bạn làm như sauBước 1:- Đăng nhập phần quản trị Admin của MagentoBước 2:- Truy cập menu System => Manage Currency => Symbols-...
Read more ...

Currency - Bỏ 2 chữ số thập phân của giá sản phẩm trong Magento

Ban đầu: 22.000,00đKết quả: 22.000đCách thực hiện như sau:Bước 1: Vào thư mục code/core/Mage/Directory/Model/Currency.phpCopy file Currency.php và chuyển vào thư mụccode/local/Mage/Directory/Model/Currency.php(...
Read more ...

Thứ Tư, 3 tháng 9, 2014

Multi Language - Thêm file dịch đa ngôn ngữ .CSV cho module trong Magento

Bước 1: Khai báo file dịch .CSV cho module bất kỳ cho Frontend và Backend Magnento.Mở file /app/code/local/Company_Name/Module_Name/etc/config.xml<?xml version="1.0"?><config>    <frontend>        ...        <translate>            <modules>                <Companyname_Modulename>                    <files>                        <default>Companyname_Modulename.csv</default>                    </files>                </Companyname_Modulename>            </modules>        </translate>    </frontend>    <adminhtml>        ...        <translate>            <modules>                <Companyname_Modulename>                    <files>                        <default>Companyname_Modulename.csv</default>                    </files>                </Companyname_Modulename>            </modules>        </translate>    </adminhtml>    ...</config>Bước...
Read more ...

Biểu mẫu liên hệ

Tên

Email *

Thông báo *