Answer the question
In order to leave comments, you need to log in
How to integrate your own layout into miniShop2 / MODX?
Hello.
I've looked at the documentation , but still haven't figured out how to add my own styling to elements when using miniShop2. For example, how to create a product output chunk?
In pdoTools, such a procedure is described in great detail and clearly, it is easy to understand.
Please tell me, if possible, “point your finger” where to look at the documentation in order to understand how to add your own layout / styles when displaying page elements through miniShop2 ?
Answer the question
In order to leave comments, you need to log in
Good afternoon!
Well, how about, for example, the output of goods through msProducts,
we look at the parameter table here: https://docs.modx.pro/components/minishop2/snippet...
By default, tpl.msProducts.row is used, create your own chunk, for example, myNewChunk, edit it according to your layout, then when displaying products, in addition to other parameters, specify:
My inattention .... I should have looked at the documentation for snippets ....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question