Product image appearing in list view when show Image is set to No

  • Posts: 93
  • Thank you received: 7
  • Hikashop Business
1 day 7 hours ago #372384

-- HikaShop version -- : 6.5 business
-- Joomla version -- : 5.4.6
-- PHP version -- : 8.2.31
-- Browser(s) name and version -- : Firefox 152.0.1
-- Error-message(debug-mod must be tuned on) -- : none

I have a product listing page set to table view with Image Display set to No. The image is displaying anyway. All other views hide the image properly.

Is it possible to add a Display Product Code option to list view ?

Thanks

Dave

Last edit: 1 day 6 hours ago by daduts.

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

  • Posts: 93
  • Thank you received: 7
  • Hikashop Business
1 day 6 hours ago #372385

title is wrong....it's table view not list view

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

  • Posts: 85786
  • Thank you received: 14079
  • MODERATOR
1 day 3 hours ago #372386

Hi,

The image and the product code are handled by two different settings, and neither is the listing's "Show image" option.

In the table layout the product image column follows the global "Thumbnails" setting in Configuration > Display, not the listing's "Show image" option. That option only controls the category image shown above the listing, not the product thumbnails, which is why turning it off leaves the thumbnail in the table.

To remove it from the table listing you have two options:
- turn "Thumbnails" off in Configuration > Display (the block layouts that have "image" in their name keep their images by design, so this mainly affects the table layout and the non-image layouts), or
- hide it with CSS on that page:

.hikashop_product_image_row, th.hikashop_product_image { display: none; }

For the product code, the option already exists: turn on "Product code" in Configuration > Display. It adds a code column to the table layout and shows the code next to the product name in the list layout, so there is nothing extra to add per view.

The following user(s) said Thank You: daduts

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

Time to create page: 0.055 seconds
Powered by Kunena Forum