K
K
Karen Mnatsakanyan2017-07-22 21:32:01
Arrays
Karen Mnatsakanyan, 2017-07-22 21:32:01

Banner module for Opencart 2.3?

Hi all!
Tell me the banner module for opencart 2.3, the standard banner module lacks additional fields, I need at least 4 fields module prntscr.com/fyyxhw Image, Title, Description, Price. prntscr.com/fyyxhw
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
0
0xD34F, 2019-02-10
@zevem

$grouped = array_values(array_reduce($data, function($acc, $n) {
  $id = $n['store_id'];
  if (!isset($acc[$id])) {
    $acc[$id] = [ 'store_id' => $id, 'product_id' => [] ];
  }
  $acc[$id]['product_id'][] = $n['product_id'];
  return $acc;
}, []));

V
Vasyl Vandych, 2017-07-24
@karjan

So, it’s not easier to install the module “goods slider, and everything stretches there at once” and it’s not necessary to redo anything.
https://www.opencart.com/index.php?route=marketpla... for an example

Z
zoozag, 2017-09-05
@zoozag

The Revolution slider is very fancy. Link
There you can add many objects to the slide (texts, pictures, buttons, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question