M
M
MrFreeman942020-06-23 13:01:49
PHP
MrFreeman94, 2020-06-23 13:01:49

How to display category id using foreach in smarty?

There are two section blocks that output with foreach sliders!
I need the categories to start with id 1 and end with id 6 in one section block, and
in the second block they start with id 7 and end with id 12

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-06-23
@MrFreeman94

dump the element in a loop and see which key you can use to get the ID

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question