E
E
Eugene2017-06-26 07:23:12
Yii
Eugene, 2017-06-26 07:23:12

What is the best way to make a modal window with products in yii2?

Can you please tell me how best to make a modal window in yii2?
I have a link to this window in the template as follows:

<a class="btn btn-quickview" data-toggle="modal" data-target="#product-quickview">Quick View</a>

and in the same view I have a code with such a modal window that looks like:
f428f86781fd48f6a1536d67e96a3941.png
How to make such a modal window with a separate product in yii2?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2017-06-26
@bitver

Your question does not match what you want, as far as I understand.
Either make 1 modal window and dynamically insert content into it depending on the button pressed, or (worse) for each product a modal window with a unique id.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question