Zen Cart Logo
Forums / Customization from the Admin / Brands Side Box

Brands Side Box

Views: 1,990

Results 1 to 8 of 8
31 Mar 2025, 14:22
#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.

01 Apr 2025, 17:17
#2
allmart avatar

allmart

Zen Follower

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

Re: Brands Side Box

Anyone?

02 Apr 2025, 02:21
#3
royaldave avatar

royaldave

Zen Follower

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

Re: Brands Side Box

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

02 Apr 2025, 09:53
#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.

02 Apr 2025, 18:56
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
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?

02 Apr 2025, 19:52
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
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.

02 Apr 2025, 20:26
#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,

02 Apr 2025, 20:29
#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