Search found 4 matches

Page 1 of 1

Search found 4 matches

Re: Enable / Disable banners

Maybe someone will need.
File: catalog/controller/extension/module/slideshow.php
Find line

Code: Select all

if (is_file(DIR_IMAGE . $result['image'])) {
and replace it by this

Code: Select all

if (is_file(DIR_IMAGE . $result['image']) && $result['sort_order'] > 0 ) {
Now banners with Sort Order = 0 will disabled

Jump to post
  • Sat May 18, 2019 12:38 am
  • Replies 5
  • Views 146
Re: Enable / Disable banners

I need to disable (hide) one banner from five. I dont need to disable whole slideshow.
Maybe do a check by sorting number, and hide banners with number = 0
But what php-code add to controller for this function?

Jump to post
  • Fri May 17, 2019 6:28 pm
  • Replies 5
  • Views 146
Enable / Disable banners

Hello, Friends!
For example, 5 banners are rotated in slideshow, I need to disable one of them for one or two days (but not delete).
Share the solution if there is. Opencart 2.3
Thanks a lot!

Jump to post
  • Fri May 17, 2019 6:04 pm
  • Replies 5
  • Views 146
CoinGate module problem

Hello! I am using Bitcoin and Altcoin Payment Gateway - CoinGate for OC 2.3.0.2, and module is working ok, except that it will not save the statuses inside the module config page. Error log floods these messages when saving the config page: 2019-04-20 9:12:54 - PHP Notice: Undefined variable: coinga...

Jump to post
  • Mon Apr 22, 2019 12:47 am
  • Replies 2
  • Views 195

Page 1 of 1

Search found 4 matches