X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Is there a way I can add a quick link like "Browse All (https://forum.x-cart.com/showthread.php?t=5144)

bluecat 11-07-2003 02:09 PM

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.

DogByteMan 11-07-2003 02:17 PM

I believe it would be something like this bluecat

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

bluecat 11-07-2003 02:23 PM

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.

DogByteMan 11-08-2003 04:27 AM

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.

bluecat 11-08-2003 11:19 AM

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.

DogByteMan 11-08-2003 11:30 AM

What version are you using bluecat, because it works for me. I think I know what is wrong.

bluecat 11-08-2003 11:43 AM

3.4.8

DogByteMan 11-08-2003 11:50 AM

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

bluecat 11-08-2003 11:55 AM

yep, that's what I was just getting ready to say. :(

DogByteMan 11-08-2003 11:57 AM

Go to summary and list your

Environment components info:

bluecat 11-08-2003 12:05 PM

Component Status
X-Cart version 3.4.8
PHP 4.3.3 details >>
MySQL server 4.0.15-standard
Web server Apache/1.3.28 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.2 PHP/4.3.3 mod_log_bytes/1.2 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.6b
Operation system Linux
Perl 5.006001 details >>
Net::SSLeay 1.22
libCURL libcurl/7.10.5 OpenSSL/0.9.6b zlib/1.1.4
CURL executable not found
Magic quotes (magic_quotes_gpc) enabled
XML parser (expat) 1.95.6

But I also have this (unwriteable)...

Directory Status
.pgp/ not writable
catalog/ not writable
files/ not writable
log/ not writable
templates_c/ OK


not sure if I need to change these permissions or not

DogByteMan 11-08-2003 12:09 PM

I don't get it...

It should work

DogByteMan 11-08-2003 12:11 PM

The others should report as OK

I think you need to set their permissions

bluecat 11-08-2003 12:17 PM

I'll try that. :)

bluecat 11-08-2003 12:19 PM

Let me ask you, what "should" they be set to (permissions)? I don't want them to be wide open (777).

bluecat 11-08-2003 12:24 PM

Well, no luck. I changed those permissions and got "ok," but still getting errors. Thanks anyway though. :wink:

DogByteMan 11-08-2003 12:25 PM

I don't remember off hand... Check the online manual

Also, have you applied the sessions fix from X-Cart

If so, try setting your session type to 3 instead of 2

bluecat 11-08-2003 12:38 PM

No I haven't. I'll do that.


All times are GMT -8. The time now is 03:01 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.