T
T
Terroris3372021-05-06 17:00:53
Laravel
Terroris337, 2021-05-06 17:00:53

How to implement the creation of a product filling template?

Good day, you need to implement the creation of a template for goods in the store. Each category needs a separate template that will affect the product creation form in the admin panel depending on the category, that is, each product will have a unique set of characteristics depending on the product category.
You also need the ability to create / edit (delete and add characteristics) a template in the admin panel.
So far, there is an idea to store the template in a separate table in the database in HTML format and simply upload the template (HTML code) to the product creation page.
What is the best way to accomplish this task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pLavrenov, 2021-05-11
@Terroris337

Just substitute in the return view() the desired path of the add form template.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question