Forums / Customization from the Admin / Brands Side Box

Brands Side Box

Views: 2,031

Results 1 to 8 of 8
31 Mar 2025, 2:22 PM
#1
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Brands Side Box

I am updating my website to 2.1.0 and for the life of me, can't find the file to hide/show the brands side box on the page listing all products of the similar brand. it shows on all other pages.

1 Apr 2025, 5:17 PM
#2
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Brands Side Box

Anyone?

2 Apr 2025, 2:21 AM
#3
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
285
Plugin Contributions:
1

Re: Brands Side Box

Do all your sideboxes disappear along with it, or is this the only sidebox you're using?

2 Apr 2025, 9:53 AM
#4
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Brands Side Box

only the brands side box, but it appears on all other pages, just not on the page with products of the same brand.

2 Apr 2025, 6:56 PM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Brands Side Box

just not on the page with products of the same brand
do you have a url I could look at?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

2 Apr 2025, 7:52 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Brands Side Box

The original question isn't clear in my mind, but I'll note that the brands sidebox doesn't display on manufacturer listing pages; see /includes/modules/sideboxes/brands.php for details.

2 Apr 2025, 8:26 PM
#7
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Brands Side Box

thanks lat9

// test if brands sidebox should show
if ($current_page_base === FILENAME_BRANDS) {
return;
}
if ($current_page_base === FILENAME_DEFAULT && !empty($_GET['manufacturers_id'])) {
return;
}

What above has to be changed to over-ride the hiding of the brands side box?

Thanks,

2 Apr 2025, 8:29 PM
#8
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Brands Side Box

never mind:

// test if brands sidebox should show
if ($current_page_base === FILENAME_BRANDS) {
// return;
}
if ($current_page_base === FILENAME_DEFAULT && !empty($_GET['manufacturers_id'])) {
// return;
}

What a dope!

Thanks for your help