Answer the question
In order to leave comments, you need to log in
How is the product type implemented?
Guys how in yii2 the product type is implemented tile, table and list
Maybe someone has something written?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
You can even add your own class to the parent, it already has its own cascade of styles.
And what's the problem?
$_GET is the simplest with a template parameter, depending on it, you can already connect the necessary partial to display a table / list of goods.
No binding to yii, works the same everywhere.
You can store it in the session, you can store it in GET, you
took it from one engine, the code will make it clear to you by analogy - you need to do almost nothing, check the session when outputting, when you click on the button - set the value in the session
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question