Hướng dẫn cài đặt và sử dụng opencart trên localhost Appserv

Posted by adminthuylieu16 14/04/2023 12 Comment(s)

Trước hết các bạn phải tải AppServ và mã nguồn Opencart

Bước 1: Tải và cài đặt phần mềm websever (apache)

Bước 2: Tải mã nguồn mở Opencart mới nhất: 

http://www.opencart.com/index.php?route=download/download

Sau khi tải và cài xong Appserver ta tiến hành giải nén tập tin Opencart vào thư mục "C:\AppServ\www" trong ổ đĩa C

Bước 3: Sau khi tải xong tiến hành giải nén tập tin Opencart: nhấp chuột phải lên tập tin và chọn "Extract Here"

Copy thư mục “ Upload ” vừa giải nén ra và paste vào “ C:\AppServ\www ”

Bước 4: Chạy đường dẫn “ http://localhost ” và đăng nhập vào Appache rồi tạo một database mới (nhớ tên database để lát khai lúc cài Opencart)

Bước 5: Bắt đầu đưa web lên localhost

Chạy đường dẫn http://localhost/upload/index.php

Chọn “ I agree to the license ” -> “ Continue ”

Tiếp tục nhấn “ Continue ”. (Nếu tới bước này gặp lỗi thì search lỗi trên google nhé) rồi tùy chỉnh các thông số sau:

  • Database host:    localhost ( để nguyên )
  • User:    root
  • password :    ( pass khi cài appache )
  • Database name:       ( điền tên database vừa tạo lúc nãy )
  • Database prefix:    ( để trống – chỉ điền khi cài lên host )
  • Username:    admin    ( tên truy cập vào trang quản trị )
  • Password: 123456    ( pass để đăng nhập trang quản trị )
  • E-mail: alophukien2020@gmail.com    ( điền tên Email của bạn )

Nhấp “ Continue ”.

Vào “C:\AppServ\www\upload ” xóa thư mục “ Install ” hoặc có thể đổi tên file thành tên khác.

Chọn “ Goto your Online Shop ” và xem kết quả của bạn.

Vậy là đã chúng ta đã có một website đơn giản nhưng có đầy đủ các chức năng bán hàng.

Bước 6: Đăng nhập vào trang quản trị website

Chạy đường dẫn “ http://localhost/upload/admin ”

  • User: admin
  • Password: 123456 (user và password đã điền lúc nãy)
  • Chọn “ Hệ thống ” -> “ Cài đặt ” .Tiến hành chỉnh sửa cho phù hợp với bạn.

Bước 7: Hướng dẫn thêm hình thức thanh toán :

-Tạo hình thức chuyển khoản qua ngân hàng : Chọn “ Phần mở rộng ” -> “ Thanh toán ” -> “ Cài đặt” -> “ Sửa ” .

Điền thông tin của bạn .Xem hình dưới đây.

Chỉnh sửa xong nhấn nút “ lưu ” ở trên góc phải của trang.

Nếu muốn thêm các hình thúc thanh toán khác thì làm tương tự như trên.

8) Hướng dẫn thêm Tiền Tệ :

Chọn “ Hệ thống ” -> “ Địa phương ” -> “ Tiền tệ ” -> “ Thêm ”.

Việt Nam:

Tiêu đề Tiền Tệ : VNĐ

Mã : GBP

Ký tự trước : Bỏ trống

Ký tự sau :  VNĐ

Số thập phân : Bỏ trống

Giá Trị : 1.00000000

Tình Trạng : Bật

Lưu lại.

Sau đó vào Hệ thống = > Thiết lập => Sửa

Phần Khu vực ==> Tiền Tệ => Chọn VNĐ

Xong chọn lưu lại nhé

Chúc các bạn thành công./.

12 Comment(s)

Jean Caldwell:
03/10/2025, 09:50:34 PM, levited.com
Reply

This is a topic which is close to my heart… Best wishes! Exactly where are your contact details though?

Sarah Gonzalez:
07/10/2025, 12:33:18 AM, antibact.sbs
Reply

You made some decent points there. I looked on the web for more info about the issue and found most people will go along with your views on this web site.

Sarah Gonzalez:
07/10/2025, 03:51:52 AM, antibact.sbs
Reply

You made some decent points there. I looked on the web for more info about the issue and found most people will go along with your views on this web site.

Kerry Robinson:
10/10/2025, 03:36:19 AM, dapoxetined.org
Reply

I like it whenever people come together and share ideas. Great website, continue the good work!

Steven Joyce:
10/10/2025, 03:25:13 PM, amoxibest.top
Reply

My family members always say that I am killing my time here at web, except I know I am getting know-how daily by reading such good posts.

Connie Gibson:
11/10/2025, 12:41:20 AM, medshop24h.top
Reply

I am sure this article has touched all the internet people, its really really fastidious paragraph on building up new website.

John Torres:
11/10/2025, 08:57:26 PM, tadalah.com
Reply

I simply could not depart your web site prior to suggesting that I actually enjoyed the standard info a person provide to your guests? Is going to be again continuously in order to check up on new posts

Susan Armstrong:
12/10/2025, 04:54:14 AM, sildenafiil.cc
Reply

Enjoy a look at this latest PE, and stay tuned for looks at more of Kobes final season of sneakers.

Lisa Olson:
12/10/2025, 04:05:29 PM, propeciaa.sbs
Reply

I simply couldn't go away your site prior to suggesting that I really enjoyed the usual info a person provide on your visitors? Is going to be again frequently to check out new posts

Paul James:
12/10/2025, 10:33:27 PM, sildenaguide.com
Reply

I simply could not go away your site before suggesting that I really loved the usual info a person provide in your visitors? Is going to be again continuously in order to check up on new posts

Amy Thomas:
28/10/2025, 02:14:53 AM, zithromax24h.sbs
Reply

I am sure this article has touched all the internet users, its really really pleasant paragraph on building up new website.

Edgar Brown:
29/10/2025, 07:34:26 AM, kamagras.shop
Reply

Youu madee somee really good ppoints there. I checked on tthe internett for mlre inf aboiut tthe issue annd fouhnd mot peoplpe wijll go along ith yor views oon this website.

Write a Comment