Post by lordohtu » Thu Sep 20, 2018 5:12 am

Hello everyone, exactly what the title says. I am trying to add an image in the product preview on the grid / list view of the category. Check the image attached to see what I want to do.
Image
Thanks a lot in advance with any help you can provide on how to do this.

Newbie

Posts

Joined
Tue Feb 28, 2017 4:50 am

Post by IP_CAM » Thu Sep 20, 2018 9:26 am

Well, you will have to SET an image Link into every Product, within the Admin Section,
to achieve such, so, I linked a couple of OC-2 Extensions, wich could possibly serve your needs,
without having to design a complete Extension for this, since that could get expensive.
Buit if you cannot handle such, you'll have to get it made. The first one seems to match best.
Good Luck! ;)
Ernie
---
Extra field module product
https://www.opencart.com/index.php?rout ... n_id=25267
Image
---
cattributes
https://www.opencart.com/index.php?rout ... n_id=13609
---
Stock in Product List by viethemes
https://www.opencart.com/index.php?rout ... n_id=23095
---
Weight in Product List by viethemes
https://www.opencart.com/index.php?rout ... n_id=23113
---

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by lordohtu » Thu Sep 20, 2018 9:31 pm

Thanks Ernie, I will try these out and see if they work for me. I only need one image there and it's tiny. Hopefully it'll work.

Newbie

Posts

Joined
Tue Feb 28, 2017 4:50 am

Post by IP_CAM » Fri Sep 21, 2018 10:03 am

Well, if this image is always the same, on all Products shown, it could be achieved
much easier, by just adding a fixed image-link into the theme category-page File.
One of the extensions above would only be used, if different Products will use
different images, just to have this mentioned too ! ;)
Good Luck!
Ernie
---
untested additional product section image placement in category.twig file,
would have to be done in other Listings, like Specials, Favourites, Latest, e.t.c.,
as well, if such an image needs to show up there as well.
Image

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 70 guests