Page 1 of 1

[Solved] Journal2 > Carousel

Posted: Thu Aug 23, 2018 7:19 pm
by Shinpe
Hello guys,
I'm using journal2 Theme on opencart 2.0.1 and i would like to know if you can help me with a mod.
I have a side carousel with random products poping up but i have some products without image.
How can i prevent those products from appearing on the carousel?
Have in mind that i only want them to be removed from the carousel and not from the website itself.

Best Regards,
Levi Barros

Re: Journal2

Posted: Fri Aug 24, 2018 6:24 pm
by straightlight
If you are using an extension from the Marketplace or from a 3rd party website, contact the extension developer to resolved this issue or create a new service request in the Commercial Support section of the forum to get this done as a custom job.

Re: Journal2

Posted: Fri Aug 24, 2018 7:14 pm
by Shinpe
I got it to work.
You just need to go to catalog/controler/module and search for journal carousel.
Around line 358 you add this code

Code: Select all

if ($product['image']) {
					$image = $this->model_tool_image->resize($product['image'], $this->config->get('config_image_product_width'), $this->config->get('config_image_product_height'));
				} else {
					continue; }
and its done.