- Các trường trong trang checkout như sau
- billing
- billing_first_name
- billing_last_name
- billing_company
- billing_address_1
- billing_address_2
- billing_city
- billing_postcode
- billing_country
- billing_state
- billing_email
- billing_phone
- shipping
- shipping_first_name
- shipping_last_name
- shipping_company
- shipping_address_1
- shipping_address_2
- shipping_city
- shipping_postcode
- shipping_country
- shipping_state
- account
- account_username
- account_password
- account_password-2
- order
- order_comments
2. Thuộc tính Mỗi fields gồm các thuộc tính sau
- type – type of field (text, textarea, password, select)
- label – label for the input field
- placeholder – placeholder for the input
- class – class for the input
- required – true or false, whether or not the field is require
- clear – true or false, applies a clear fix to the field/label
- label_class – class for the label element
- options – for select boxes, array of options (key => value pairs)
Bài viết mới:
- [code] Dùng hình ảnh đầu tiên của post làm hình đại diện
- Plugin chèn code vào wordpress để chia sẻ trong bài viết Crayon Syntax Highlighter
- 5 phần mềm khôi phục dữ liệu trả phí tốt nhất cho Windows
- Truy tìm vị trí của laptop bị mất với Find My Device của Windows 10
- Hướng dẫn các bạn khôi phục các file bị mất hoặc bị xóa bằng công cụ của Windows 10







