Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/itvn9online/echbay-shopee-link/archive/refs/heads/main.zipUpdates itself. It ships its own updater, so new versions appear under Dashboard → Updates.
EchBay Shopee Link Simple
Plugin WordPress đơn giản để thêm nút "Mua ngay tại Shopee" vào trang chi tiết sản phẩm WooCommerce.
Mô tả
Plugin này sẽ hiển thị nút link Shopee trên trang chi tiết sản phẩm WooCommerce nếu sản phẩm có đường dẫn Shopee được cấu hình trong custom field.
Yêu cầu hệ thống
- ✅ WordPress 5.0+
- ✅ WooCommerce 5.0+ (Bắt buộc)
- ✅ Advanced Custom Fields (ACF) (Bắt buộc)
- ✅ PHP 7.4+
Cài đặt
Bước 1: Cài đặt plugin yêu cầu
1. Cài đặt và kích hoạt WooCommerce
2. Cài đặt và kích hoạt Advanced Custom Fields
Bước 2: Cài đặt plugin EchBay Shopee Link
1. Upload thư mục echbay-shopee-link vào /wp-content/plugins/
2. Kích hoạt plugin trong WordPress Admin
Bước 3: Tạo Custom Field
1. Vào Custom Fields Field Groups trong admin
2. Tạo field group mới với tên "Shopee Link"
3. Thêm field:
- Field Label: Shopee Link
- Field Name: shopeelink
- Field Type: URL hoặc Text
4. Đặt Location Rules: Show this field group if Post Type is equal to Product
5. Publish field group
Cách sử dụng
1. Chỉnh sửa sản phẩm trong WooCommerce
2. Scroll xuống tìm section "Shopee Link"
3. Nhập URL Shopee của sản phẩm (ví dụ: https://shopee.vn/...)
4. Cập nhật sản phẩm
5. Xem trang