Author |
Message |
damian
New Member


Joined: Nov 29, 2004
Posts: 14
|
Posted:
Mon Nov 29, 2004 11:14 am |
|
How does one alter the catalog, so that products are returned above categories? A full categories list is displayed above the products returned each time a customer selects a category. This gives the appearance that site is broken, because the products are changing below the fold on the page, so that even thought the products change the customer just sees the same categories repeatedly. Thank you for any help.
r/Damian |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Mon Nov 29, 2004 11:29 am |
|
What cart are you using? |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
damian

|
Posted:
Mon Nov 29, 2004 12:56 pm |
|
|
|
 |
damian

|
Posted:
Mon Nov 29, 2004 3:49 pm |
|
Also very strange thing happen with google. The first day I install I am indexed by google and the next day as well. Then google suddenly shows and old cache of my page, and hasn't returned since? Is this new or usual? |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Nov 29, 2004 4:57 pm |
|
Your right that is silly.
I haven't used that but you should be able to find the file that displays the page
Example: http://www.experiencekeywest.com/product-category-37.html
And simply remove the code that displays the catagories or replace it with some navigation links ect...
If you need help with it you'll have to upload the file (don't post it here). And I'll see if I can do anything with it.
If you don't need the all the extras that come with phpnuke I'd consider using
http://www.xt-commerce.com/
Which is basically Oscommerce on steriods. |
|
|
|
 |
damian

|
Posted:
Mon Nov 29, 2004 10:13 pm |
|
Thanks for the offer sixonetonoffun, where do i upload? |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Nov 29, 2004 10:27 pm |
|
We don't allow attachments onsite so it will have to be to your own space or send to webmaster{<>>}netflake.com |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 7:10 am |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 7:48 am |
|
I figured it out I think you must be using the NukeCommerce 1.4 release? I'll grab that one the other was real simple to turn off the cat listing this one I'll have to test before I send it to you just to make sure it doesn't break anything else. |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 8:17 am |
|
Ok its not that version either so I'll have to wait for a reply to the question where did you get this package and what version of the package is it? |
|
|
|
 |
damian

|
Posted:
Tue Nov 30, 2004 10:54 am |
|
v osc2nuke7x4 downloaded from osc2nuke.com |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 11:18 am |
|
|
|
 |
damian

|
Posted:
Tue Nov 30, 2004 11:36 am |
|
very strange. I just checked my local (original unzip) of /catalog/index.php and the line s <?php
if ($oscblockcatshow == 1){
?>
are present. I will implement your suggestion and see what happens |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 11:43 am |
|
Cool that should do the job. Only place it might bug out is on IIS but running on IIS is probably not going to work with osc at all if I remember. |
|
|
|
 |
damian

|
Posted:
Tue Nov 30, 2004 11:45 am |
|
I cahnged code, but still get the same display results. categories always returned above products |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 11:52 am |
|
Try changing it to product-category your using GT it looks like so the real url is being changed. |
|
|
|
 |
damian

|
Posted:
Tue Nov 30, 2004 11:53 am |
|
I'm running unix, so no issue with IIS, but still haven't figured it out. Does this function rely on info from any other file? It may be possible that some other files are missing lines of code. I unzipped locally and then ftp'ed to server. Is ssh more suitable? Thank you for all your help |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 12:06 pm |
|
It looks like you can shut that block completely off in config.php.bak
$oscblockcatshow = 0;///////// show block oscdisplaycategorie or not (1 = true, 0 = false)
But that would shut it off on all pages which doesn't make sense either. |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 12:16 pm |
|
<?php
if ($oscblockcatshow == 1 AND !stristr($_SERVER['REQUEST_URI'],'product-category')){
?>
But anyway this seems to work with GT enabled on my test site. It won't work on yours? |
|
|
|
 |
damian

|
Posted:
Tue Nov 30, 2004 12:17 pm |
|
Change ['REQUEST_URI'] to product-category? |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 12:20 pm |
|
Yep just like I last posted here. |
|
|
|
 |
damian

|
Posted:
Tue Nov 30, 2004 12:34 pm |
|
cut and paste exact code, but no change. I am sending you the index.php as it looks now. |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 12:37 pm |
|
Ok no problem but one question do you have jpache on? Maybe it just needs the cache flushed out? |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 30, 2004 12:42 pm |
|
The file you sent me works on my test site so now I'm scratching my head here too. |
|
|
|
 |
damian

|
Posted:
Tue Nov 30, 2004 12:47 pm |
|
I tried emptying cache Since the file I sent you works on your test site I imagine one of the other files, besides index.php must have have been corrupted in transfer. I will try uploading all file from the catalog module once again. This won't affect database, or any other changes I've made will it? |
|
|
|
 |
|