Content không hiển thị hoặc không work khi view page
Last updated
Last updated
Đây sẽ là lỗi mà khách hay contact support nhất và giải quyết dễ nhất.
Ví dụ khách contact nói trong editor các section như slidershow, testimonial, faq, product variant... work tốt. Nhưng khi view page thì k work. Các bạn có thể check theo 2 cách sau:
+ View page đó, check Inspect => tab Console, nếu thấy có thông báo lỗi jquery như ảnh phía dưới thì vào App dashboard => Setting => Enable jquery. Lỗi này là do theme mà khách đang dùng không có jquery, nên phải bật ở app.
+ Sau khi bật jquery, vào edit page => Refresh workspace => Publish => View page để check lại.
Lưu ý: Chỉ được bật jquery khi mà check thấy có thông báo thiếu jquery như ảnh. Trường hợp khác các bạn có thể thử bật lên và check, nhưng nếu không giải quyết được vấn đề thì phải tắt đi ngay. Vì nếu theme mà khách đang dùng đã có jquery rồi, mà bật thêm ở app nữa sẽ gây xung đột và gây ra các lỗi khác cho theme.
Link autofix là một tool mà dev làm ra để fix một số lỗi như style của text trên live page show không đúng như trong editor, hoặc một section nào đó show ở editor nhưng không show ở live page. Khi gặp các trường hợp này các bạn có thể mở link login của khách trước, sau đó mở link này http://beta.layouthub.com/autofix
Sau khi chạy link auto fix xong, các bạn cũng vào edit page và thử Refresh workspace + publish page giống như case 1 ở trên và check lại page xem sao.