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

Pending Public Category: Technical Support / Bugs Ticket #120

Overwrite single product and other pages

This is a public ticket

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

Conversation

info@dominik-dold.de

Hi, 
i need overwrites for all of the possible views like singe produkt, produkt category... and so on. where do i find for example single item? its not the obvious filename.. i checked those... not working. 

Adam Melcher Staff

Dominik,

 

Are you referring to template / layout overrides for the product and category pages?

 

If so, depending on what layout plugin you are using under the Apps section, (I believe it comes loaded with Bootstrap 4, but it should be Bootstrap 5. Either way, the easist way to create template layout overrides for those files would be:
In your Joomla template folder (website directory/templates):

  • Create a new folder structure inside <template name>/html/
  • com_j2store/templates

So the final structure should be:
root dir/templates/<template folder>/html/com_j2store/templates

 

Next step is inside the plugins folder look for:
root dir/plugins/j2store/app_bootstrap5 (or whatever plugin you are using) and then grab the bootstrap5 and tag_bootstrap5 folders from:
root dir/plugins/j2store/app_bootstrap5/app_bootstrap5/tmpl 

and copy/paste them into the folder you created in the first step above.

The files that start with default_ control the layout of the category pages and the files the start with view_ control the layout of the product detail pages.

 

Hope this helps!

 

Adam