Post by adultplay » Wed Jan 26, 2022 11:57 pm

Hellooo peeps

My site updated to 3.0.3.8 last week and since then, the product child image has disappeared. The src seems to have changed to the following which shows the main category image as a thumbnail for ALL the sub categories. Does anyone know what the "SRC" should be so show the correct child subcategory image?

<ul>
{% for child in category %}
<li class="cat-choice"><a href="{{ child.href }}">{{ child.name }} </br><img src="{{ thumb }}" alt="{{ child.name }}" title="{{ child.name }}" class="img-thumbnail" /></li>
{% endfor %} </ul>

Newbie

Posts

Joined
Fri Jan 15, 2021 12:55 am

Post by xxvirusxx » Thu Jan 27, 2022 12:51 am

Download from back-ups old version and compare the files...
Or restore back old files version.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by adultplay » Thu Jan 27, 2022 1:45 am

Ive put the text back to what i had before but it still picks the thumbnail for the category, not the child/sub category. Once i click on it then the product list is all correct and showing the correct images, its just the sub catergory list images thats wrong.

You may see better what I mean here - http://www.shop.adultplay.uk/Sex-Toys/S ... For-Ladies
the image it puts for all the sub categories is the image for the main category. The code that seems changes remove or bring up a placeholder error for that image is the <img src="{{ thumb }}"> bit but i dont know what it now wants to pickup the correct image for the sub categories :(

Newbie

Posts

Joined
Fri Jan 15, 2021 12:55 am
Who is online

Users browsing this forum: No registered users and 267 guests