If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Why is there an hyphen in some of the product listing column header names ?

Why is there an hyphen in some of the product listing column header names ?

Started by heyits007 on 12 Apr 2013, 4:24 PM · Views: 696

Results 1 to 6 of 6
12 Apr 2013, 4:24 PM
#1
heyits007 avatar

heyits007

Zen Follower

Join Date:
Sep 2010
Posts:
270
Plugin Contributions:
0

Why is there an hyphen in some of the product listing column header names ?

Why is there an hyphen in some of the product listing column header names ?

I get it on my site in the product "Weight-" column, but I've also seen it on a demo site for the "Item Name-" column.

i.e. Surely it should just read "Item Name" without the hyphen added to it.

I can see where "Weight" test description is set in the includes/languages/english/index.php
Seems to be assigned to TABLE_HEADING_WEIGHT where I can see another reference to it
in ** includes/modules/product_listing.php**

I can't however see how this hyphen gets added onto the column heading text

Is there a fix for this ?

The below URL links to a demo site that shows what I'm talking about for "Item Name-" that should surely read "Item Name" without the hyphen on the end of it.

DEMO SITE
http://demo.opensourcecms.com/zencart/index.php?main_page=index&cPath=23

Thanks,
007

12 Apr 2013, 4:29 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Why is there an hyphen in some of the product listing column header names ?

If you click on them, you will see they are for sorting the list in DESC or ASC Order ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Apr 2013, 4:31 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Why is there an hyphen in some of the product listing column header names ?

It's not a hyphen, it's a minus sign. Clicking on that header name will take you to one product below the current one. You can change it to a plus (or other character) in admin.

12 Apr 2013, 4:31 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Why is there an hyphen in some of the product listing column header names ?

That is a "minus" sign and denotes the sort order
Click on the title and see it change to a "+" sign

Zen-Venom Get Bitten

12 Apr 2013, 5:37 PM
#5
heyits007 avatar

heyits007

Zen Follower

Join Date:
Sep 2010
Posts:
270
Plugin Contributions:
0

Re: Why is there an hyphen in some of the product listing column header names ?

Ahh. OK thanks all. Hopefully I can make it blank.

Thanks,
007

12 Apr 2013, 5:58 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Why is there an hyphen in some of the product listing column header names ?

Admin > Configuration > Product Listing >
Product Listing Ascending Sort Order
Product Listing Descending Sort Order

Set both to blank. The sorting will still work, but there will be no indication in the heading.

Alternatively, you could expand the markers to be more comprehensible, so people know there is an option (many probably have no idea they can change the sort order to suit their desires). Something like```
(asc)
(desc)