Closed samuk190 closed 4 years ago
Hi @samuk190, could you be more explicit about what you are trying to achieve (use case)? I may be able to point you in the right direction.
Hi @samuk190, could you be more explicit about what you are trying to achieve (use case)? I may be able to point you in the right direction.
I have a form to create a product, but each product have his own subproducts, I want to be able to add,edit, and update these subproducts when creating a new product. I tried with ajax(DataTables) but didnt manage to work with backpack admin, as it loads the datatables twice.
Well, it seems to be an architecture question rather than this package use.
However, here is the way I would simply build this kind of architecture :
laravel-table
with the sub-products, allowing to manage all the sub-products (creating, editing, deleting) on the related product.As soon as you want to allow the creation of sub-products for a product that is not already created, you expose yourself to build more complicated architecture and it is sometimes not really worth it.
I didnt find anything about it