A
A
Arthur Strezhinov2017-08-25 02:32:33
Yii
Arthur Strezhinov, 2017-08-25 02:32:33

How is the product type implemented?

Guys how in yii2 the product type is implemented tile, table and list
a2XnM6ETyQLvdr.png
Maybe someone has something written?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton, 2017-08-25
@Eridani

You can even add your own class to the parent, it already has its own cascade of styles.

A
Alexander Aksentiev, 2017-08-25
@Sanasol

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.

M
Maxim Fedorov, 2017-08-25
@Maksclub

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 question

Ask a Question

731 491 924 answers to any question