Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Closed Public Category: Technical Support / Bugs Ticket #668

How to override thumbnail, main and additional images layout

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Peter Reill

How can I change the layout of the thumbnail, main, and additional product images? It's the site com_j2store wrapper-fluid view-products no-layout task-view j2c-4-0-20 j2store-single-product-view.

Olivier Buisard Staff

Hello Peter,

You need to create an override for view_images.php. This is where you will be able to modify the layout.

You can find the file at plugins/j2store/app_bootstrap5/app_bootstrap5/tmpl/bootstrap5 if you are using the bootstrap 5 sub layout. Most likely it is the sublayout you are using.

The file must be copied and pasted to your template at templates/[your template]/html/com_j2store/templates/bootstrap5/. If the path does not exist, you need to create it manually.

I hope this helps.

Olivier.

Peter Reill

Hello Olivier,

thank you for the information. The override now works perfectly. After some testing and experimentation, I have decided to use the native Joomla article view and implement a j2store/product override with the item_images.php file.

Regards Peter