Print Page | Close Window

LocateProducts.asp category order

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=5031
Printed Date: 12-November-2024 at 4:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: LocateProducts.asp category order
Posted By: amscompanies
Subject: LocateProducts.asp category order
Date Posted: 04-March-2012 at 9:42am
Having trouble locating where the category sort order is controlled on the admin form LocateProducts.asp.
 
Currently the order is sorted by sub-category, but I would like to amend this to sub-category, parent_category, as I have 2000 categories and alot of the sub-categories are the same, the only way you can tell the difference is through the parent, but these are all in sub_category order



Replies:
Posted By: Hamish
Date Posted: 05-March-2012 at 3:44pm
Hi, I'm not sure I understand the question. 
You can set the order for the top level categories and within each subcategory, but there is no sort order across both - they are independant of each other.


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: amscompanies
Date Posted: 06-March-2012 at 10:29am
Easy example to setup and show the problem:
 
1. Create 3 categories, Arsenal, Liverpool, Aston Villa (in that order)
2. Create a sub-category in ALL three called 2010-2011
3. Goto LocateProducts.asp and the cateogory dropdown will appear as follows:
 
2010-2011 - Arsenal
2010-2011 - Liverpool
2010-2011 - Aston Villa
 
Multiple this over the 100 categories that exist (such as Arsenal, Liverpool, Aston Villa) I will have 100 versions of 2010-2011 * in the order in which they are added rather than the ideal solution of:
 
2010-2011 - Arsenal
2010-2011 - Aston Villa
2010-2011 - Liverpool
 
Is this a config setting or a minor code change ?


Posted By: Hamish
Date Posted: 06-March-2012 at 5:46pm
I believe you would be much better off using custom seach fields for the years.

Putting that aside, if you want to tweak the code then for this particular drop down the code is in the includes folder in file pcCategoriesList.asp 

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: amscompanies
Date Posted: 07-March-2012 at 6:35am
Thanks for that:
 
Please feel free to take a look at my current site development:
 
http://www.programmehut.com/store/pc" rel="nofollow - www.programmehut.com/store/pc
 
I think the categories and overall performance are quite good, not sure I understand how locating a product would work with search fields though ?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net