Hello, I'm Paul. I'm working on adding a solidus ...
# general
p
Hello, I'm Paul. I'm working on adding a solidus store to my portfolio page. However, after looking at the default admin panel, I was wondering if anyone can give me pointers with how to customize certain views. It seems like overrides and deface is the way to go, but I'm having difficulties figuring out what code to reference. I'm trying to add a view for Projects under Orders in the admin sidebar. Ideally, I could manage my portfolio projects in the same admin panel. But I'm struggling with figuring out what I need to adjust to make it work. What's a good way to learn?
s
If you want to add a new menu Item in the admin panel and customize the backend https://guides.solidus.io/customization/customizing-the-backend/#adding-new-menu-items
🙌 1
c
Hi! I do a LOT of admin customization. I do a lot of looking at the Solidus repo on Github, finding a hook to hook into with deface, and then if necessary prepending modifications to models and controllers. You’ll also need to learn about whitelisting new attributes in config, if you plan to add attributes to models. You’ll need to learn Ransack, if you’d like to add more search features, like for attributed you add, to the basic functionality and api, as well. It’s quite the investment, but it’s worth it—full control. Which can be awesome for business-specific automation if a store gets popular, etc. Thinking about integrating ChatGPT to help with automating customers mails, recently—using a custom integrated mailers I created.
👍 1