My featured products sidebars are showing the products out of stock, when they are in stock.
I had this issue also with my main products but was able to fix it, last issue I have not been able to find a solution.
Site:
http://phpstack-524998-1671014.cloudwaysapps.com/
Opencart Version 3.0.3.6
Limo Theme
https://themeforest.net/item/limo-multi ... e/23246542
(Additional) Installed Extension(s)
Swiper
---
PS. DEV Info: Megnor Themes are partly also offered in the OC Extension Section, it's
therefore not just simply an 'Outside OC' matter, that's, why I placed the topic here. Ernie
https://www.opencart.com/index.php?rout ... n_id=28024
I had this issue also with my main products but was able to fix it, last issue I have not been able to find a solution.
Site:
http://phpstack-524998-1671014.cloudwaysapps.com/
Opencart Version 3.0.3.6
Limo Theme
https://themeforest.net/item/limo-multi ... e/23246542
(Additional) Installed Extension(s)
Swiper
---
PS. DEV Info: Megnor Themes are partly also offered in the OC Extension Section, it's
therefore not just simply an 'Outside OC' matter, that's, why I placed the topic here. Ernie
https://www.opencart.com/index.php?rout ... n_id=28024
Contact the theme developer - Opencart default does not have out of stock functionality on featured products.
PS - so in this case it is !
PS - so in this case it is !
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Any idea on how I could figure it out, or point me in the right direction of were its controlled?"
Other then contacting the theme developer. I know this theme is not compatible with the new version, but I have managed to fix everything other then this last bit.
Other then contacting the theme developer. I know this theme is not compatible with the new version, but I have managed to fix everything other then this last bit.
You could always contact an Opencart partner to contact me directly via PM to get this fixed as a custom job.MSDCode wrote: ↑Fri Jan 15, 2021 4:30 amAny idea on how I could figure it out, or point me in the right direction of were its controlled?"
Other then contacting the theme developer. I know this theme is not compatible with the new version, but I have managed to fix everything other then this last bit.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Ive partially figured out the issue, or atleast a temporary work around.
I was able to find the files controling it.
Looks like it has to do with this string.
<div class="{% if product.qty > 0 %}image{% else %}image outstock{% endif %}">
Its not reading the quanity, if i remove the else, it works. but would love to know if maybe this syntax changed on the new opencart version?
I was able to find the files controling it.
Looks like it has to do with this string.
<div class="{% if product.qty > 0 %}image{% else %}image outstock{% endif %}">
Its not reading the quanity, if i remove the else, it works. but would love to know if maybe this syntax changed on the new opencart version?
That line is nowhere to be seen in the core. As mentioned on the above, simply contact the extension developer to resolve this issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes its not, I found this in an extension for the limo theme here /template/extension/module/featured.twig and /template/extension/module/latest.twig
Some reason it can't detect the stock, if anyone has any resource's on how I could fix this properly, It would be much appreciated, if not this will do for now
Some reason it can't detect the stock, if anyone has any resource's on how I could fix this properly, It would be much appreciated, if not this will do for now

Contact the developer or create a new Service Request. The issue you are reporting is not supported on the forum.MSDCode wrote: ↑Fri Jan 15, 2021 9:33 pmYes its not, I found this in an extension for the limo theme here /template/extension/module/featured.twig and /template/extension/module/latest.twig
Some reason it can't detect the stock, if anyone has any resource's on how I could fix this properly, It would be much appreciated, if not this will do for now![]()
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 5 guests