child images on products listing

  • Posts: 222
  • Thank you received: 1
10 years 5 months ago #159439

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Is it possible to get on products listing page something like this: (small (child) images of the same product, but other colors(characteristics)





Thanks, Vero

Attachments:
Last edit: 10 years 5 months ago by Vero.

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
10 years 5 months ago #159459

Hi,

Anything is possible if you code it.
But this is more complex than two lines of code.
You need to first load the images from the database with a MySQL query for each product, and then use the display options of the image helper to handle that. And if you want the main image so switch dynamincally like on the product page, it requires also javascript code to be added to your HTML.
It will require that a developer do that for you if you're not a developer.
All that code can be added in the file "listing_img_title" of the view "product" via the menu Display>Views.

Please Log in or Create an account to join the conversation.

  • Posts: 222
  • Thank you received: 1
10 years 5 months ago #159567

Thanks for answer.
Yes, I understand. Of course, I can always ask for help developers, but I want to learn for myself, I find it interesting and want to know how it works and why. I think the code already exists, because it works on product page. Just it have to be placed in the right place.
A customer is now spoiled, he wants to see on a product listing page all variations offered, so I think it is wise to encrypt such function on overview pages. All big webshops have it.

I tried to add the code from "show_block_img" to "listing_img_title" but it no works. Can you do it for me? How much it will cost?

Thanks for help, Vero

Last edit: 10 years 5 months ago by Vero.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 5 months ago #159611

Hello Vero,

I tried to add the code from "show_block_img" to "listing_img_title" but it no works. Can you do it for me? How much it will cost?


If this implementation is really urgent for you, please use the " contact us " form for a quote. You can also use the section " commercial jobs " in this forum in order to be contact by external developers.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum