#778 Brand/Manufacturer is not displayed in the preview cards

Posted in ‘Technical Support / Bugs’
This is a public ticket

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

Latest post by dario gualà on Wednesday, 13 May 2026 10:59 UTC

dario gualà

The brand (Manufacturer or Producer or Manufacturer) is displayed only in the full product sheets but is not shown in the preview cards, neither in the module nor in the category list view options. All options are enabled both in the J2Commerce component and in the J2Commerce Products Display module as well as in the Product List View type menu. I, of course, correctly created the manufacturers in the J2Commerce component and associated the products with the manufacturers.

Thanks so much for your cooperation,

Dario

Olivier

Hello Dario,

please edit this ticket and add credentials for us to access your site and check your configuration. Thank you!

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

System Task
System Task
The ticket information has been edited by dario gualà (dargual@tin.it).

System Task
System Task
The ticket information has been edited by dario gualà (dargual@tin.it).

Olivier

Ok Dario, I checked your configuration.

It turns out the behavior you are experiencing is normal.

Only metadata such as manufacturor or brand is visible in the full product page.

In menu views, you can filter by brand, but that is the extend of it.

It would be possible to make an override and add $product->brand_name to the override to show the brand name.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

dario gualà

Thank you very much for your cooperation.

Your response confirms what I thought: I had, in fact, attempted a few overrides based on your documentation, but without success. I would appreciate some more technical information:
Considering that my current configuration is:
- Joomla 5
- Helix Ultimate template (shaper_helixultimate)
- J2Commerce (formerly J2Store) PRO version (free migration)
- Bootstrap5 sub-template for category and module views:

Which file should I copy for the override? (exact path starting from /components/com_j2store/...)

In which directory should I paste it? (exact path starting from /templates/shaper_helixultimate/html/...)

What is the exact PHP variable to use in the override file to retrieve the brand name? (e.g., $product->brand_name, $this->product->manufacturer->name, $this->item->manufacturer_name, or something else?)

Does this variable also work for products with variants? (e.g., perfumes with 30ml/100ml sizes)

Where is the brand name stored in the database? I noticed that the #__j2store_manufacturers table doesn't have a column for the name. Is it in another table (e.g., #__j2store_manufacturer_details or #__content)?

Olivier

Hi Dario,

manufacturers are saved in the #__j2store_manufacturers table but the full information can be found in the #__j2store_addresses table. So the brand name is the 'company' column of the latest.

When on a products list page, when iterating through the list (the product itself could be $item or $product depending on how the page is built), the brand name would be $item->brand_name or $product->brand_name, like I sugested in my previous answer.

The overrides go to your default template, under the html/com_j2store/templates/bootstrap5 folder.

You need to copy the files from plugins/j2store/app_bootstrap5/app_bootstrap5/tmpl/bootstrap5 and paste them in the overrides folder. I think the ones starting with default should be enough.

In default.php, you can see:

<?php foreach($this->products as $product):?>

This is where the loop is.

Now, if you want to add the brand name in a specific area for a product, you prodably have to override, for the simple product, for instance: default_simple.php.

In that file, you will want to add something like:

<?php if (!empty($this->product->brand_name)) : ?>
<div class="manufacturer"><?php echo $this->product->brand_name; ?></div>
<?php endif;?>

That should do the trick!

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

dario gualà

Thank you very much. I've got it. It works now.

 

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.