Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / remove product listing drop down

remove product listing drop down

Locked

Views: 2,799

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
18 Sep 2006, 4:12 AM
#1
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

remove product listing drop down

On my page where all products are listed, there is a drop down box to sort products. I want to remove this, but cannot find it. How do I go about removing it?

18 Sep 2006, 4:17 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: remove product listing drop down

You mean the Alpha Sorter?

The Dropdowns are controlled in the Configuration ... Product Listing ...

18 Sep 2006, 4:23 AM
#3
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: remove product listing drop down

It's a dropdown to sort by product name, price, date added...

Can't seem to turn it off in config

18 Sep 2006, 4:36 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: remove product listing drop down

Oh that sorter on the All Products page ...

Why would you want to remove a convenience to your customer? :unsure:

You would need to customize the tpl_ file to not display that ...

Comment out the line:

require($template->get_template_dir('/tpl_modules_listing_display_order.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_listing_display_order.php'); ?>
18 Sep 2006, 5:01 AM
#5
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: remove product listing drop down

Commenting out that line seems to produce only errors. This is in tpl_product_info_disply.php, yes?

18 Sep 2006, 5:03 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: remove product listing drop down

Work with me here ...

Give me an URL where you want to make "something" go away ...

18 Sep 2006, 5:07 AM
#7
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: remove product listing drop down

I appreciate your efforts - really getting bogged down here:

http://www.balgaworks.org/gallery/index.php?main_page=products_all

I don't want the 'sort by' drop down box to appear at all. I am setting this up as a gallery with the option of later switching to a store with cart, etc. As a gallery, the drop down box serves no function - at least that I want.

EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ... :eek:

Thanks for that. Not thinking clearly at all.

18 Sep 2006, 5:12 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: remove product listing drop down

IF copy the file to your templates and overrides directory then edit the file:
tpl_products_all_default.php

and then you comment out that line of code with // in front of the require then it does not display the dropdown ...

18 Sep 2006, 5:17 AM
#9
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: remove product listing drop down

Editing wrong file. Many thanks. I think I'll go and tear out the rest of my hair before I confront the layout problems.

18 Sep 2006, 5:19 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: remove product listing drop down

Thanks for the update ... have a good night ...

Oh look! A light ... er ... umm ... sorry ... just the moon bouncing off your head ... er ... umm ... night ... :lamo: