Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Is there a way I can add a quick link like "Browse All

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-07-2003, 02:09 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default Is there a way I can add a quick link like "Browse All

When a customer clicks on say "Coats," they get about 6 subcategory links to choose from (i.e. Denim coats, Tall coats, etc. that are all categorized). I'd like to add a link from a search string under all the sub-categories that lets the user, with the click of a button, simply browse "ALL" of the subcategories at once. I know I can add a search string with say the word "coat," but I don't want other items to appear, just all of the "category" links. Thanks.
Reply With Quote
  #2  
Old 11-07-2003, 02:17 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

I believe it would be something like this bluecat

/xcart/customer/search.php?in_category=5
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #3  
Old 11-07-2003, 02:23 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

man, thanks again DogByteMan. I'll look into that.

Unfortunately, I'm not figuring out a way to do this. Can anyone else point me in the right direction? Thanks.
Reply With Quote
  #4  
Old 11-08-2003, 04:27 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Then I don't understand what your asking...

If ( note: category numbers below are for example only )

Coats is category 5

Denim Coats is category 7 and a subcategory of 5

Tall coats is category 8 and a subcategory of 5

Rain Coats is category 12 and a subcategory of 5

Then the search

/xcart/customer/search.php?in_category=5

Will produce the products from all of the subcategories listed



Are you asking for the search to find subcategory headings??? Because if so , I have no clue. I believe the search function is only for products.
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #5  
Old 11-08-2003, 11:19 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

I want people to have the option of a "Browse all Coats" for example. So when they click on the Coats category originally, they'll then see say 6 subcategories, but they'll also have "Browse All Coats" option as well, which lets them view all the coats within the subcategories. The reason is I figure some may just want to start browsing everything to see what they want. A perfect example is, in our Gloves section, there are like 3 lined gloves, 2 unlined, 1 cut protection, etc. Some may not know the difference between lined and unlined and may just want to look through all of them with a click of a button at first and browse.

I tried the search method you said, and it comes back with no results. Do you know where I would find which category each is in? Thanks again.
Reply With Quote
  #6  
Old 11-08-2003, 11:30 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

What version are you using bluecat, because it works for me. I think I know what is wrong.
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #7  
Old 11-08-2003, 11:43 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

3.4.8
Reply With Quote
  #8  
Old 11-08-2003, 11:50 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

It works for me...

Check it out!

http://www.dogbytecomputer.com/xcart/customer/search.php?in_category=66


This is like too weird, if I try the same at your site I get an SQL error
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #9  
Old 11-08-2003, 11:55 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

yep, that's what I was just getting ready to say.
Reply With Quote
  #10  
Old 11-08-2003, 11:57 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Go to summary and list your

Environment components info:
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:40 AM.

   

 
X-Cart forums © 2001-2020