| Thêm 1 trường vào form liên hệ sản phẩm | ![]() | ![]() | ![]() |
Đa số các shop của Việt Nam là không có thanh toán trực tuyến, vì thế, form hỏi thông tin sản phẩm lại hữu dụng. Form này được xuất hiện khi bạn đặt chế độ của shop là catalog mode hoặc là không có giá cho sản phẩm. File template cần thao tác chính là components/com_virtuemart/themes/default/templates/pages/shop.ask.tpl.php Các bước dưới đây sẽ hướng dẫn thêm trường số điện thoại vào form contact 1. Thêm biến ngôn ngữ: Mở: administrator/components/com_virtuemart/languages/shop/english.php, thêm vào cuối file dòng
2. Mở components/com_virtuemart/themes/default/templates/pages/shop.ask.tpl.php
4. Mở administrator/components/com_virtuemart/classes/ps_communication.php 5. Tại dòng sau đó 6. Tại dòng 205, thêm: 7. Mở components/com_virtuemart/themes/default/templates/order_emails/enquiry_email.tpl.php Thêm: Sưu tầm và dịch bài của kram: http://forum.virtuemart.net/index.php?topic=46943.msg151142#msg151142 Tin mới hơn:
Tin cũ hơn:
|













